@pisell/materials 1.10.27 → 1.10.28

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 (235) 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 +3 -3
  5. package/build/lowcode/preview.css +1 -1
  6. package/build/lowcode/preview.js +1 -1
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +48 -48
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +48 -48
  11. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -1
  12. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -1
  13. package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  14. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -1
  15. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +2 -1
  16. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +2 -1
  17. package/es/components/PisellCards/index.d.ts +7 -5
  18. package/es/components/PisellFields/index.d.ts +1 -0
  19. package/es/components/PisellGroupView/PisellGroupView.d.ts +2 -1
  20. package/es/components/PisellLayouts/index.d.ts +3 -2
  21. package/es/components/PisellMetrics/index.d.ts +3 -2
  22. package/es/components/appVersionControl/index.d.ts +2 -1
  23. package/es/components/appVersionControl/types.d.ts +1 -0
  24. package/es/components/auto-complete-number/index.d.ts +2 -1
  25. package/es/components/badge/index.d.ts +2 -1
  26. package/es/components/batch-editor/index.d.ts +2 -1
  27. package/es/components/calendar/index.d.ts +4 -1
  28. package/es/components/cardMetricItem/index.d.ts +1 -1
  29. package/es/components/cardPro/index.d.ts +2 -1
  30. package/es/components/checkbox/index.d.ts +4 -1
  31. package/es/components/classicLayout/index.d.ts +2 -1
  32. package/es/components/config-provider/index.d.ts +2 -1
  33. package/es/components/customSelect/index.d.ts +1 -1
  34. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  35. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  36. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  37. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +4 -1
  38. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  39. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  40. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
  41. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  42. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  43. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -1
  44. package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
  45. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +3 -1
  46. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  47. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  48. package/es/components/date-picker/index.d.ts +4 -1
  49. package/es/components/drag-sort-tree/index.d.ts +2 -1
  50. package/es/components/drag-sort-tree/types.d.ts +1 -0
  51. package/es/components/dropdown/index.d.ts +3 -1
  52. package/es/components/filter/components/FilterButton/types.d.ts +1 -0
  53. package/es/components/filter/index.d.ts +2 -1
  54. package/es/components/input/index.d.ts +1 -0
  55. package/es/components/keyboard/index.d.ts +1 -1
  56. package/es/components/list/index.d.ts +2 -1
  57. package/es/components/lowCodePage/index.d.ts +3 -1
  58. package/es/components/page/index.d.ts +2 -1
  59. package/es/components/page-header/index.d.ts +1 -1
  60. package/es/components/pisell-config-provider/context.d.ts +1 -0
  61. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
  62. package/es/components/pisellAdjustPrice/index.d.ts +2 -1
  63. package/es/components/pisellAlert/index.d.ts +1 -1
  64. package/es/components/pisellCard/index.d.ts +2 -1
  65. package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
  66. package/es/components/pisellCountdown/index.d.ts +1 -1
  67. package/es/components/pisellDatePicker/index.d.ts +4 -1
  68. package/es/components/pisellDraggable/index.d.ts +1 -1
  69. package/es/components/pisellEmpty/index.d.ts +1 -1
  70. package/es/components/pisellFilter/index.d.ts +2 -1
  71. package/es/components/pisellFloatingPanel/index.d.ts +1 -1
  72. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -4
  73. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -1
  74. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -1
  75. package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -1
  76. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  77. package/es/components/pisellGoodPassCard/index.d.ts +1 -1
  78. package/es/components/pisellGridPro/GridView/index.d.ts +2 -1
  79. package/es/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  80. package/es/components/pisellInformationEntry/index.d.ts +1 -1
  81. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  82. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  83. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  84. package/es/components/pisellInput/index.d.ts +5 -4
  85. package/es/components/pisellLoading/index.d.ts +2 -1
  86. package/es/components/pisellMenu/types.d.ts +1 -0
  87. package/es/components/pisellModal/index.d.ts +2 -2
  88. package/es/components/pisellQuickFilter/type.d.ts +1 -0
  89. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -1
  90. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -1
  91. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -1
  92. package/es/components/pisellRow/index.d.ts +1 -1
  93. package/es/components/pisellSort/index.d.ts +2 -1
  94. package/es/components/pisellStatisticList/index.d.ts +1 -1
  95. package/es/components/pisellTags/index.d.ts +1 -1
  96. package/es/components/pisellText/index.d.ts +2 -2
  97. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -1
  98. package/es/components/pisellTooltip/index.d.ts +2 -1
  99. package/es/components/pisellUpload/index.d.ts +2 -1
  100. package/es/components/pisellWalletPassCard/index.d.ts +4 -1
  101. package/es/components/pisellWalletPassCard/index.js +15 -5
  102. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +8 -2
  103. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +32 -1
  104. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +2 -2
  105. package/es/components/productCard/lineItem/BookingLineItem.js +3 -2
  106. package/es/components/qrcode/index.d.ts +3 -1
  107. package/es/components/radio/index.d.ts +4 -1
  108. package/es/components/section-footers/index.d.ts +4 -1
  109. package/es/components/segmented/index.d.ts +2 -1
  110. package/es/components/select-time/index.d.ts +2 -1
  111. package/es/components/skeleton/index.d.ts +4 -1
  112. package/es/components/slider/index.d.ts +3 -1
  113. package/es/components/tabs/index.d.ts +2 -2
  114. package/es/components/time-picker/index.d.ts +4 -1
  115. package/es/components/upload/index.d.ts +4 -1
  116. package/es/components/versionSelect/index.d.ts +1 -0
  117. package/es/components/virtual-keyboard/Amount/index.d.ts +2 -1
  118. package/es/components/virtual-keyboard/Amount/types.d.ts +1 -0
  119. package/es/components/virtual-keyboard/Number/index.d.ts +2 -1
  120. package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
  121. package/es/components/virtual-keyboard/index.d.ts +1 -1
  122. package/es/pisell-materials.tw.css +1 -1
  123. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -1
  124. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -1
  125. package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  126. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -1
  127. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +2 -1
  128. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +2 -1
  129. package/lib/components/PisellCards/index.d.ts +7 -5
  130. package/lib/components/PisellFields/index.d.ts +1 -0
  131. package/lib/components/PisellGroupView/PisellGroupView.d.ts +2 -1
  132. package/lib/components/PisellLayouts/index.d.ts +3 -2
  133. package/lib/components/PisellMetrics/index.d.ts +3 -2
  134. package/lib/components/appVersionControl/index.d.ts +2 -1
  135. package/lib/components/appVersionControl/types.d.ts +1 -0
  136. package/lib/components/auto-complete-number/index.d.ts +2 -1
  137. package/lib/components/badge/index.d.ts +2 -1
  138. package/lib/components/batch-editor/index.d.ts +2 -1
  139. package/lib/components/calendar/index.d.ts +4 -1
  140. package/lib/components/cardMetricItem/index.d.ts +1 -1
  141. package/lib/components/cardPro/index.d.ts +2 -1
  142. package/lib/components/checkbox/index.d.ts +4 -1
  143. package/lib/components/classicLayout/index.d.ts +2 -1
  144. package/lib/components/config-provider/index.d.ts +2 -1
  145. package/lib/components/customSelect/index.d.ts +1 -1
  146. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  147. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  148. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  149. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +4 -1
  150. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  151. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  152. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
  153. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  154. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  155. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -1
  156. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
  157. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +3 -1
  158. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  159. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  160. package/lib/components/date-picker/index.d.ts +4 -1
  161. package/lib/components/drag-sort-tree/index.d.ts +2 -1
  162. package/lib/components/drag-sort-tree/types.d.ts +1 -0
  163. package/lib/components/dropdown/index.d.ts +3 -1
  164. package/lib/components/filter/components/FilterButton/types.d.ts +1 -0
  165. package/lib/components/filter/index.d.ts +2 -1
  166. package/lib/components/input/index.d.ts +1 -0
  167. package/lib/components/keyboard/index.d.ts +1 -1
  168. package/lib/components/list/index.d.ts +2 -1
  169. package/lib/components/lowCodePage/index.d.ts +3 -1
  170. package/lib/components/page/index.d.ts +2 -1
  171. package/lib/components/page-header/index.d.ts +1 -1
  172. package/lib/components/pisell-config-provider/context.d.ts +1 -0
  173. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
  174. package/lib/components/pisellAdjustPrice/index.d.ts +2 -1
  175. package/lib/components/pisellAlert/index.d.ts +1 -1
  176. package/lib/components/pisellCard/index.d.ts +2 -1
  177. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
  178. package/lib/components/pisellCountdown/index.d.ts +1 -1
  179. package/lib/components/pisellDatePicker/index.d.ts +4 -1
  180. package/lib/components/pisellDraggable/index.d.ts +1 -1
  181. package/lib/components/pisellEmpty/index.d.ts +1 -1
  182. package/lib/components/pisellFilter/index.d.ts +2 -1
  183. package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
  184. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -4
  185. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -1
  186. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -1
  187. package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -1
  188. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  189. package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
  190. package/lib/components/pisellGridPro/GridView/index.d.ts +2 -1
  191. package/lib/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  192. package/lib/components/pisellInformationEntry/index.d.ts +1 -1
  193. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  194. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  195. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  196. package/lib/components/pisellInput/index.d.ts +5 -4
  197. package/lib/components/pisellLoading/index.d.ts +2 -1
  198. package/lib/components/pisellMenu/types.d.ts +1 -0
  199. package/lib/components/pisellModal/index.d.ts +2 -2
  200. package/lib/components/pisellQuickFilter/type.d.ts +1 -0
  201. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -1
  202. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -1
  203. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -1
  204. package/lib/components/pisellRow/index.d.ts +1 -1
  205. package/lib/components/pisellSort/index.d.ts +2 -1
  206. package/lib/components/pisellStatisticList/index.d.ts +1 -1
  207. package/lib/components/pisellTags/index.d.ts +1 -1
  208. package/lib/components/pisellText/index.d.ts +2 -2
  209. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -1
  210. package/lib/components/pisellTooltip/index.d.ts +2 -1
  211. package/lib/components/pisellUpload/index.d.ts +2 -1
  212. package/lib/components/pisellWalletPassCard/index.d.ts +4 -1
  213. package/lib/components/pisellWalletPassCard/index.js +15 -5
  214. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +8 -2
  215. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +32 -1
  216. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +2 -2
  217. package/lib/components/productCard/lineItem/BookingLineItem.js +3 -2
  218. package/lib/components/qrcode/index.d.ts +3 -1
  219. package/lib/components/radio/index.d.ts +4 -1
  220. package/lib/components/section-footers/index.d.ts +4 -1
  221. package/lib/components/segmented/index.d.ts +2 -1
  222. package/lib/components/select-time/index.d.ts +2 -1
  223. package/lib/components/skeleton/index.d.ts +4 -1
  224. package/lib/components/slider/index.d.ts +3 -1
  225. package/lib/components/tabs/index.d.ts +2 -2
  226. package/lib/components/time-picker/index.d.ts +4 -1
  227. package/lib/components/upload/index.d.ts +4 -1
  228. package/lib/components/versionSelect/index.d.ts +1 -0
  229. package/lib/components/virtual-keyboard/Amount/index.d.ts +2 -1
  230. package/lib/components/virtual-keyboard/Amount/types.d.ts +1 -0
  231. package/lib/components/virtual-keyboard/Number/index.d.ts +2 -1
  232. package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
  233. package/lib/components/virtual-keyboard/index.d.ts +1 -1
  234. package/lib/pisell-materials.tw.css +1 -1
  235. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { PisellFilterProps } from "./type.js";
