@pisell/materials 6.11.47 → 6.11.49

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 (375) 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.css +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +2 -2
  9. package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
  10. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +3 -0
  11. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  12. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  13. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +4 -2
  14. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  15. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +26 -10
  16. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +12 -7
  17. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -31
  18. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  19. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  20. package/es/index.d.ts +265 -0
  21. package/es/pisell-materials.tw.css +1 -1
  22. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
  23. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +2 -0
  24. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  25. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  26. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +2 -2
  27. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  28. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +16 -7
  29. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +14 -5
  30. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -13
  31. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  32. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  33. package/lib/index.d.ts +265 -0
  34. package/lib/pisell-materials.tw.css +1 -1
  35. package/package.json +1 -1
  36. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  37. package/es/components/PisellLayouts/index.d.ts +0 -38
  38. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  39. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  40. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  41. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  42. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  43. package/es/components/PisellTabbar/constants.d.ts +0 -47
  44. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  45. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  46. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  47. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  48. package/es/components/PisellTabbar/types.d.ts +0 -90
  49. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  50. package/es/components/cardPro/index.d.ts +0 -4
  51. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  52. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  53. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  54. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  55. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  56. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  57. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  58. package/es/components/iconfont/index.d.ts +0 -8
  59. package/es/components/page/index.d.ts +0 -8
  60. package/es/components/pisell-config-provider/context.d.ts +0 -22
  61. package/es/components/pisell-config-provider/index.d.ts +0 -13
  62. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  63. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  64. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  65. package/es/components/pisellCardList/index.d.ts +0 -107
  66. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  67. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  68. package/es/components/pisellFilter/index.d.ts +0 -3
  69. package/es/components/pisellFilter/type.d.ts +0 -7
  70. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  71. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  72. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  73. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  74. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  75. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  76. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  77. package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  78. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  79. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  80. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  81. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  82. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  83. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  84. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  85. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  86. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  87. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  88. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  89. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  90. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  91. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  92. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  93. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  94. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  95. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  96. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  97. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  98. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  99. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  100. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  101. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  102. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  103. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  104. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  105. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  106. package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  107. package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  108. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  109. package/es/components/pisellModal/index.d.ts +0 -62
  110. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  111. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  112. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  113. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  114. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  115. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  116. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  117. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  118. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  119. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  120. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  121. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  122. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  123. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  124. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  125. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  126. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  127. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  128. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  129. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  130. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  131. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  132. package/es/components/pisellReservationSchedule/index.d.ts +0 -2
  133. package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
  134. package/es/components/pisellReservationSchedule/types.d.ts +0 -52
  135. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  136. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  137. package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
  138. package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
  139. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  140. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  141. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  142. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  143. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  144. package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
  145. package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  146. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  147. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  148. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  149. package/es/components/pisellTimeNavigator/index.d.ts +0 -5
  150. package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
  151. package/es/components/pisellTimeNavigator/types.d.ts +0 -160
  152. package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  153. package/es/components/pisellToast/index.d.ts +0 -17
  154. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  155. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  156. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  157. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  158. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  159. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  160. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  161. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  162. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  163. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  164. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  165. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  166. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  167. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  168. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  169. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  170. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  171. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  172. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  173. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  174. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  175. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  176. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  177. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  178. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
  179. package/es/components/productCard/components/Action/index.d.ts +0 -4
  180. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  181. package/es/components/productCard/components/Header/index.d.ts +0 -3
  182. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  183. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  184. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  185. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  186. package/es/components/productCard/index.d.ts +0 -7
  187. package/es/components/productCard/locales.d.ts +0 -138
  188. package/es/components/productCard/status.d.ts +0 -32
  189. package/es/components/productCard/types.d.ts +0 -95
  190. package/es/components/productCard/utils.d.ts +0 -33
  191. package/es/components/select-time/index.d.ts +0 -13
  192. package/es/components/sort/index.d.ts +0 -5
  193. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  194. package/es/components/table/index.d.ts +0 -4
  195. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  196. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  197. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  198. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  199. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  200. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  201. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  202. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  203. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  204. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  205. package/es/components/virtual-keyboard/index.d.ts +0 -25
  206. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  207. package/lib/components/PisellLayouts/index.d.ts +0 -38
  208. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  209. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  210. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  211. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  212. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  213. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  214. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  215. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  216. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  217. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  218. package/lib/components/PisellTabbar/types.d.ts +0 -90
  219. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  220. package/lib/components/cardPro/index.d.ts +0 -4
  221. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  222. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  223. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  224. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  225. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  226. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  227. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  228. package/lib/components/iconfont/index.d.ts +0 -8
  229. package/lib/components/page/index.d.ts +0 -8
  230. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  231. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  232. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  233. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  234. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  235. package/lib/components/pisellCardList/index.d.ts +0 -107
  236. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  237. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  238. package/lib/components/pisellFilter/index.d.ts +0 -3
  239. package/lib/components/pisellFilter/type.d.ts +0 -7
  240. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  241. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  242. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  243. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  244. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  245. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  246. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  247. package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  248. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  249. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  250. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  251. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  252. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  253. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  254. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  255. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  256. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  257. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  258. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  259. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  260. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  261. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  262. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  263. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  264. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  265. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  266. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  267. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  268. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  269. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  270. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  271. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  272. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  273. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  274. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  275. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  276. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  277. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  278. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  279. package/lib/components/pisellModal/index.d.ts +0 -62
  280. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  281. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  282. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  283. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  284. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  285. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  286. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  287. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  288. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  289. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  290. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  291. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  292. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  293. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  294. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  295. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  296. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  297. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  298. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  299. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  300. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  301. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  302. package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
  303. package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
  304. package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
  305. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  306. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  307. package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
  308. package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
  309. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  310. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  311. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  312. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  313. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  314. package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
  315. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  316. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  317. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  318. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  319. package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
  320. package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
  321. package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
  322. package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  323. package/lib/components/pisellToast/index.d.ts +0 -17
  324. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  325. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  326. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  327. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  328. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  329. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  330. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  331. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  332. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  333. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  334. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  335. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  336. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  337. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  338. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  339. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  340. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  341. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  342. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  343. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  344. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  345. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  346. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  347. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  348. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
  349. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  350. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  351. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  352. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  353. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  354. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  355. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  356. package/lib/components/productCard/index.d.ts +0 -7
  357. package/lib/components/productCard/locales.d.ts +0 -138
  358. package/lib/components/productCard/status.d.ts +0 -32
  359. package/lib/components/productCard/types.d.ts +0 -95
  360. package/lib/components/productCard/utils.d.ts +0 -33
  361. package/lib/components/select-time/index.d.ts +0 -13
  362. package/lib/components/sort/index.d.ts +0 -5
  363. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  364. package/lib/components/table/index.d.ts +0 -4
  365. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  366. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  367. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  368. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  369. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  370. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  371. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  372. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  373. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  374. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  375. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -1,27 +0,0 @@
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;
@@ -1,5 +0,0 @@
1
- export { PisellTimeNavigator } from './PisellTimeNavigator';
2
- export { getHorizontalAxisSlotCount, getRangeBounds, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, } 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';
@@ -1,22 +0,0 @@
1
- /**
2
- * PisellTimeNavigator 多语言文案
3
- * 使用前请在应用内通过 locales.init() 合并本模块导出的 key
4
- */
5
- declare const _default: {
6
- en: {
7
- 'pisell-time-navigator.now': string;
8
- };
9
- 'zh-CN': {
10
- 'pisell-time-navigator.now': string;
11
- };
12
- 'zh-HK': {
13
- 'pisell-time-navigator.now': string;
14
- };
15
- ja: {
16
- 'pisell-time-navigator.now': string;
17
- };
18
- pt: {
19
- 'pisell-time-navigator.now': string;
20
- };
21
- };
22
- export default _default;
@@ -1,160 +0,0 @@
1
- import type { CSSProperties, ReactNode } from 'react';
2
- import type { Dayjs } from 'dayjs';
3
- /**
4
- * value / defaultValue 的 dayjs 兼容类型(组件内部统一为 Dayjs)
5
- */
6
- export declare type TimeNavigatorValue = Dayjs | string | null;
7
- /**
8
- * 时间范围(HH:mm 或 HH:mm:ss,相对 referenceDate 的营业日)
9
- * - 同自然日:如 08:00–22:00
10
- * - 跨日:结束钟面 ≤ 开始时视为次日结束,如 02:01–02:00 表示至次日 02:00
11
- */
12
- export interface TimeRangeOption {
13
- start: string;
14
- end: string;
15
- }
16
- /**
17
- * 拖动/指示器模式
18
- * - axis-moves:指示器固定视口中央,刻度移动(默认)
19
- * - cursor-moves:刻度固定,指示器在轴上移动
20
- */
21
- export declare type CursorMode = 'axis-moves' | 'cursor-moves';
22
- /**
23
- * 布局方向
24
- */
25
- export declare type TimeNavigatorOrientation = 'horizontal' | 'vertical';
26
- /**
27
- * PisellTimeNavigator 组件 Props
28
- */
29
- export interface PisellTimeNavigatorProps {
30
- /**
31
- * 当前选中时间(受控)。支持 dayjs 实例或可被 dayjs 解析的字符串
32
- */
33
- value?: TimeNavigatorValue;
34
- /**
35
- * 时间变更回调(受控时必传)
36
- */
37
- onChange?: (value: Dayjs) => void;
38
- /**
39
- * 默认选中时间(非受控)
40
- */
41
- defaultValue?: TimeNavigatorValue;
42
- /**
43
- * 时间轴锚定到的日历日(startOf day)。`range` 的 HH:mm 均相对于该日。
44
- * 不传则与历史一致:取「当天」0 点,避免跨天后刻度错位。
45
- */
46
- referenceDate?: TimeNavigatorValue;
47
- /**
48
- * 是否 Realtime 模式:value 自动跟随系统当前时间更新
49
- * @default false
50
- */
51
- realtime?: boolean;
52
- /**
53
- * 时间范围(支持跨日营业,见 {@link TimeRangeOption})。不传则默认当日 00:00–24:00
54
- */
55
- range?: TimeRangeOption;
56
- /**
57
- * 吸附步长(分钟),如 15、30、60
58
- * @default 15
59
- */
60
- stepMinutes?: number;
61
- /**
62
- * 大刻度间隔(分钟),用于整点刻度;不传则与 stepMinutes 一致或 60
63
- * @default 60
64
- */
65
- majorStepMinutes?: number;
66
- /**
67
- * 指示器/轴移动模式
68
- * @default 'axis-moves'
69
- */
70
- cursorMode?: CursorMode;
71
- /**
72
- * 横向或竖向展示
73
- * @default 'horizontal'
74
- */
75
- orientation?: TimeNavigatorOrientation;
76
- /**
77
- * 营业时间范围(视觉高亮,可选限制选择范围)
78
- */
79
- businessHours?: TimeRangeOption;
80
- /**
81
- * 禁用时间段,禁止选中(点击/吸附到该区间无效)
82
- */
83
- disabledRanges?: TimeRangeOption[];
84
- /**
85
- * 是否显示 Now 按钮(固定入口)
86
- * @default true
87
- */
88
- showNowButton?: boolean;
89
- /**
90
- * 为 true 时禁止用户拖动/滚动时间轴、点击刻度改时间(仍随 `value` 程序性对齐视口;用于「跟随当前时刻」等只读轴)
91
- * @default false
92
- */
93
- userInteractionLocked?: boolean;
94
- /**
95
- * 是否吸附到 step 刻度
96
- * @default false
97
- */
98
- snapToStep?: boolean;
99
- /**
100
- * 是否开启惯性滚动(拖动松手后减速)
101
- * @default false
102
- */
103
- inertia?: boolean;
104
- /**
105
- * 过去时间淡化背景色(CSS 颜色值)
106
- */
107
- pastTimeFade?: string;
108
- /**
109
- * 容器样式覆盖
110
- */
111
- containerStyle?: CSSProperties;
112
- /**
113
- * 刻度层样式覆盖
114
- */
115
- scaleStyle?: CSSProperties;
116
- /**
117
- * 时间气泡/竖线样式覆盖(区分 realtime 时由组件内部应用主题色)
118
- */
119
- cursorStyle?: CSSProperties;
120
- /**
121
- * Now 按钮样式覆盖
122
- */
123
- nowButtonStyle?: CSSProperties;
124
- /**
125
- * 自定义类名
126
- */
127
- className?: string;
128
- /**
129
- * 根节点自定义样式
130
- */
131
- style?: CSSProperties;
132
- /**
133
- * dayjs locale
134
- */
135
- locale?: string;
136
- /**
137
- * 时间气泡展示格式(dayjs format)
138
- * @default 'HH:mm'
139
- */
140
- timeFormat?: string;
141
- /**
142
- * 自定义 Now 按钮内容(覆盖默认文案与图标时使用)
143
- */
144
- renderNowButton?: () => ReactNode;
145
- /**
146
- * 横向轴上与刻度槽位数一致的密度序列(任意正数,内部按最大值归一化折线高度)
147
- */
148
- densitySeries?: number[];
149
- /**
150
- * 未传 `densitySeries` 时按 `referenceDate` 拉取;日历日变更会重新请求,过期响应丢弃
151
- */
152
- loadDensity?: (params: {
153
- referenceDate: Dayjs;
154
- stepMinutes: number;
155
- }) => Promise<number[]>;
156
- /**
157
- * 用户开始操作时间轴(拖轴、点刻度、键盘、拖指针等)时回调;用于上层关闭「跟随当前」等。
158
- */
159
- onUserInteraction?: () => void;
160
- }
@@ -1,41 +0,0 @@
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
- export declare const DEFAULT_CALENDAR_SLOT_STEP_MINUTES = 60;
10
- /**
11
- * 按营业日 {@link TimeRangeOption} 在锚定自然日零点展开,生成日视图时间轴「列左边界」:
12
- * 值为相对 `reference.startOf('day')` 的**浮点小时**(可 ≥24,表示次日时刻),步长为 `slotStepMinutes`。
13
- */
14
- export declare function buildCalendarTimelineSlotStartsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs, slotStepMinutes?: number): number[];
15
- /**
16
- * @deprecated 语义上等价于 {@link buildCalendarTimelineSlotStartsFromRange}(..., 60);保留兼容导出。
17
- */
18
- export declare function buildCalendarHourSlotsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs): number[];
19
- /**
20
- * 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
21
- * - 同日内:如 08:00–22:00
22
- * - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
23
- */
24
- export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
25
- /**
26
- * 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
27
- */
28
- export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
29
- /**
30
- * 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
31
- * 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
32
- */
33
- export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
34
- /**
35
- * 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
36
- */
37
- export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
38
- /**
39
- * 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
40
- */
41
- export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellToastProps {
4
- /** 提示内容 */
5
- content: React.ReactNode;
6
- /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
- duration?: number;
8
- /** 是否展示action */
9
- showAction?: boolean;
10
- /** action文案 */
11
- actionText?: string;
12
- /** 关闭时触发的回调函数 */
13
- onClose?: () => void;
14
- }
15
- declare const PisellToast: (props: PisellToastProps) => void;
16
- export { useToast } from './squareToast';
17
- export default PisellToast;
@@ -1,15 +0,0 @@
1
- import { clear, show, success, info, loading, fail, hide } from './methods';
2
- import './index.less';
3
- interface ToastInstance {
4
- show: typeof show;
5
- clear: typeof clear;
6
- success: typeof success;
7
- info: typeof info;
8
- loading: typeof loading;
9
- fail: typeof fail;
10
- error: typeof fail;
11
- hide: typeof hide;
12
- }
13
- declare const Toast: ToastInstance;
14
- export declare const useToast: () => ToastInstance;
15
- export default Toast;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { ToastProps } from './toast';
3
- interface ToastInstance {
4
- close: () => void;
5
- }
6
- declare const show: (configOrContent: Partial<ToastProps> | React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
7
- declare const clear: () => void;
8
- declare const success: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
9
- declare const info: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
10
- declare const loading: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
11
- declare const fail: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
12
- declare const hide: () => void;
13
- export { show, clear, success, info, loading, fail, hide };
@@ -1,28 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { Root } from 'react-dom/client';
3
- import React from 'react';
4
- declare type ImperativeProps = {
5
- open?: boolean;
6
- onCancel?: () => void;
7
- afterClose?: () => void;
8
- };
9
- declare type TargetElement = ReactElement<ImperativeProps>;
10
- export declare type ImperativeHandler = {
11
- close: () => void;
12
- replace: (element: TargetElement) => void;
13
- isRendered?: () => boolean;
14
- };
15
- export declare type UnmountType = () => Promise<void>;
16
- export declare type RenderType = (node: React.ReactElement, container: Element | DocumentFragment) => UnmountType;
17
- declare const MARK = "__pisell_react_root__";
18
- declare type ContainerType = (Element | DocumentFragment) & {
19
- [MARK]?: Root;
20
- };
21
- export declare function render(node: React.ReactElement, container: ContainerType): void;
22
- export declare function unmount(container: ContainerType): Promise<void>;
23
- /**
24
- * @deprecated 设置 React 渲染函数以兼容使用。
25
- */
26
- export declare function unstableSetRender(render?: RenderType): RenderType;
27
- export declare function renderImperatively(element: TargetElement): ImperativeHandler;
28
- export {};
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export declare type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
4
- export interface ToastProps {
5
- /** Toast 类型 */
6
- icon?: ToastType | React.ReactNode;
7
- /** 显示的内容,支持文本或 React 节点 */
8
- content: React.ReactNode;
9
- /** 是否显示 */
10
- open?: boolean;
11
- /** 自动关闭时间,单位毫秒,0 表示不自动关闭 */
12
- duration?: number;
13
- /** 关闭 */
14
- onCancel?: () => void;
15
- /** 关闭后回调 */
16
- afterClose?: () => void;
17
- /** 自定义样式类名 */
18
- className?: string;
19
- /** 自定义样式 */
20
- style?: React.CSSProperties;
21
- /** 是否显示遮罩 */
22
- mask?: boolean;
23
- }
24
- declare const Toast: React.FC<ToastProps>;
25
- export default Toast;
@@ -1,146 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface FormatOption {
4
- /** 原始 DOM 元素 */
5
- originDom: React.ReactNode;
6
- /** 是否选中状态 */
7
- active: boolean;
8
- /** 完整的组件数据 */
9
- data: PisellWalletPassCardProps;
10
- }
11
- export interface PisellWalletPassCardProps {
12
- id: number;
13
- /** 卡片样式 */
14
- type: 'default' | 'mini';
15
- /** 商品名称 */
16
- name: string;
17
- /** 二维码 */
18
- qrCode: string;
19
- /** 共享店铺名称 */
20
- storeName: string;
21
- /** 余额 */
22
- balance?: number;
23
- /** 识别码编号 */
24
- code: string;
25
- /** 有效期 */
26
- validDate: string;
27
- /** 使用金额 */
28
- redeem?: number;
29
- /** 是否禁用 */
30
- disabled?: boolean;
31
- /** 禁用原因 */
32
- disabledReason?: string;
33
- /** 是否展示禁用原因 */
34
- showDisabledReason?: boolean;
35
- /** 封面图 */
36
- cover?: string;
37
- /** 余额标题文案 */
38
- balanceTitle?: string;
39
- /** 使用金额标题文案 */
40
- redeemTitle?: string;
41
- /** 是否选中 */
42
- active?: boolean;
43
- /** 是否展示商品名称 */
44
- showName?: boolean;
45
- /** 是否展示共享店铺名称 */
46
- showStoreName?: boolean | ((data: any) => boolean);
47
- /** 是否展示使用金额 */
48
- showRedeem?: boolean;
49
- /** 是否展示余额 */
50
- showBalance?: boolean;
51
- /** 是否展示识别码编号 */
52
- showCode?: boolean;
53
- /** 是否展示有效期 */
54
- showValidDate?: boolean;
55
- /** 使用日程信息计算有效期 */
56
- validDateBySchedule?: boolean;
57
- /** 日程列表 */
58
- scheduleList?: any[];
59
- /** 是否展示右上角详情按钮 */
60
- showDetail?: boolean;
61
- /** 是否展示qrCode */
62
- showQrCode?: boolean;
63
- /** 是否展示封面 */
64
- showCover?: boolean;
65
- /** 是否展示余额货币符号 */
66
- showBalanceSymbol?: boolean;
67
- /** 展示操作按钮 */
68
- showActions?: boolean;
69
- /** 操作按钮配置 */
70
- actions?: {
71
- /** 按钮展示方式 */
72
- layout: 'expanded' | 'collapsed';
73
- /** detail 按钮配置 */
74
- detail?: {
75
- visible: boolean;
76
- iconColor: string;
77
- };
78
- /** edit按钮配置 */
79
- edit?: {
80
- visible: boolean;
81
- iconColor: string;
82
- dialogTitle: string;
83
- enableDialog: boolean;
84
- fields: {
85
- name: string;
86
- label: string;
87
- };
88
- };
89
- };
90
- /** 编辑编辑按钮后,弹窗展示之前 */
91
- beforeEdit?: (value: any) => Promise<any> | boolean | void;
92
- /** 编辑弹窗点击提交 */
93
- onConfirmEdit?: (value: any) => void;
94
- /** 编辑金额事件 */
95
- onConfirmEditAmount?: (value: number) => void;
96
- /** 详情按钮点击事件 */
97
- onDetail?: (data: {
98
- id: number;
99
- name: string;
100
- storeName: string;
101
- balance?: number;
102
- redeem?: number;
103
- code: string;
104
- validDate: string;
105
- originData?: any;
106
- }) => void;
107
- /** 是否使用外部详情处理(当为 true 且提供了 onDetail 时,不显示内部模态框) */
108
- useExternalDetail?: boolean;
109
- /** 单选或者多选 */
110
- mode?: 'multiple' | 'single';
111
- /** 是否展示选中图标 */
112
- showActiveIcon?: boolean;
113
- /** 开启编辑金额 */
114
- enableEditAmount?: boolean;
115
- /** 显示状态标识 */
116
- showStatus?: boolean;
117
- /** 名称标题字号字重颜色配置 */
118
- nameTitleStyle?: {
119
- fontSize: number;
120
- fontWeight: number;
121
- color: string;
122
- };
123
- /** 卡片状态 */
124
- cardStatus?: 'used' | 'expired' | 'disabled' | 'conflict' | 'lastPayment';
125
- /** 自定义余额格式化函数,如果提供则优先使用 */
126
- formatBalance?: (balance?: number, option?: FormatOption) => React.ReactNode;
127
- /** 自定义余额标题格式化函数,如果提供则优先使用 */
128
- formatBalanceTitle?: (balanceTitle?: string, option?: FormatOption) => React.ReactNode;
129
- /** 自定义使用金额格式化函数,如果提供则优先使用 */
130
- formatRedeem?: (redeem?: number, option?: FormatOption) => React.ReactNode;
131
- /** 自定义使用金额标题格式化函数,如果提供则优先使用 */
132
- formatRedeemTitle?: (redeemTitle?: string, option?: FormatOption) => React.ReactNode;
133
- /** 最大使用金额 */
134
- maxRedeem?: number;
135
- /** 编辑金额前事件 */
136
- onBeforeEditAmount?: (value: any) => Promise<any> | boolean | void;
137
- /** 是否显示持有人 */
138
- showHolderName?: boolean;
139
- /** 持有人, 表单记录,展示时一般取main_field */
140
- holder?: any;
141
- /** 持有人点击回调 */
142
- onSetHolder?: (currentValue?: any) => void;
143
- [key: string]: any;
144
- }
145
- declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
146
- export default PisellWalletPassCard;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
- export default Footer;
@@ -1,4 +0,0 @@
1
- import { IGiftProps } from './types';
2
- import './index.less';
3
- declare const Gift: (props: IGiftProps) => JSX.Element | null;
4
- export default Gift;
@@ -1,29 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * 赠品项数据结构
4
- */
5
- export interface IGiftItem {
6
- /** 图片 URL */
7
- image?: string;
8
- /** 标题 */
9
- title?: string;
10
- /** 唯一标识 */
11
- id?: string;
12
- }
13
- /**
14
- * Gift 组件 Props
15
- */
16
- export interface IGiftProps {
17
- /** 是否显示赠品组件 */
18
- isShow?: boolean;
19
- /** 赠品总数量(可选择的总数) */
20
- totalCount?: number;
21
- /** 已选择的赠品列表 */
22
- selectedGifts?: IGiftItem[];
23
- /** 选择的赠品原始数据列表 */
24
- _selectedOriginGifts?: any[];
25
- /** 提示文本(未选择时显示) */
26
- promptText?: string;
27
- /** 点击事件回调 */
28
- onClick?: (e: React.MouseEvent) => void;
29
- }
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
- export default MultiDay;
@@ -1,14 +0,0 @@
1
- interface InputItem {
2
- start_date: string;
3
- end_date: string;
4
- total: number;
5
- num: number;
6
- }
7
- interface OutputItem {
8
- start_date: string;
9
- end_date: string;
10
- total: number;
11
- num: number;
12
- }
13
- export declare function formatDateRanges(list: InputItem[]): OutputItem[];
14
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Note: (props: any) => JSX.Element | null;
3
- export default Note;
@@ -1,6 +0,0 @@
1
- interface IPromotionProps {
2
- promotions: any[];
3
- onClick?: (item: any) => void;
4
- }
5
- declare const Promotion: (props: IPromotionProps) => JSX.Element;
6
- export default Promotion;
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface IProps {
4
- isShowImage?: boolean;
5
- dataSource: {
6
- image?: string;
7
- bundle?: any[];
8
- options?: any[];
9
- product_option_string?: string;
10
- name?: string;
11
- symbol?: string;
12
- price?: string | number;
13
- total?: number;
14
- origin_total?: number;
15
- num?: number;
16
- holder_id?: any;
17
- isFormSubject?: boolean;
18
- totalDifference?: number;
19
- };
20
- style?: React.CSSProperties;
21
- /** 作为主商品卡片展示
22
- * 1. 影响商品数量 tag 的位置
23
- * 2. isMain 且 type 为 a5,展示holder
24
- */
25
- isMainProduct?: boolean;
26
- maxSpecsCount?: number;
27
- type?: 'a2' | 'a5' | 'a9';
28
- isBundle?: boolean;
29
- showFooter?: boolean;
30
- isShowOriginalPrice?: boolean;
31
- isShowEditProduct?: boolean;
32
- onEditProduct?: (val: any) => void;
33
- disabledEditClick?: boolean;
34
- }
35
- declare const BasicInfo: (props: IProps) => JSX.Element;
36
- export default BasicInfo;
@@ -1,2 +0,0 @@
1
- declare const DiscountReason: (props: any) => JSX.Element;
2
- export default DiscountReason;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Holders: (props: any) => JSX.Element | null;
3
- export default Holders;
@@ -1,11 +0,0 @@
1
- import './index.less';
2
- interface IProps {
3
- isShowImage?: boolean;
4
- dataSource: {
5
- bundle?: any[];
6
- symbol?: string;
7
- };
8
- type?: 'a2' | 'a5' | 'a9';
9
- }
10
- declare const Packages: ({ isShowImage, dataSource, type }: IProps) => JSX.Element | null;
11
- export default Packages;
@@ -1,20 +0,0 @@
1
- /**
2
- * @title: 金额是否是负
3
- * @description:
4
- * @param {string} type
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2024-11-22 10:01
8
- */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
10
- /**
11
- * @title: 金额格式化
12
- * @description:
13
- * @param {number} price
14
- * @param {string} amountSymbol
15
- * @param {number} digit
16
- * @return {*}
17
- * @Author: WangHan
18
- * @Date: 2024-11-22 10:58
19
- */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Resources: (props: any) => JSX.Element | null;
3
- export default Resources;