@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,57 @@
1
+ import type { CSSProperties, ReactNode } from 'react';
2
+ import type { Dayjs } from 'dayjs';
3
+ import type { PisellTimeNavigatorProps } from '../pisellTimeNavigator/types';
4
+ import type { PisellReservationScheduleProps } from '../pisellReservationSchedule/types';
5
+ /** 组合值:日历日 + 该日上的时刻(与 PisellTimeNavigator 对齐) */
6
+ export interface ReservationScheduleBandValue {
7
+ date: Dayjs;
8
+ at: Dayjs;
9
+ }
10
+ export declare type TimeNavigatorPassthroughProps = Omit<PisellTimeNavigatorProps, 'value' | 'onChange' | 'referenceDate' | 'defaultValue'>;
11
+ /**
12
+ * PisellReservationScheduleBand:营业日条 + 横向时间轴
13
+ */
14
+ export interface PisellReservationScheduleBandProps {
15
+ /**
16
+ * 受控:选中日 + 轴上时刻
17
+ */
18
+ value?: ReservationScheduleBandValue;
19
+ /**
20
+ * 日历日或时刻任一变化时触发
21
+ */
22
+ onChange?: (next: ReservationScheduleBandValue) => void;
23
+ /**
24
+ * 非受控初始值(可只传部分字段)
25
+ */
26
+ defaultValue?: Partial<ReservationScheduleBandValue>;
27
+ /**
28
+ * 透传给 PisellReservationSchedule(如 minDate / maxDate)
29
+ */
30
+ scheduleProps?: Omit<PisellReservationScheduleProps, 'value' | 'onChange' | 'defaultValue'>;
31
+ /**
32
+ * 透传给 PisellTimeNavigator(不含 value/onChange/referenceDate)
33
+ */
34
+ timeNavigatorProps?: TimeNavigatorPassthroughProps;
35
+ /**
36
+ * 顶栏日程行:PisellReservationSchedule 左侧自定义内容(如标题)
37
+ */
38
+ scheduleStartSlot?: ReactNode;
39
+ /**
40
+ * 顶栏日程行:PisellReservationSchedule 右侧自定义内容(如状态、主按钮)
41
+ */
42
+ scheduleEndSlot?: ReactNode;
43
+ /**
44
+ * 顶栏日程行:紧挨在选日组件之后(如「跟随当前」),与中间列同一 flex 区
45
+ */
46
+ scheduleAfterDateSlot?: ReactNode;
47
+ /**
48
+ * 为 true 时在整个日程带上叠加载层(如切换营业日后拉预约列表期间)
49
+ */
50
+ dataLoading?: boolean;
51
+ /**
52
+ * 加载层内文案,由业务侧 {@link locales.getText} 等注入
53
+ */
54
+ dataLoadingTip?: ReactNode;
55
+ className?: string;
56
+ style?: CSSProperties;
57
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { PisellShellFrameProps } from './types';
3
+ import './PisellShellFrame.less';
4
+ /**
5
+ * PisellShellFrame:通用壳层布局组件。
6
+ * 支持通过 config 控制各区域显隐,不同展示类型(表格/看板/日历/楼层图等)复用同一壳层。
7
+ *
8
+ * - 顶部:标题区(标题/副标题/辅助信息)、工具区(Toolbar)、统计区(Statistic List,可选折叠)
9
+ * - 中间:滚动承载(可选)+ Layout 插槽(children)
10
+ * - 底部:批量操作条(按选中状态出现)、状态提示区(加载/错误/同步提示等)
11
+ */
12
+ export declare const PisellShellFrame: React.FC<PisellShellFrameProps>;
13
+ export default PisellShellFrame;
@@ -0,0 +1,15 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellShellFrame } from './PisellShellFrame';
3
+ declare const meta: Meta<typeof PisellShellFrame>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof PisellShellFrame>;
6
+ /** 仅标题区 */
7
+ export declare const TitleOnly: Story;
8
+ /** 标题 + 工具区 */
9
+ export declare const WithToolbar: Story;
10
+ /** 标题 + 统计区(可折叠,国际化) */
11
+ export declare const WithStatisticCollapsible: Story;
12
+ /** 中间滚动 + 底部批量条 + 状态区 */
13
+ export declare const WithScrollBatchAndStatus: Story;
14
+ /** 全区域展示(默认展开统计) */
15
+ export declare const Full: Story;
@@ -0,0 +1,2 @@
1
+ export { PisellShellFrame, default } from './PisellShellFrame';
2
+ export type { PisellShellFrameProps, PisellShellFrameConfig, PisellShellFrameScrollConfig, } from './types';
@@ -0,0 +1,56 @@
1
+ import type { ReactNode, CSSProperties } from 'react';
2
+ /**
3
+ * 滚动配置:为 true 时使用默认滚动;为对象时传入样式或 scroll 相关配置。
4
+ */
5
+ export declare type PisellShellFrameScrollConfig = boolean | {
6
+ style?: CSSProperties;
7
+ className?: string;
8
+ };
9
+ /**
10
+ * PisellShellFrame 配置:控制各区域的展示与行为。
11
+ * 不同展示类型(表格/看板/日历等)复用同一壳层,通过配置控制显隐。
12
+ */
13
+ export interface PisellShellFrameConfig {
14
+ /** 是否展示顶部标题区(标题/副标题/辅助信息) */
15
+ showTitle?: boolean;
16
+ /** 是否展示顶部工具区(Toolbar) */
17
+ showToolbar?: boolean;
18
+ /** 是否展示顶部统计区(Statistic List) */
19
+ showStatistic?: boolean;
20
+ /** 统计区是否支持折叠,仅 showStatistic 为 true 时有效 */
21
+ statisticCollapsible?: boolean;
22
+ /** 中间内容区是否使用滚动承载包裹;为 true 时默认 overflow auto */
23
+ scroll?: PisellShellFrameScrollConfig;
24
+ /** 是否展示底部批量操作条(按选中状态出现由调用方控制,此处仅控制是否渲染该槽位) */
25
+ showBatchActionBar?: boolean;
26
+ /** 是否展示底部状态提示区(加载/错误/同步提示等) */
27
+ showStatusArea?: boolean;
28
+ }
29
+ /**
30
+ * PisellShellFrame 组件 Props。
31
+ * 通过 config 控制各区域显隐,通过 slot props 传入各区域内容。
32
+ */
33
+ export interface PisellShellFrameProps {
34
+ /** 类名 */
35
+ className?: string;
36
+ /** 内联样式 */
37
+ style?: CSSProperties;
38
+ /** 区域显隐与行为配置,未传则默认不展示可选区域 */
39
+ config?: PisellShellFrameConfig;
40
+ /** 标题 */
41
+ title?: ReactNode;
42
+ /** 副标题 */
43
+ subtitle?: ReactNode;
44
+ /** 标题区右侧辅助信息 */
45
+ titleExtra?: ReactNode;
46
+ /** 工具栏内容 */
47
+ toolbar?: ReactNode;
48
+ /** 统计列表内容(如 PisellStatisticList 或自定义) */
49
+ statisticList?: ReactNode;
50
+ /** 主内容(表格/看板/日历/楼层图等),当 config.scroll 为 true 时会被滚动容器包裹 */
51
+ children?: ReactNode;
52
+ /** 批量操作条,通常按选中状态显隐由调用方控制 */
53
+ batchActionBar?: ReactNode;
54
+ /** 状态提示(加载/错误/同步提示等) */
55
+ statusArea?: ReactNode;
56
+ }
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ isHasBorder?: boolean;
5
+ backgroundColors?: string[];
6
+ labelColor?: string;
7
+ valueColor?: string;
8
+ data: {
9
+ label: string;
10
+ value: string;
11
+ isLink?: boolean;
12
+ link?: string;
13
+ tip?: string;
14
+ onClick?: () => void;
15
+ children?: {
16
+ label: string;
17
+ value: string;
18
+ }[];
19
+ }[];
20
+ }
21
+ declare const PisellStatisticList: (props: PisellStatisticListProps) => React.JSX.Element;
22
+ export default PisellStatisticList;
@@ -0,0 +1,79 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellTimeNavigator } from './PisellTimeNavigator';
3
+ /**
4
+ * PisellTimeNavigator 组件 Storybook
5
+ * 时间导航轴:时间范围内浏览、选择、控制
6
+ */
7
+ declare const meta: Meta<typeof PisellTimeNavigator>;
8
+ export default meta;
9
+ declare type Story = StoryObj<typeof PisellTimeNavigator>;
10
+ /**
11
+ * 默认:横向、轴动、显示 Now
12
+ */
13
+ export declare const Default: Story;
14
+ /** 默认 - 竖向 */
15
+ export declare const DefaultVertical: Story;
16
+ /**
17
+ * 受控 + 默认 12:00
18
+ */
19
+ export declare const Controlled: Story;
20
+ /** 受控 - 竖向 */
21
+ export declare const ControlledVertical: Story;
22
+ /**
23
+ * 非受控 + 默认 14:30
24
+ */
25
+ export declare const Uncontrolled: Story;
26
+ /** 非受控 - 竖向 */
27
+ export declare const UncontrolledVertical: Story;
28
+ /**
29
+ * 竖向
30
+ */
31
+ export declare const Vertical: Story;
32
+ /**
33
+ * 指针动模式(cursor-moves)
34
+ */
35
+ export declare const CursorMoves: Story;
36
+ /** 指针动模式 - 竖向 */
37
+ export declare const CursorMovesVertical: Story;
38
+ /**
39
+ * 营业时间高亮 10:00–22:00
40
+ */
41
+ export declare const BusinessHours: Story;
42
+ /** 营业时间高亮 - 竖向 */
43
+ export declare const BusinessHoursVertical: Story;
44
+ /**
45
+ * 自定义时间范围 08:00–20:00
46
+ */
47
+ export declare const CustomRange: Story;
48
+ /** 自定义时间范围 - 竖向 */
49
+ export declare const CustomRangeVertical: Story;
50
+ /**
51
+ * 步长 30 分钟
52
+ */
53
+ export declare const Step30: Story;
54
+ /** 步长 30 分钟 - 竖向 */
55
+ export declare const Step30Vertical: Story;
56
+ /**
57
+ * 惯性滚动开启
58
+ */
59
+ export declare const Inertia: Story;
60
+ /** 惯性滚动 - 竖向 */
61
+ export declare const InertiaVertical: Story;
62
+ /**
63
+ * 吸附到整点(松手后自动吸附到 0/15/30/45 分刻度)
64
+ */
65
+ export declare const SnapToStep: Story;
66
+ /** 吸附到整点 - 竖向 */
67
+ export declare const SnapToStepVertical: Story;
68
+ /**
69
+ * 隐藏 Now 按钮
70
+ */
71
+ export declare const NoNowButton: Story;
72
+ /** 隐藏 Now 按钮 - 竖向 */
73
+ export declare const NoNowButtonVertical: Story;
74
+ /**
75
+ * 实时模式(仅演示,实际会跟随系统时间)
76
+ */
77
+ export declare const Realtime: Story;
78
+ /** 实时模式 - 竖向 */
79
+ export declare const RealtimeVertical: Story;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ export interface BackgroundLayerProps {
3
+ orientation: 'horizontal' | 'vertical';
4
+ /** 过去时间淡化色 */
5
+ pastTimeFade?: string;
6
+ /** 营业时间区间 [startPx, endPx],用于视觉高亮 */
7
+ businessHoursPx?: [number, number];
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ }
11
+ /**
12
+ * 背景区间层:营业时间高亮、过去时间淡化等(当前时间渐变已拆为独立块,见 axis-wrap 内 .pisell-time-navigator-current-gradient)
13
+ */
14
+ export declare function BackgroundLayer({ orientation, pastTimeFade, businessHoursPx, className, style, }: BackgroundLayerProps): React.JSX.Element;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import type { Dayjs } from 'dayjs';
3
+ export interface CursorLayerProps {
4
+ orientation: 'horizontal' | 'vertical';
5
+ value: Dayjs | null;
6
+ timeFormat: string;
7
+ locale?: string;
8
+ isRealtime: boolean;
9
+ offsetPx: number;
10
+ /** axis-moves 时固定于视口中央,不应用 offsetPx */
11
+ fixedCenter?: boolean;
12
+ style?: React.CSSProperties;
13
+ className?: string;
14
+ /** cursor-moves:允许拖指针改时间 */
15
+ dragInteractive?: boolean;
16
+ onDragPointerDown?: React.PointerEventHandler<HTMLDivElement>;
17
+ onDragPointerMove?: React.PointerEventHandler<HTMLDivElement>;
18
+ onDragPointerUp?: React.PointerEventHandler<HTMLDivElement>;
19
+ onDragPointerCancel?: React.PointerEventHandler<HTMLDivElement>;
20
+ }
21
+ /**
22
+ * 时间指示器层:横向为「顶三角 + 竖长方条」SVG,竖向为横线 + 时间气泡
23
+ * 对齐基准为几何中心。Realtime 态 #FF692E,浏览态 #344054
24
+ */
25
+ export declare function CursorLayer({ orientation, value, timeFormat, locale, isRealtime, offsetPx, fixedCenter, style, className, dragInteractive, onDragPointerDown, onDragPointerMove, onDragPointerUp, onDragPointerCancel, }: CursorLayerProps): React.JSX.Element | null;
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import type { Dayjs } from 'dayjs';
3
+ export interface GestureLayerProps {
4
+ orientation: 'horizontal' | 'vertical';
5
+ cellSizePx: number;
6
+ /** 轴在滚动内容中的起始边距(左/上),用于把「滚动内容坐标」转为「轴内偏移」(与 dot 对齐) */
7
+ axisStartMarginPx: number;
8
+ offsetToTime: (offset: number) => Dayjs | null;
9
+ onSelectTime: (t: Dayjs) => void;
10
+ isInDisabledRanges: (t: Dayjs) => boolean;
11
+ snapToStep: boolean;
12
+ stepMinutes: number;
13
+ snapFn: (t: Dayjs) => Dayjs;
14
+ scrollPosition: {
15
+ scrollLeft: number;
16
+ scrollTop: number;
17
+ };
18
+ viewportSize: {
19
+ w: number;
20
+ h: number;
21
+ };
22
+ onPointerDown?: React.PointerEventHandler;
23
+ onPointerMove?: React.PointerEventHandler;
24
+ onPointerUp?: React.PointerEventHandler;
25
+ onPointerLeave?: React.PointerEventHandler;
26
+ /** 轴上任意指针按下(含惯性拖轴) */
27
+ onUserInteraction?: () => void;
28
+ children: React.ReactNode;
29
+ }
30
+ /**
31
+ * 交互层:点击刻度跳转、键盘左右/上下 + 回车
32
+ */
33
+ export declare function GestureLayer({ orientation, cellSizePx, axisStartMarginPx, offsetToTime, onSelectTime, isInDisabledRanges, snapToStep, stepMinutes, snapFn, scrollPosition, viewportSize, onPointerDown, onPointerMove, onPointerUp, onPointerLeave, onUserInteraction, children, }: GestureLayerProps): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ export { BackgroundLayer } from './BackgroundLayer';
2
+ export { CursorLayer } from './CursorLayer';
3
+ export { GestureLayer } from './GestureLayer';
4
+ export { NowButton } from './NowButton';
5
+ export { ScaleLayer } from './ScaleLayer';
@@ -0,0 +1,14 @@
1
+ export interface UseDragInertiaOptions {
2
+ enabled: boolean;
3
+ orientation: 'horizontal' | 'vertical';
4
+ getScrollContainer: () => HTMLElement | null;
5
+ }
6
+ /**
7
+ * 惯性滚动:根据拖动末段速度在松手后继续滚动并衰减
8
+ */
9
+ export declare function useDragInertia(options: UseDragInertiaOptions): {
10
+ onPointerDown: (e: React.PointerEvent) => void;
11
+ onPointerMove: (e: React.PointerEvent) => void;
12
+ onPointerUp: (e: React.PointerEvent) => void;
13
+ stopInertia: () => void;
14
+ };
@@ -0,0 +1,5 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ /**
3
+ * Realtime 模式:每秒将当前系统时间通过 onTick 回传
4
+ */
5
+ export declare function useRealtime(enabled: boolean, onTick: (now: Dayjs) => void): void;
@@ -0,0 +1,27 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ import type { TimeRangeOption } from '../types';
3
+ export interface UseTimeAxisOptions {
4
+ range?: TimeRangeOption;
5
+ stepMinutes: number;
6
+ referenceDate: Dayjs;
7
+ orientation: 'horizontal' | 'vertical';
8
+ /** 横向时每格宽度(px),竖向时每格高度(px) */
9
+ cellSizePx: number;
10
+ }
11
+ export interface TimeAxisState {
12
+ rangeStart: Dayjs;
13
+ rangeEnd: Dayjs;
14
+ ticks: Dayjs[];
15
+ /** 时间转主轴偏移(px) */
16
+ timeToOffset: (t: Dayjs) => number;
17
+ /** 主轴偏移(px)转时间(最近刻度,用于刻度对齐) */
18
+ offsetToTime: (offset: number) => Dayjs | null;
19
+ /** 主轴偏移(px)转时间(连续插值,用于拖动时按分钟步长显示) */
20
+ offsetToTimeContinuous: (offset: number) => Dayjs | null;
21
+ /** 主轴总长度(px) */
22
+ totalLengthPx: number;
23
+ }
24
+ /**
25
+ * 时间轴刻度与时间↔像素换算
26
+ */
27
+ export declare function useTimeAxis(options: UseTimeAxisOptions): TimeAxisState;
@@ -0,0 +1,5 @@
1
+ export { PisellTimeNavigator } from './PisellTimeNavigator';
2
+ export { getHorizontalAxisSlotCount, getRangeBounds, buildCalendarHourSlotsFromRange, } from './utils';
3
+ export type { PisellTimeNavigatorProps, TimeNavigatorValue, TimeRangeOption, CursorMode, TimeNavigatorOrientation, } from './types';
4
+ /** 多语言文案(en / zh-CN / zh-HK / ja / pt),使用前请在应用内通过 locales.init(pisellTimeNavigatorLocales, lang) 合并 */
5
+ export { default as pisellTimeNavigatorLocales } from './locales';
@@ -0,0 +1,35 @@
1
+ import { type Dayjs } from 'dayjs';
2
+ import type { TimeNavigatorValue, TimeRangeOption } from '../types';
3
+ /**
4
+ * 解析 value 为 Dayjs,无效则返回 null。
5
+ * 支持 dayjs 可解析的日期时间;纯时间字符串(如 '12:00'、'14:30')会基于 reference 的日期解析。
6
+ */
7
+ export declare function parseValue(value: TimeNavigatorValue, reference?: Dayjs): Dayjs | null;
8
+ /**
9
+ * 按营业日 {@link TimeRangeOption}(如 02:00–次日 02:00)在锚定自然日零点展开,生成日视图「整点列」的槽位:
10
+ * 值为相对 `reference.startOf('day')` 的小时数(可 ≥24,表示次日时刻)。
11
+ */
12
+ export declare function buildCalendarHourSlotsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs): number[];
13
+ /**
14
+ * 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
15
+ * - 同日内:如 08:00–22:00
16
+ * - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
17
+ */
18
+ export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
19
+ /**
20
+ * 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
21
+ */
22
+ export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
23
+ /**
24
+ * 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
25
+ * 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
26
+ */
27
+ export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
28
+ /**
29
+ * 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
30
+ */
31
+ export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
32
+ /**
33
+ * 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
34
+ */
35
+ export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Resources: (props: any) => React.JSX.Element | null;
4
+ export default Resources;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import 'dayjs/locale/zh-cn';
3
+ import 'dayjs/locale/en';
4
+ import 'dayjs/locale/zh-tw';
5
+ import 'dayjs/locale/ja';
6
+ import 'dayjs/locale/pt';
7
+ import './index.less';
8
+ declare const TimeRange: (props: any) => React.JSX.Element | null;
9
+ export default TimeRange;
@@ -0,0 +1,163 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.product.card.discount.reason': string;
4
+ 'pisell2.cart.sku-card.more': string;
5
+ 'pisell2.cart.sku-card.packages.title': string;
6
+ 'pisell2.cart.sku-card.sales.title': string;
7
+ 'pisell2.cart.sku-card.actions.delete': string;
8
+ 'pisell2.cart.sku-card.unassigned': string;
9
+ 'pisell2.product.card.day': (val: number) => string;
10
+ 'pisell2.product.card.day.event': (val: number) => string;
11
+ 'pisell2.product.card.minute': (val: number) => string;
12
+ 'pisell2.product.card.discount.note': string;
13
+ 'pisell2.product.card.edit': string;
14
+ 'pisell2.product.card.discount.add.note': string;
15
+ 'pisell2.product.card.discount.edit.note': string;
16
+ 'pisell2.product.card.confirm': string;
17
+ 'pisell2.product.card.cancel': string;
18
+ 'pisell2.product.card.note.pla': string;
19
+ 'pisell2.product.card.items.package': string;
20
+ 'pisell2.product.card.view-all': string;
21
+ 'pisell2.product.card.view-less': string;
22
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
23
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
24
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
25
+ 'pisell2.product.card.add.holder.modal.title.1': string;
26
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
27
+ 'pisell2.product.card.sales': string;
28
+ 'pisell2.product.card.add.holder.modal.cancel': string;
29
+ 'pisell2.product.card.add.holder.modal.clear': string;
30
+ 'pisell2.product.card.add.holder.modal.apply': string;
31
+ 'pisell2.product.card.add.holder.modal.add': string;
32
+ 'pisell2.product.card.closing-soon.warning': string;
33
+ };
34
+ 'zh-CN': {
35
+ 'pisell2.product.card.discount.reason': string;
36
+ 'pisell2.cart.sku-card.more': string;
37
+ 'pisell2.cart.sku-card.packages.title': string;
38
+ 'pisell2.cart.sku-card.sales.title': string;
39
+ 'pisell2.cart.sku-card.actions.delete': string;
40
+ 'pisell2.cart.sku-card.unassigned': string;
41
+ 'pisell2.product.card.edit': string;
42
+ 'pisell2.product.card.day': (val: number) => string;
43
+ 'pisell2.product.card.day.event': (val: number) => string;
44
+ 'pisell2.product.card.minute': (val: number) => string;
45
+ 'pisell2.product.card.discount.note': string;
46
+ 'pisell2.product.card.discount.add.note': string;
47
+ 'pisell2.product.card.discount.edit.note': string;
48
+ 'pisell2.product.card.confirm': string;
49
+ 'pisell2.product.card.cancel': string;
50
+ 'pisell2.product.card.note.pla': string;
51
+ 'pisell2.product.card.items.package': string;
52
+ 'pisell2.product.card.view-all': string;
53
+ 'pisell2.product.card.view-less': string;
54
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
55
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
56
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
57
+ 'pisell2.product.card.add.holder.modal.title.1': string;
58
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
59
+ 'pisell2.product.card.sales': string;
60
+ 'pisell2.product.card.add.holder.modal.cancel': string;
61
+ 'pisell2.product.card.add.holder.modal.clear': string;
62
+ 'pisell2.product.card.add.holder.modal.apply': string;
63
+ 'pisell2.product.card.add.holder.modal.add': string;
64
+ 'pisell2.product.card.closing-soon.warning': string;
65
+ };
66
+ 'zh-HK': {
67
+ 'pisell2.product.card.discount.reason': string;
68
+ 'pisell2.cart.sku-card.more': string;
69
+ 'pisell2.cart.sku-card.packages.title': string;
70
+ 'pisell2.cart.sku-card.sales.title': string;
71
+ 'pisell2.cart.sku-card.actions.delete': string;
72
+ 'pisell2.cart.sku-card.unassigned': string;
73
+ 'pisell2.product.card.edit': string;
74
+ 'pisell2.product.card.day': (val: number) => string;
75
+ 'pisell2.product.card.day.event': (val: number) => string;
76
+ 'pisell2.product.card.minute': (val: number) => string;
77
+ 'pisell2.product.card.discount.note': string;
78
+ 'pisell2.product.card.discount.add.note': string;
79
+ 'pisell2.product.card.discount.edit.note': string;
80
+ 'pisell2.product.card.confirm': string;
81
+ 'pisell2.product.card.cancel': string;
82
+ 'pisell2.product.card.note.pla': string;
83
+ 'pisell2.product.card.items.package': string;
84
+ 'pisell2.product.card.view-all': string;
85
+ 'pisell2.product.card.view-less': string;
86
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
87
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
88
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
89
+ 'pisell2.product.card.add.holder.modal.title.1': string;
90
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
91
+ 'pisell2.product.card.sales': string;
92
+ 'pisell2.product.card.add.holder.modal.cancel': string;
93
+ 'pisell2.product.card.add.holder.modal.clear': string;
94
+ 'pisell2.product.card.add.holder.modal.apply': string;
95
+ 'pisell2.product.card.add.holder.modal.add': string;
96
+ 'pisell2.product.card.closing-soon.warning': string;
97
+ };
98
+ ja: {
99
+ 'pisell2.product.card.discount.reason': string;
100
+ 'pisell2.cart.sku-card.more': string;
101
+ 'pisell2.cart.sku-card.packages.title': string;
102
+ 'pisell2.cart.sku-card.sales.title': string;
103
+ 'pisell2.cart.sku-card.actions.delete': string;
104
+ 'pisell2.cart.sku-card.unassigned': string;
105
+ 'pisell2.product.card.day': (val: number) => string;
106
+ 'pisell2.product.card.day.event': (val: number) => string;
107
+ 'pisell2.product.card.minute': (val: number) => string;
108
+ 'pisell2.product.card.discount.note': string;
109
+ 'pisell2.product.card.edit': string;
110
+ 'pisell2.product.card.discount.add.note': string;
111
+ 'pisell2.product.card.discount.edit.note': string;
112
+ 'pisell2.product.card.confirm': string;
113
+ 'pisell2.product.card.cancel': string;
114
+ 'pisell2.product.card.note.pla': string;
115
+ 'pisell2.product.card.items.package': string;
116
+ 'pisell2.product.card.view-all': string;
117
+ 'pisell2.product.card.view-less': string;
118
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
119
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
120
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
121
+ 'pisell2.product.card.add.holder.modal.title.1': string;
122
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
123
+ 'pisell2.product.card.sales': string;
124
+ 'pisell2.product.card.add.holder.modal.cancel': string;
125
+ 'pisell2.product.card.add.holder.modal.clear': string;
126
+ 'pisell2.product.card.add.holder.modal.apply': string;
127
+ 'pisell2.product.card.add.holder.modal.add': string;
128
+ 'pisell2.product.card.closing-soon.warning': string;
129
+ };
130
+ pt: {
131
+ 'pisell2.product.card.discount.reason': string;
132
+ 'pisell2.cart.sku-card.more': string;
133
+ 'pisell2.cart.sku-card.packages.title': string;
134
+ 'pisell2.cart.sku-card.sales.title': string;
135
+ 'pisell2.cart.sku-card.actions.delete': string;
136
+ 'pisell2.cart.sku-card.unassigned': string;
137
+ 'pisell2.product.card.day': (val: number) => string;
138
+ 'pisell2.product.card.day.event': (val: number) => string;
139
+ 'pisell2.product.card.minute': (val: number) => string;
140
+ 'pisell2.product.card.discount.note': string;
141
+ 'pisell2.product.card.edit': string;
142
+ 'pisell2.product.card.discount.add.note': string;
143
+ 'pisell2.product.card.discount.edit.note': string;
144
+ 'pisell2.product.card.confirm': string;
145
+ 'pisell2.product.card.cancel': string;
146
+ 'pisell2.product.card.note.pla': string;
147
+ 'pisell2.product.card.items.package': string;
148
+ 'pisell2.product.card.view-all': string;
149
+ 'pisell2.product.card.view-less': string;
150
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
151
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
152
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
153
+ 'pisell2.product.card.add.holder.modal.title.1': string;
154
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
155
+ 'pisell2.product.card.sales': string;
156
+ 'pisell2.product.card.add.holder.modal.cancel': string;
157
+ 'pisell2.product.card.add.holder.modal.clear': string;
158
+ 'pisell2.product.card.add.holder.modal.apply': string;
159
+ 'pisell2.product.card.add.holder.modal.add': string;
160
+ 'pisell2.product.card.closing-soon.warning': string;
161
+ };
162
+ };
163
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Actions: ({ children, style }: any) => React.JSX.Element | null;
4
+ export default Actions;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const DeleteButton: ({ onDelete, type }: any) => React.JSX.Element;
4
+ export default DeleteButton;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => React.JSX.Element | null;
4
+ export default Time;