2
+ import React from "react";
2
3
 
3
4
  //#region src/components/pisellFilter/index.d.ts
4
- declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
5
+ declare const PisellFilter: (props: PisellFilterProps) => React.JSX.Element;
5
6
  //#endregion
6
7
  export { PisellFilter };
@@ -13,6 +13,6 @@ interface PisellFloatingPanelProps {
13
13
  style?: React.CSSProperties;
14
14
  retractIconStyle?: React.CSSProperties;
15
15
  }
16
- declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => JSX.Element;
16
+ declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => React.JSX.Element;
17
17
  //#endregion
18
18
  export { PisellFloatingPanel };
@@ -1,4 +1,5 @@
1
1
  import { FloorMapDataSources, FloorMapMergedItem } from "../types.js";
2
+ import React from "react";
2
3
 
3
4
  //#region src/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts
4
5
  type FigmaTableStatus = 'available' | 'reserved' | 'waiting' | 'dining' | 'billed' | 'availableSoon';
@@ -31,12 +32,12 @@ interface FigmaTableCardItem {
31
32
  /** 从 merged item + dataSources 得到卡片数据 */
32
33
  declare function getFigmaTableCardFromMerged(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FigmaTableCardItem;
33
34
  /** 渲染 Figma 样式的方桌卡片(上下小条 + 资源信息标题栏 + 白底卡片 + 状态色边框) */
34
- declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): JSX.Element;
35
+ declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
35
36
  /** 渲染 Figma 样式的圆桌卡片(顶部资源信息 chip + 圆形主体,圆形主体只展示状态相关内容) */
36
- declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): JSX.Element;
37
+ declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
37
38
  /** 返回用于 renderItemByKind.table 的渲染函数(方桌) */
38
- declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
39
+ declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
39
40
  /** 返回用于 renderItemByKind.roundTable 的渲染函数(圆桌) */
40
- declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
41
+ declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
41
42
  //#endregion
42
43
  export { FigmaTableCardItem, FigmaTableStatus, getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard };
@@ -1,10 +1,11 @@
1
1
  import { FloorMapBuiltinShapeRenderProps } from "../utils/floorMapBuiltinShapes.js";
2
+ import React from "react";
2
3
 
3
4
  //#region src/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts
4
5
  interface FloorMapBuiltinShapeElementProps extends FloorMapBuiltinShapeRenderProps {
5
6
  builtinShapeKey?: string;
6
7
  name?: string;
7
8
  }
8
- declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): JSX.Element;
9
+ declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): React.JSX.Element;
9
10
  //#endregion
10
11
  export { FloorMapBuiltinShapeElement };
@@ -1,8 +1,10 @@
1
+ import React from "react";
2
+
1
3
  //#region src/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts
2
4
  interface FloorMapImageElementProps {
3
5
  imageUrl?: string;
4
6
  name?: string;
5
7
  }
6
- declare function FloorMapImageElement(props: FloorMapImageElementProps): JSX.Element;
8
+ declare function FloorMapImageElement(props: FloorMapImageElementProps): React.JSX.Element;
7
9
  //#endregion
8
10
  export { FloorMapImageElement };
@@ -1,8 +1,9 @@
1
+ import React from "react";
1
2
  //#region src/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts
2
3
  interface FloorMapSelectionZoneElementProps {
3
4
  /** 选区名称;为空时展示「未命名选区」占位 */
4
5
  name?: string;
5
6
  }
6
- declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): JSX.Element;
7
+ declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): React.JSX.Element;
7
8
  //#endregion
8
9
  export { FloorMapSelectionZoneElement };
@@ -15,6 +15,6 @@ interface FloorMapLayoutProviderProps {
15
15
  declare function FloorMapLayoutProvider({
16
16
  value,
17
17
  children
18
- }: FloorMapLayoutProviderProps): JSX.Element;
18
+ }: FloorMapLayoutProviderProps): React.JSX.Element;
19
19
  //#endregion
20
20
  export { EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, FloorMapLayoutProvider, FloorMapLayoutProviderProps, useFloorMapLayoutContext };
@@ -46,6 +46,6 @@ interface PisellGoodPassCardProps {
46
46
  mixedSort?: (val: Discount[]) => Discount[];
47
47
  isInModal: boolean;
48
48
  }
49
- declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
49
+ declare const index: (props: PisellGoodPassCardProps) => React.JSX.Element;
50
50
  //#endregion
51
51
  export { index };
@@ -1,5 +1,6 @@
1
1
  import { GridViewProps } from "./type.js";
2
+ import React from "react";
2
3
  //#region src/components/pisellGridPro/GridView/index.d.ts
3
- declare const GridView: (props: GridViewProps) => JSX.Element;
4
+ declare const GridView: (props: GridViewProps) => React.JSX.Element;
4
5
  //#endregion
5
6
  export { GridView };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
2
3
  interface ToolBarProps {
3
4
  className?: string;
@@ -29,6 +29,6 @@ interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivE
29
29
  /** 录入类型切换时候触发的 */
30
30
  onChangeType?: (val: null | EntryModeType['type']) => void;
31
31
  }
32
- declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
32
+ declare const PisellInformationEntry: (props: PisellInformationEntryProps) => React.JSX.Element;
33
33
  //#endregion
34
34
  export { PisellInformationEntry };
@@ -1,4 +1,5 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
+ import React from "react";
2
3
  import { InputProps } from "antd";
3
4
  //#region src/components/pisellInput/components/BankCard/index.d.ts
4
5
  type BankCardProps = InputProps & {
@@ -1,4 +1,5 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
+ import React from "react";
2
3
  import { ButtonProps, InputProps } from "antd";
3
4
 
4
5
  //#region src/components/pisellInput/components/Copy/index.d.ts
@@ -1,4 +1,5 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
+ import React from "react";
2
3
  import { InputProps } from "antd";
3
4
  //#region src/components/pisellInput/components/SecurityCode/index.d.ts
4
5
  interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
@@ -2,16 +2,17 @@ import { PisellContextType } from "../pisell-config-provider/context.js";
2
2
  import { BankCardProps } from "./components/BankCard/index.js";
3
3
  import { SecurityCodeProps } from "./components/SecurityCode/index.js";
4
4
  import { CopyProps } from "./components/Copy/index.js";
5
+ import React from "react";
5
6
  import { InputProps } from "antd";
6
7
 
7
8
  //#region src/components/pisellInput/index.d.ts
8
9
  declare const PisellInput: {
9
10
  (props: InputProps & {
10
11
  /** 平台 */platform?: PisellContextType['platform'];
11
- }): JSX.Element;
12
- BankCard: (props: BankCardProps) => JSX.Element;
13
- SecurityCode: (props: SecurityCodeProps) => JSX.Element;
14
- Copy: (props: CopyProps) => JSX.Element;
12
+ }): React.JSX.Element;
13
+ BankCard: (props: BankCardProps) => React.JSX.Element;
14
+ SecurityCode: (props: SecurityCodeProps) => React.JSX.Element;
15
+ Copy: (props: CopyProps) => React.JSX.Element;
15
16
  };
16
17
  //#endregion
17
18
  export { PisellInput };
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { SpinProps } from "antd";
2
3
  //#region src/components/pisellLoading/index.d.ts
3
4
  type MaskType = {
@@ -15,6 +16,6 @@ interface PisellLoadingProps extends SpinProps {
15
16
  /** 延迟显示加载效果的时间(防止闪烁) */
16
17
  delay?: number;
17
18
  }
18
- declare const PisellLoading: (props: PisellLoadingProps) => JSX.Element;
19
+ declare const PisellLoading: (props: PisellLoadingProps) => React.JSX.Element;
19
20
  //#endregion
20
21
  export { PisellLoading };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
 
3
4
  //#region src/components/pisellMenu/types.d.ts
@@ -40,7 +40,7 @@ interface PisellModalProps extends ModalProps {
40
40
  maskProps?: React.HTMLAttributes<HTMLDivElement>;
41
41
  }
42
42
  declare const PisellModal: {
43
- (props: PisellModalProps): JSX.Element;
43
+ (props: PisellModalProps): React.JSX.Element;
44
44
  confirm: (props: PisellModalFuncProps) => {
45
45
  destroy: () => void;
46
46
  update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
@@ -62,7 +62,7 @@ declare const PisellModal: {
62
62
  destroy: () => void;
63
63
  update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
64
64
  };
65
- Information: (props: InformationProps) => JSX.Element;
65
+ Information: (props: InformationProps) => React.JSX.Element;
66
66
  };
67
67
  //#endregion
68
68
  export { PisellModal, PisellModalProps };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from "../filter/types.js";
2
3
  import { FormInstance } from "antd";
3
4
 
@@ -1,4 +1,5 @@
1
1
  import { RecordBoardCalendarProps } from "../../types.js";
2
+ import React from "react";
2
3
 
3
4
  //#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
4
5
  type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
@@ -9,6 +10,6 @@ type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
9
10
  * 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
10
11
  * 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
11
12
  */
12
- declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
13
+ declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): React.JSX.Element;
13
14
  //#endregion
14
15
  export { PisellRecordBoardCalendarView, PisellRecordBoardCalendarViewProps };
@@ -1,9 +1,10 @@
1
1
  import { PisellReservationScheduleProps } from "./types.js";
2
+ import React from "react";
2
3
  //#region src/components/pisellReservationSchedule/PisellReservationSchedule.d.ts
3
4
  /**
4
5
  * 营业日导航条:上一日、中间日期文案、下一日(深色条样式,适配预约顶栏)
5
6
  */
6
- declare function PisellReservationSchedule(props: PisellReservationScheduleProps): JSX.Element;
7
+ declare function PisellReservationSchedule(props: PisellReservationScheduleProps): React.JSX.Element;
7
8
  declare namespace PisellReservationSchedule {
8
9
  var displayName: string;
9
10
  }
@@ -1,9 +1,10 @@
1
1
  import { PisellReservationScheduleBandProps } from "./types.js";
2
+ import React from "react";
2
3
  //#region src/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts
3
4
  /**
4
5
  * 预约顶栏组合:营业日切换 + 锚定到选中日的时间导航轴
5
6
  */
6
- declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): JSX.Element;
7
+ declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): React.JSX.Element;
7
8
  declare namespace PisellReservationScheduleBand {
8
9
  var displayName: string;
9
10
  }
@@ -18,6 +18,6 @@ interface PisellRowProps extends React.DetailedHTMLProps<React.HTMLAttributes<HT
18
18
  * @Author: zhiwei.Wang
19
19
  * @Date: 2024-08-16 10:38
20
20
  */
21
- declare const PisellRow: (props: PisellRowProps) => JSX.Element;
21
+ declare const PisellRow: (props: PisellRowProps) => React.JSX.Element;
22
22
  //#endregion
23
23
  export { PisellRow, PisellRowProps };
@@ -1,6 +1,7 @@
1
1
  import { PisellSortProps } from "./type.js";
2
+ import React from "react";
2
3
 
3
4
  //#region src/components/pisellSort/index.d.ts
4
- declare const PisellSort: (props: PisellSortProps) => JSX.Element;
5
+ declare const PisellSort: (props: PisellSortProps) => React.JSX.Element;
5
6
  //#endregion
6
7
  export { PisellSort };
@@ -18,6 +18,6 @@ interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement>
18
18
  }[];
19
19
  }[];
20
20
  }
21
- declare const PisellStatisticList: (props: PisellStatisticListProps) => JSX.Element;
21
+ declare const PisellStatisticList: (props: PisellStatisticListProps) => React.JSX.Element;
22
22
  //#endregion
23
23
  export { PisellStatisticList, PisellStatisticListProps };
@@ -9,6 +9,6 @@ interface PisellTagsProps extends React.DetailedHTMLProps<React.HTMLAttributes<H
9
9
  icon?: React.ReactNode;
10
10
  color?: PisellTagsColor;
11
11
  }
12
- declare const PisellTags: (props: PisellTagsProps) => JSX.Element;
12
+ declare const PisellTags: (props: PisellTagsProps) => React.JSX.Element;
13
13
  //#endregion
14
14
  export { PisellTags };
@@ -5,8 +5,8 @@ import React from "react";
5
5
  //#region src/components/pisellText/index.d.ts
6
6
  interface PisellTextProps extends React.HTMLAttributes<HTMLSpanElement> {}
7
7
  declare const PisellText: {
8
- (props: PisellTextProps): JSX.Element;
9
- Amount: (props: AmountProps) => JSX.Element;
8
+ (props: PisellTextProps): React.JSX.Element;
9
+ Amount: (props: AmountProps) => React.JSX.Element;
10
10
  Editable: React.FC<EditableProps>;
11
11
  };
12
12
  //#endregion
@@ -1,9 +1,10 @@
1
1
  import { PisellTimeNavigatorProps } from "./types.js";
2
+ import React from "react";
2
3
  //#region src/components/pisellTimeNavigator/PisellTimeNavigator.d.ts
3
4
  /**
4
5
  * PisellTimeNavigator:可拖动的时间导航轴,时间范围内浏览、选择、控制
5
6
  */
6
- declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): JSX.Element;
7
+ declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): React.JSX.Element;
7
8
  declare namespace PisellTimeNavigator {
8
9
  var displayName: string;
9
10
  }
@@ -1,4 +1,5 @@
1
1
  import { PisellContextType } from "../pisell-config-provider/context.js";
2
+ import React from "react";
2
3
  import { TooltipPropsWithTitle } from "antd/es/tooltip";
3
4
 
4
5
  //#region src/components/pisellTooltip/index.d.ts
@@ -6,6 +7,6 @@ interface PisellTooltipProps extends TooltipPropsWithTitle {
6
7
  /** 平台 */
7
8
  platform?: PisellContextType['platform'];
8
9
  }
9
- declare const PisellTooltip: (props: PisellTooltipProps) => JSX.Element;
10
+ declare const PisellTooltip: (props: PisellTooltipProps) => React.JSX.Element;
10
11
  //#endregion
11
12
  export { PisellTooltip };
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { UploadProps } from "antd";
2
3
  //#region src/components/pisellUpload/index.d.ts
3
4
  interface PisellUploadProps extends UploadProps {
@@ -6,6 +7,6 @@ interface PisellUploadProps extends UploadProps {
6
7
  text2?: string;
7
8
  uploadType?: 'button' | 'drop' | 'custom';
8
9
  }
9
- declare const PisellUpload: (props: PisellUploadProps) => JSX.Element;
10
+ declare const PisellUpload: (props: PisellUploadProps) => React.JSX.Element;
10
11
  //#endregion
11
12
  export { PisellUpload };
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { WalletPassValidity } from "@pisell/utils";
2
3
  //#region src/components/pisellWalletPassCard/index.d.ts
3
4
  interface FormatOption {
4
5
  /** 原始 DOM 元素 */
@@ -58,6 +59,8 @@ interface PisellWalletPassCardProps {
58
59
  validDateBySchedule?: boolean;
59
60
  /** 日程列表 */
60
61
  scheduleList?: any[];
62
+ /** 卡自身的原始有效日期,与使用日程共同决定展示范围 */
63
+ walletValidity?: WalletPassValidity;
61
64
  /** 是否展示右上角详情按钮 */
62
65
  showDetail?: boolean;
63
66
  /** 是否展示qrCode */
@@ -141,6 +144,6 @@ interface PisellWalletPassCardProps {
141
144
  onSetHolder?: (currentValue?: any) => void;
142
145
  [key: string]: any;
143
146
  }
144
- declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
147
+ declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => React.JSX.Element;
145
148
  //#endregion
146
149
  export { FormatOption, PisellWalletPassCard, PisellWalletPassCardProps };
@@ -39,7 +39,7 @@ const PisellWalletPassCard = (props) => {
39
39
  if (pressTimer) clearTimeout(pressTimer);
40
40
  };
41
41
  }, [pressTimer]);
42
- const { id, type, code, qrCode, balance, formattedBalance, disabledReason, name, storeName, redeem, validDate, disabled, active = false, cover, balanceTitle, redeemTitle, showCover = true, showDetail = true, showBalance = true, showRedeem = true, showName = true, showCode = true, showStoreName = true, showValidDate = true, showQrCode = true, showBalanceSymbol = true, showDisabledReason = true, showDiscount = false, discount, showActions, actions, beforeEdit, onBeforeEditAmount, onConfirmEdit, onConfirmEditAmount, onDetail, useExternalDetail = false, originData, style = {}, mode = "multiple", showActiveIcon, enableEditAmount, showStatus, cardStatus, nameTitleStyle, formatBalance, formatBalanceTitle, formatRedeem, formatRedeemTitle, maxRedeem, showHolderName = true, holder, onSetHolder, validDateBySchedule, scheduleList } = props;
42
+ const { id, type, code, qrCode, balance, formattedBalance, disabledReason, name, storeName, redeem, validDate, disabled, active = false, cover, balanceTitle, redeemTitle, showCover = true, showDetail = true, showBalance = true, showRedeem = true, showName = true, showCode = true, showStoreName = true, showValidDate = true, showQrCode = true, showBalanceSymbol = true, showDisabledReason = true, showDiscount = false, discount, showActions, actions, beforeEdit, onBeforeEditAmount, onConfirmEdit, onConfirmEditAmount, onDetail, useExternalDetail = false, originData, style = {}, mode = "multiple", showActiveIcon, enableEditAmount, showStatus, cardStatus, nameTitleStyle, formatBalance, formatBalanceTitle, formatRedeem, formatRedeemTitle, maxRedeem, showHolderName = true, holder, onSetHolder, validDateBySchedule, scheduleList, walletValidity } = props;
43
43
  useEffect(() => {
44
44
  document.body.id = "body";
45
45
  }, []);
@@ -132,12 +132,22 @@ const PisellWalletPassCard = (props) => {
132
132
  };
133
133
  }();
134
134
  const formatValidDate = useMemo(() => {
135
- if (validDateBySchedule && scheduleList && (scheduleList === null || scheduleList === void 0 ? void 0 : scheduleList.length) > 0) return /* @__PURE__ */ React.createElement(React.Fragment, null, getText("pisell-wallet-pass-card-valid"), " ", getScheduleSummary(scheduleList, config === null || config === void 0 ? void 0 : config.locale) || validDate);
135
+ if (validDateBySchedule && scheduleList && (scheduleList === null || scheduleList === void 0 ? void 0 : scheduleList.length) > 0) {
136
+ var _walletValidity$start, _ref2, _walletValidity$expir, _walletValidity$expir2;
137
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, getText("pisell-wallet-pass-card-valid"), " ", getScheduleSummary(scheduleList, config === null || config === void 0 ? void 0 : config.locale, {
138
+ start_date: (_walletValidity$start = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.start_date) !== null && _walletValidity$start !== void 0 ? _walletValidity$start : originData === null || originData === void 0 ? void 0 : originData.start_date,
139
+ expire_date: (_ref2 = (_walletValidity$expir = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.expire_date) !== null && _walletValidity$expir !== void 0 ? _walletValidity$expir : originData === null || originData === void 0 ? void 0 : originData.expire_date) !== null && _ref2 !== void 0 ? _ref2 : validDate,
140
+ expire_time: (_walletValidity$expir2 = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.expire_time) !== null && _walletValidity$expir2 !== void 0 ? _walletValidity$expir2 : originData === null || originData === void 0 ? void 0 : originData.expire_time
141
+ }) || validDate);
142
+ }
136
143
  return /* @__PURE__ */ React.createElement(React.Fragment, null, getText("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : getText("pisell-wallet-pass-card-expireDate"));
137
144
  }, [
138
145
  validDateBySchedule,
139
146
  scheduleList,
140
- validDate
147
+ validDate,
148
+ walletValidity,
149
+ originData,
150
+ config === null || config === void 0 ? void 0 : config.locale
141
151
  ]);
142
152
  const _onConfirmEdit = () => {
143
153
  form.validateFields().then((values) => {
@@ -238,7 +248,7 @@ const PisellWalletPassCard = (props) => {
238
248
  return /* @__PURE__ */ React.createElement("div", { className: classNames("pisell-card-name-info-wrap") }, /* @__PURE__ */ React.createElement("div", { className: "pisell-card-name-wrap" }, showName && name), _showHolderName && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-holder-name" }, holderName), shouldShowStoreName && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-store-name" }, storeName));
239
249
  };
240
250
  const handleEditAmount = function() {
241
- var _ref2 = _asyncToGenerator(function* (e) {
251
+ var _ref3 = _asyncToGenerator(function* (e) {
242
252
  if (active && enableEditAmount) e.stopPropagation();
243
253
  if (!active) return;
244
254
  if (enableEditAmount && !disabled) {
@@ -259,7 +269,7 @@ const PisellWalletPassCard = (props) => {
259
269
  }
260
270
  });
261
271
  return function handleEditAmount(_x) {
262
- return _ref2.apply(this, arguments);
272
+ return _ref3.apply(this, arguments);
263
273
  };
264
274
  }();
265
275
  const createOriginalBalanceTitleDom = () => /* @__PURE__ */ React.createElement("div", { className: "pisell-card-amount-item-label" }, formatBalanceTitle ? formatBalanceTitle(balanceTitle, {
@@ -10,6 +10,7 @@ import "./index.less";
10
10
  const Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
11
11
  const { total, origin_total, symbol, tip, num, discount_reason, amountFormatter } = item;
12
12
  const weighingInfo = resolveWeighingSnapshot(item);
13
+ const showOnlyTotal = isOnlyTotal || Boolean(weighingInfo);
13
14
  const formatFooterAmount = (amount, precision = 2) => {
14
15
  if (amountFormatter) return amountFormatter(amount, precision);
15
16
  if (!weighingInfo) return _formatAmount(amount, symbol, precision);
@@ -27,9 +28,14 @@ const Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
27
28
  * @Date: 2024-11-22 13:50
28
29
  */
29
30
  const isDiscount = useMemo(() => {
31
+ if (weighingInfo) return origin_total != null && Number(total) !== Number(origin_total);
30
32
  if (!origin_total) return false;
31
33
  return Number(total) != Number(origin_total);
32
- }, [total, origin_total]);
34
+ }, [
35
+ total,
36
+ origin_total,
37
+ weighingInfo
38
+ ]);
33
39
  const renderDiscountReason = () => {
34
40
  if (isDiscount && discount_reason && type === "total") {
35
41
  if (Array.isArray(discount_reason)) return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}_discount-reason` }, discount_reason.map((reason, index) => {
@@ -42,7 +48,7 @@ const Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
42
48
  }
43
49
  return null;
44
50
  };
45
- return /* @__PURE__ */ React.createElement(React.Fragment, null, !hideDivider ? /* @__PURE__ */ React.createElement(Divider, { style: { margin: 0 } }) : null, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__product-footer`, hideDivider && `pisell-cart-sku-card__hide-divider-footer`, isOnlyTotal && `pisell-cart-sku-card__only-total-footer`) }, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__footer-price-wrap`, weighingInfo && `pisell-cart-sku-card__footer-price-wrap--weighing`) }, !isOnlyTotal ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__footer-price`) }, /* @__PURE__ */ React.createElement("span", null, formatFooterAmount(total)), tip ? /* @__PURE__ */ React.createElement(Tooltip, {
51
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, !hideDivider ? /* @__PURE__ */ React.createElement(Divider, { style: { margin: 0 } }) : null, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__product-footer`, hideDivider && `pisell-cart-sku-card__hide-divider-footer`, showOnlyTotal && `pisell-cart-sku-card__only-total-footer`) }, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__footer-price-wrap`, weighingInfo && `pisell-cart-sku-card__footer-price-wrap--weighing`) }, !showOnlyTotal ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}__footer-price`) }, /* @__PURE__ */ React.createElement("span", null, formatFooterAmount(total)), tip ? /* @__PURE__ */ React.createElement(Tooltip, {
46
52
  title: locales.getText(tip),
47
53
  destroyTooltipOnHide: true
48
54
  }, /* @__PURE__ */ React.createElement(QuestionCircleOutlined, { style: {
@@ -22,10 +22,41 @@
22
22
  gap: 4px;
23
23
  }
24
24
 
25
- &__footer-price-wrap--weighing {
25
+ &__product-footer &__footer-price-wrap--weighing {
26
+ flex-wrap: wrap;
27
+ justify-content: flex-start;
28
+ align-items: baseline;
29
+ column-gap: 12px;
30
+ row-gap: 4px;
26
31
  font-size: var(--pisell-cart-sku-card-physical-text-height, 18px);
27
32
  line-height: 1.3;
28
33
  letter-spacing: -0.02em;
34
+
35
+ > span {
36
+ flex-shrink: 0;
37
+ white-space: nowrap;
38
+ }
39
+
40
+ .pisell-cart-sku-card__footer-total,
41
+ .pisell-cart-sku-card__footer-origin-total,
42
+ .pisell-cart-sku-card__footer-discount {
43
+ font-size: inherit;
44
+ line-height: inherit;
45
+ }
46
+
47
+ .pisell-cart-sku-card__footer-total {
48
+ display: flex;
49
+ flex-wrap: wrap;
50
+ justify-content: flex-end;
51
+ gap: 4px 8px;
52
+ max-width: 100%;
53
+ margin-left: auto;
54
+ }
55
+
56
+ .pisell-cart-sku-card__footer-origin-total {
57
+ margin-right: 0;
58
+ transform: none;
59
+ }
29
60
  }
30
61
 
31
62
  &__footer-discount {
@@ -153,7 +153,7 @@
153
153
 
154
154
  &--weighing {
155
155
  .product-info .product-name {
156
- font-size: 18px;
156
+ font-size: var(--pisell-cart-sku-card-physical-text-height);
157
157
  line-height: 1.3;
158
158
  letter-spacing: -0.01em;
159
159
  }
@@ -201,4 +201,4 @@
201
201
  }
202
202
  }
203
203
  }
204
- }
204
+ }
@@ -112,8 +112,9 @@ const BookingLineItem = (props) => {
112
112
  e.stopPropagation();
113
113
  } }), /* @__PURE__ */ React.createElement("span", { className: `${PREFIX}__status-label` }, currentStatus.label), canChangeStatus ? /* @__PURE__ */ React.createElement(DownOutlined, null) : null);
114
114
  };
115
- const renderPromotion = (dataSource === null || dataSource === void 0 || (_dataSource$promotion = dataSource.promotions) === null || _dataSource$promotion === void 0 ? void 0 : _dataSource$promotion.length) ? /* @__PURE__ */ React.createElement(Promotion, {
116
- promotions: dataSource === null || dataSource === void 0 ? void 0 : dataSource.promotions,
115
+ const promotionItems = (dataSource === null || dataSource === void 0 || (_dataSource$promotion = dataSource.promotions) === null || _dataSource$promotion === void 0 ? void 0 : _dataSource$promotion.length) ? dataSource.promotions : relatedProductDataSource === null || relatedProductDataSource === void 0 ? void 0 : relatedProductDataSource.promotions;
116
+ const renderPromotion = (promotionItems === null || promotionItems === void 0 ? void 0 : promotionItems.length) ? /* @__PURE__ */ React.createElement(Promotion, {
117
+ promotions: promotionItems,
117
118
  onClick: (item) => onPromotion === null || onPromotion === void 0 ? void 0 : onPromotion(item)
118
119
  }) : null;
119
120
  const renderProductCard = (productDataSource, source, options = {}) => {
@@ -1,4 +1,6 @@
1
+ import React from "react";
2
+
1
3
  //#region src/components/qrcode/index.d.ts
2
- declare const QRCode: (props: any) => JSX.Element;
4
+ declare const QRCode: (props: any) => React.JSX.Element;
3
5
  //#endregion
4
6
  export { QRCode };
@@ -1,4 +1,7 @@
1
+ /// <reference types="react" />
2
+ import * as _$react from "react";
3
+
1
4
  //#region src/components/radio/index.d.ts
2
- declare const Radio: (props: any) => JSX.Element;
5
+ declare const Radio: (props: any) => _$react.JSX.Element;
3
6
  //#endregion
4
7
  export { Radio };
@@ -1,3 +1,6 @@
1
+ /// <reference types="react" />
2
+ import * as _$react from "react";
3
+
1
4
  //#region src/components/section-footers/index.d.ts
2
5
  interface SectionFooterProps {
3
6
  left?: React.ReactNode;
@@ -5,6 +8,6 @@ interface SectionFooterProps {
5
8
  right?: React.ReactNode;
6
9
  className?: string;
7
10
  }
8
- declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
11
+ declare const SectionFooters: (props: SectionFooterProps) => _$react.JSX.Element;
9
12
  //#endregion
10
13
  export { SectionFooters };
@@ -1,5 +1,6 @@
1
+ import React from "react";
1
2
  import { SegmentedProps } from "antd";
2
3
  //#region src/components/segmented/index.d.ts
3
- declare const Segmented$1: (props: SegmentedProps) => JSX.Element;
4
+ declare const Segmented$1: (props: SegmentedProps) => React.JSX.Element;
4
5
  //#endregion
5
6
  export { Segmented$1 as Segmented };
@@ -1,4 +1,5 @@
1
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time/index.js";
2
+ import React from "react";
2
3
  import { PopoverProps, TimePickerProps } from "antd";
3
4
  //#region src/components/select-time/index.d.ts
4
5
  interface SelectTimeProps {
@@ -11,6 +12,6 @@ interface SelectTimeProps {
11
12
  theme?: 'light' | 'dark';
12
13
  className?: string;
13
14
  }
14
- declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
15
+ declare const SelectTime: (props: SelectTimeProps) => React.JSX.Element;
15
16
  //#endregion
16
17
  export { SelectTime };
@@ -1,4 +1,7 @@
1
+ /// <reference types="react" />
2
+ import * as _$react from "react";
3
+
1
4
  //#region src/components/skeleton/index.d.ts
2
- declare const Skeleton: (props: any) => JSX.Element;
5
+ declare const Skeleton: (props: any) => _$react.JSX.Element;
3
6
  //#endregion
4
7
  export { Skeleton };
@@ -1,4 +1,6 @@
1
+ import React from "react";
2
+
1
3
  //#region src/components/slider/index.d.ts
2
- declare const SliderOuter: (props: any) => JSX.Element;
4
+ declare const SliderOuter: (props: any) => React.JSX.Element;
3
5
  //#endregion
4
6
  export { SliderOuter };
@@ -1,4 +1,4 @@
1
- import { Component } from "react";
1
+ import React, { Component } from "react";
2
2
  import { TabsProps } from "antd";
3
3
  //#region src/components/tabs/index.d.ts
4
4
  declare class Tabs$1 extends Component<any> {
@@ -12,7 +12,7 @@ declare class Tabs$1 extends Component<any> {
12
12
  getActiveKey: () => any;
13
13
  renderIconLabelTabBar: TabsProps['renderTabBar'];
14
14
  filterHiddenTabs: (tabs: any[]) => any[];
15
- render(): JSX.Element;
15
+ render(): React.JSX.Element;
16
16
  }
17
17
  //#endregion
18
18
  export { Tabs$1 as Tabs };