@pisell/materials 6.11.107 → 6.11.108

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 (444) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/buttonGroupPreview/index.js +2 -1
  12. package/es/components/pisellFind/index.js +114 -18
  13. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  14. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +24 -18
  15. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +4 -6
  16. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +4 -2
  17. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +3 -14
  18. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  19. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -11
  20. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  21. package/es/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  22. package/es/components/productCard/cartSkuCard/components/specs/index.js +5 -1
  23. package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  24. package/es/components/productCard/cartSkuCard/components/weighing/index.js +1 -4
  25. package/es/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  26. package/es/components/productCard/cartSkuCard/index.less +0 -2
  27. package/es/components/productCard/lineItem/BookingLineItem.js +39 -21
  28. package/es/components/productCard/lineItem/components/Holders/index.js +74 -0
  29. package/es/components/productCard/lineItem/components/Holders/index.less +39 -0
  30. package/es/components/productCard/lineItem/index.d.ts +11 -7
  31. package/es/components/productCard/lineItem/index.js +89 -27
  32. package/es/components/productCard/lineItem/index.less +40 -3
  33. package/lib/components/buttonGroupPreview/index.js +2 -1
  34. package/lib/components/pisellFind/index.js +80 -5
  35. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  36. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +36 -17
  37. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +3 -5
  38. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -1
  39. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -11
  40. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  41. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +10 -22
  42. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  43. package/lib/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  44. package/lib/components/productCard/cartSkuCard/components/specs/index.js +11 -1
  45. package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  46. package/lib/components/productCard/cartSkuCard/components/weighing/index.js +4 -6
  47. package/lib/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  48. package/lib/components/productCard/cartSkuCard/index.less +0 -2
  49. package/lib/components/productCard/lineItem/BookingLineItem.js +40 -48
  50. package/lib/components/productCard/lineItem/components/Holders/index.js +83 -0
  51. package/lib/components/productCard/lineItem/components/Holders/index.less +39 -0
  52. package/lib/components/productCard/lineItem/index.d.ts +11 -7
  53. package/lib/components/productCard/lineItem/index.js +63 -21
  54. package/lib/components/productCard/lineItem/index.less +40 -3
  55. package/lowcode/pisell-find/meta.ts +19 -0
  56. package/package.json +1 -1
  57. package/es/components/Pagination/index.d.ts +0 -14
  58. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  59. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  60. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  61. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  62. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  63. package/es/components/PisellCards/index.d.ts +0 -15
  64. package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  65. package/es/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  66. package/es/components/PisellScrollView/types.d.ts +0 -203
  67. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  68. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  69. package/es/components/appVersionControl/index.d.ts +0 -5
  70. package/es/components/buttonGroupPreview/index.d.ts +0 -19
  71. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
  72. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  73. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
  74. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
  75. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  76. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
  77. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
  78. package/es/components/drag-sort-tree/index.d.ts +0 -4
  79. package/es/components/drawer/index.d.ts +0 -3
  80. package/es/components/filter/components/Dropdown/index.d.ts +0 -10
  81. package/es/components/filter/components/FilterButton/index.d.ts +0 -5
  82. package/es/components/filter/components/FilterItem/index.d.ts +0 -9
  83. package/es/components/filter/components/QuickFilter/index.d.ts +0 -16
  84. package/es/components/keyboard/index.d.ts +0 -22
  85. package/es/components/login-and-register/index.d.ts +0 -82
  86. package/es/components/pisell-config-provider/index.d.ts +0 -13
  87. package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  88. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  89. package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
  90. package/es/components/pisellEmpty/index.d.ts +0 -19
  91. package/es/components/pisellFilter/index.d.ts +0 -4
  92. package/es/components/pisellFind/index.d.ts +0 -40
  93. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
  94. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -59
  95. package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -29
  96. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  97. package/es/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +0 -37
  98. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -66
  99. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
  100. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +0 -7
  101. package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +0 -13
  102. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
  103. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  104. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
  105. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -44
  106. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
  107. package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
  108. package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +0 -6
  109. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -59
  110. package/es/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +0 -20
  111. package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -61
  112. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -28
  113. package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -23
  114. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  115. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  116. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +0 -61
  117. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +0 -15
  118. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -79
  119. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -91
  120. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  121. package/es/components/pisellFloorMapLayout/index.d.ts +0 -37
  122. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
  123. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
  124. package/es/components/pisellFloorMapLayout/locales.d.ts +0 -969
  125. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  126. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  127. package/es/components/pisellFloorMapLayout/types.d.ts +0 -778
  128. package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  129. package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +0 -45
  130. package/es/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +0 -267
  131. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  132. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +0 -83
  133. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  134. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  135. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -35
  136. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  137. package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +0 -44
  138. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  139. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  140. package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +0 -34
  141. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  142. package/es/components/pisellGridPro/index.d.ts +0 -4
  143. package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
  144. package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  145. package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  146. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  147. package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
  148. package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
  149. package/es/components/pisellPhone/components/EditView.d.ts +0 -19
  150. package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  151. package/es/components/pisellPhone/types.d.ts +0 -209
  152. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  153. package/es/components/pisellRating/PisellRating.d.ts +0 -31
  154. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  155. package/es/components/pisellRecordBoard/index.d.ts +0 -53
  156. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  157. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -5
  158. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
  159. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
  160. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
  161. package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +0 -18
  162. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
  163. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +0 -26
  164. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -14
  165. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
  166. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -19
  167. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  168. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
  169. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -236
  170. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +0 -7
  171. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -21
  172. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -49
  173. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
  174. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
  175. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +0 -57
  176. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
  177. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  178. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +0 -10
  179. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +0 -11
  180. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +0 -3
  181. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +0 -8
  182. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +0 -3
  183. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  184. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  185. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  186. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  187. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  188. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  189. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  190. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  191. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  192. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  193. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  194. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
  195. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
  196. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -19
  197. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
  198. package/es/components/pisellRecordBoard/types.d.ts +0 -874
  199. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  200. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  201. package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +0 -27
  202. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  203. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  204. package/es/components/pisellReservationScheduleBand/index.d.ts +0 -3
  205. package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  206. package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  207. package/es/components/pisellStatisticList/index.d.ts +0 -22
  208. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
  209. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  210. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  211. package/es/components/pisellTimeNavigator/index.d.ts +0 -5
  212. package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
  213. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  214. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  215. package/es/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +0 -10
  216. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
  217. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  218. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
  219. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  220. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  221. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  222. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -22
  223. package/es/components/productCard/cartSkuCard/index.d.ts +0 -13
  224. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  225. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -4
  226. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  227. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
  228. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  229. package/es/components/productCard/components/Time/index.d.ts +0 -4
  230. package/es/components/productCard/lineItem/BookingLineItem.d.ts +0 -17
  231. package/es/components/productCard/lineItem/components/Resources/index.d.ts +0 -6
  232. package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -12
  233. package/es/components/productCard/lineItem/types.d.ts +0 -9
  234. package/es/components/productCard/status.d.ts +0 -32
  235. package/es/components/productCard/types.d.ts +0 -95
  236. package/es/components/select-time/index.d.ts +0 -14
  237. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
  238. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
  239. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  240. package/es/components/table/BasicTable/index.d.ts +0 -4
  241. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  242. package/es/components/table/Gallery/index.d.ts +0 -5
  243. package/es/components/table/Table/index.d.ts +0 -4
  244. package/es/components/table/Table/utils.d.ts +0 -161
  245. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  246. package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
  247. package/es/components/table/types.d.ts +0 -268
  248. package/es/components/translation/index.d.ts +0 -17
  249. package/es/components/versionModal/index.d.ts +0 -23
  250. package/es/index.d.ts +0 -271
  251. package/lib/components/Pagination/index.d.ts +0 -14
  252. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  253. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  254. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  255. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  256. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  257. package/lib/components/PisellCards/index.d.ts +0 -15
  258. package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  259. package/lib/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  260. package/lib/components/PisellScrollView/types.d.ts +0 -203
  261. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  262. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  263. package/lib/components/appVersionControl/index.d.ts +0 -5
  264. package/lib/components/buttonGroupPreview/index.d.ts +0 -19
  265. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
  266. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  267. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
  268. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
  269. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  270. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
  271. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
  272. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  273. package/lib/components/drawer/index.d.ts +0 -3
  274. package/lib/components/filter/components/Dropdown/index.d.ts +0 -10
  275. package/lib/components/filter/components/FilterButton/index.d.ts +0 -5
  276. package/lib/components/filter/components/FilterItem/index.d.ts +0 -9
  277. package/lib/components/filter/components/QuickFilter/index.d.ts +0 -16
  278. package/lib/components/keyboard/index.d.ts +0 -22
  279. package/lib/components/login-and-register/index.d.ts +0 -82
  280. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  281. package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  282. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  283. package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
  284. package/lib/components/pisellEmpty/index.d.ts +0 -19
  285. package/lib/components/pisellFilter/index.d.ts +0 -4
  286. package/lib/components/pisellFind/index.d.ts +0 -40
  287. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
  288. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -59
  289. package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -29
  290. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  291. package/lib/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +0 -37
  292. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -66
  293. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
  294. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +0 -7
  295. package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +0 -13
  296. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
  297. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  298. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
  299. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -44
  300. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
  301. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
  302. package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +0 -6
  303. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -59
  304. package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +0 -20
  305. package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -61
  306. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -28
  307. package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -23
  308. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  309. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  310. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +0 -61
  311. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +0 -15
  312. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -79
  313. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -91
  314. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  315. package/lib/components/pisellFloorMapLayout/index.d.ts +0 -37
  316. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
  317. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
  318. package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -969
  319. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  320. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  321. package/lib/components/pisellFloorMapLayout/types.d.ts +0 -778
  322. package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  323. package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +0 -45
  324. package/lib/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +0 -267
  325. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  326. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +0 -83
  327. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  328. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  329. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -35
  330. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  331. package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +0 -44
  332. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  333. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  334. package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +0 -34
  335. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  336. package/lib/components/pisellGridPro/index.d.ts +0 -4
  337. package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
  338. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  339. package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  340. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  341. package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
  342. package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
  343. package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
  344. package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  345. package/lib/components/pisellPhone/types.d.ts +0 -209
  346. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  347. package/lib/components/pisellRating/PisellRating.d.ts +0 -31
  348. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  349. package/lib/components/pisellRecordBoard/index.d.ts +0 -53
  350. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  351. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -5
  352. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
  353. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
  354. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
  355. package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +0 -18
  356. package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
  357. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +0 -26
  358. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -14
  359. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
  360. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -19
  361. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  362. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
  363. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -236
  364. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +0 -7
  365. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -21
  366. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -49
  367. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
  368. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
  369. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +0 -57
  370. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
  371. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  372. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +0 -10
  373. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +0 -11
  374. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +0 -3
  375. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +0 -8
  376. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +0 -3
  377. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  378. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  379. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  380. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  381. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  382. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  383. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  384. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  385. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  386. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  387. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  388. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
  389. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
  390. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -19
  391. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
  392. package/lib/components/pisellRecordBoard/types.d.ts +0 -874
  393. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  394. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  395. package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +0 -27
  396. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  397. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  398. package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -3
  399. package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  400. package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  401. package/lib/components/pisellStatisticList/index.d.ts +0 -22
  402. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
  403. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  404. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  405. package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
  406. package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
  407. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  408. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  409. package/lib/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +0 -10
  410. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
  411. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  412. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
  413. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  414. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  415. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  416. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -22
  417. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -13
  418. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  419. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -4
  420. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  421. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
  422. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  423. package/lib/components/productCard/components/Time/index.d.ts +0 -4
  424. package/lib/components/productCard/lineItem/BookingLineItem.d.ts +0 -17
  425. package/lib/components/productCard/lineItem/components/Resources/index.d.ts +0 -6
  426. package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -12
  427. package/lib/components/productCard/lineItem/types.d.ts +0 -9
  428. package/lib/components/productCard/status.d.ts +0 -32
  429. package/lib/components/productCard/types.d.ts +0 -95
  430. package/lib/components/select-time/index.d.ts +0 -14
  431. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
  432. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
  433. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  434. package/lib/components/table/BasicTable/index.d.ts +0 -4
  435. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  436. package/lib/components/table/Gallery/index.d.ts +0 -5
  437. package/lib/components/table/Table/index.d.ts +0 -4
  438. package/lib/components/table/Table/utils.d.ts +0 -161
  439. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  440. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
  441. package/lib/components/table/types.d.ts +0 -268
  442. package/lib/components/translation/index.d.ts +0 -17
  443. package/lib/components/versionModal/index.d.ts +0 -23
  444. package/lib/index.d.ts +0 -271
@@ -29,16 +29,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  // src/components/pisellFind/index.tsx
30
30
  var pisellFind_exports = {};
31
31
  __export(pisellFind_exports, {
32
- PisellFind: () => PisellFind
32
+ PisellFind: () => PisellFind,
33
+ SCAN_RESULT_EVENT: () => SCAN_RESULT_EVENT
33
34
  });
34
35
  module.exports = __toCommonJS(pisellFind_exports);
35
36
  var import_react = __toESM(require("react"));
36
37
  var import_utils = require("@pisell/utils");
37
38
  var import_pisellLookup = require("../pisellLookup");
39
+ var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
38
40
  var import_locales = require("../../locales");
41
+ var SCAN_RESULT_EVENT = "nativeScanResult";
39
42
  var PisellFind = (0, import_react.forwardRef)((props, ref) => {
43
+ var _a, _b;
40
44
  const {
41
- // 提取需要设置默认值的 Props
42
45
  triggerType = "button",
43
46
  buttonText = (() => {
44
47
  const key = "pisell2.recordBoard.toolbar.find";
@@ -53,19 +56,90 @@ var PisellFind = (0, import_react.forwardRef)((props, ref) => {
53
56
  showConfirmButton = false,
54
57
  showHistory = true,
55
58
  historyKey = "pisell_find_history",
56
- // 透传其他所有 Props
59
+ enableScanner = false,
60
+ onScannerData,
61
+ onSearch,
57
62
  ...restProps
58
63
  } = props;
64
+ const lookupRef = (0, import_react.useRef)(null);
65
+ const onScannerDataRef = (0, import_react.useRef)(onScannerData);
66
+ const onSearchRef = (0, import_react.useRef)(onSearch);
67
+ (0, import_react.useEffect)(() => {
68
+ onScannerDataRef.current = onScannerData;
69
+ }, [onScannerData]);
70
+ (0, import_react.useEffect)(() => {
71
+ onSearchRef.current = onSearch;
72
+ }, [onSearch]);
73
+ (0, import_react.useImperativeHandle)(
74
+ ref,
75
+ () => ({
76
+ open: () => {
77
+ var _a2;
78
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.open();
79
+ },
80
+ close: () => {
81
+ var _a2;
82
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.close();
83
+ },
84
+ getKeyword: () => {
85
+ var _a2;
86
+ return ((_a2 = lookupRef.current) == null ? void 0 : _a2.getKeyword()) ?? "";
87
+ },
88
+ setKeyword: (v) => {
89
+ var _a2;
90
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.setKeyword(v);
91
+ }
92
+ }),
93
+ []
94
+ );
95
+ const engineContext = (0, import_useEngineContext.default)();
96
+ const getAppRef = (0, import_react.useRef)(void 0);
97
+ getAppRef.current = typeof ((_b = (_a = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getApp) === "function" ? engineContext.appHelper.utils.getApp : void 0;
98
+ (0, import_react.useEffect)(() => {
99
+ if (!enableScanner) return void 0;
100
+ const getApp = getAppRef.current;
101
+ if (typeof getApp !== "function") return void 0;
102
+ const app = getApp();
103
+ const pubsub = app == null ? void 0 : app.pubsub;
104
+ if (!pubsub || typeof pubsub.subscribe !== "function") {
105
+ return void 0;
106
+ }
107
+ const onScan = (payload) => {
108
+ var _a2, _b2, _c;
109
+ const data = payload == null ? void 0 : payload.data;
110
+ if (typeof data !== "string" || data.length === 0) {
111
+ return;
112
+ }
113
+ (_a2 = lookupRef.current) == null ? void 0 : _a2.setKeyword(data);
114
+ (_b2 = onSearchRef.current) == null ? void 0 : _b2.call(onSearchRef, data);
115
+ (_c = onScannerDataRef.current) == null ? void 0 : _c.call(onScannerDataRef, payload);
116
+ };
117
+ try {
118
+ pubsub.subscribe(SCAN_RESULT_EVENT, onScan);
119
+ } catch (e) {
120
+ console.warn("[PisellFind] subscribe scanner failed:", e);
121
+ return void 0;
122
+ }
123
+ return () => {
124
+ var _a2;
125
+ try {
126
+ (_a2 = pubsub.unsubscribe) == null ? void 0 : _a2.call(pubsub, SCAN_RESULT_EVENT, onScan);
127
+ } catch (e) {
128
+ console.warn("[PisellFind] unsubscribe scanner failed:", e);
129
+ }
130
+ };
131
+ }, [enableScanner]);
59
132
  return /* @__PURE__ */ import_react.default.createElement(
60
133
  import_pisellLookup.PisellLookup,
61
134
  {
62
- ref,
135
+ ref: lookupRef,
63
136
  triggerType,
64
137
  buttonText,
65
138
  placeholder,
66
139
  showConfirmButton,
67
140
  showHistory,
68
141
  historyKey,
142
+ onSearch,
69
143
  ...restProps
70
144
  }
71
145
  );
@@ -73,5 +147,6 @@ var PisellFind = (0, import_react.forwardRef)((props, ref) => {
73
147
  PisellFind.displayName = "PisellFind";
74
148
  // Annotate the CommonJS export names for ESM import in node:
75
149
  0 && (module.exports = {
76
- PisellFind
150
+ PisellFind,
151
+ SCAN_RESULT_EVENT
77
152
  });
@@ -142,7 +142,12 @@ function PisellFloorMapLayoutInner(props, ref) {
142
142
  layoutPrefix: import_floorMapLayoutConstants.FLOOR_MAP_LAYOUT_CLASS_PREFIX,
143
143
  contentOffsetRef,
144
144
  showDataSourceRecordFormBlock,
145
- focusViewportOnBoundsRef
145
+ focusViewportOnBoundsRef,
146
+ /**
147
+ * 网格显隐缓存与视口持久化共用同一命名空间,按业务/门店/平面图隔离;
148
+ * 与视口 `viewportPersistKey` 同源,避免换门店/平面图读到别家的网格偏好。
149
+ */
150
+ gridPersistNamespace: viewportPersistNamespace
146
151
  });
147
152
  const {
148
153
  config,
@@ -55,12 +55,12 @@ var I18N_PLACEMENT_FALLBACK_IMAGE = "pisell-floor-map-layout.placement.fallback-
55
55
  var I18N_PLACEMENT_ZONE_NAME = "pisell-floor-map-layout.zone.unnamed";
56
56
  var ZONE_PLACE_DEFAULT = { width: 240, height: 160 };
57
57
  var GRID_VIS_STORAGE_PREFIX = "pisell-floor-map-layout.grid-visible";
58
- function getGridVisStorageKey(canvasId) {
59
- return `${GRID_VIS_STORAGE_PREFIX}:${canvasId}`;
58
+ function getGridVisStorageKey(canvasId, namespace) {
59
+ return namespace ? `${GRID_VIS_STORAGE_PREFIX}:${namespace}:${canvasId}` : `${GRID_VIS_STORAGE_PREFIX}:${canvasId}`;
60
60
  }
61
- function readStoredGridVisible(canvasId) {
61
+ function readStoredGridVisible(canvasId, namespace) {
62
62
  try {
63
- const raw = localStorage.getItem(getGridVisStorageKey(canvasId));
63
+ const raw = localStorage.getItem(getGridVisStorageKey(canvasId, namespace));
64
64
  if (raw == null) return null;
65
65
  if (raw === "1") return true;
66
66
  if (raw === "0") return false;
@@ -69,18 +69,21 @@ function readStoredGridVisible(canvasId) {
69
69
  return null;
70
70
  }
71
71
  }
72
- function writeStoredGridVisible(canvasId, visible) {
72
+ function writeStoredGridVisible(canvasId, visible, namespace) {
73
73
  try {
74
- localStorage.setItem(getGridVisStorageKey(canvasId), visible ? "1" : "0");
74
+ localStorage.setItem(
75
+ getGridVisStorageKey(canvasId, namespace),
76
+ visible ? "1" : "0"
77
+ );
75
78
  } catch {
76
79
  }
77
80
  }
78
- function normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp) {
81
+ function normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp, namespace) {
79
82
  const baseConfig = (0, import_floorMapViewConfigDiff.normalizeFloorMapViewConfigFromProp)(floorMapConfigProp);
80
83
  return {
81
84
  ...baseConfig,
82
85
  canvases: baseConfig.canvases.map((canvas) => {
83
- const stored = readStoredGridVisible(canvas.id);
86
+ const stored = readStoredGridVisible(canvas.id, namespace);
84
87
  if (stored == null) return canvas;
85
88
  return {
86
89
  ...canvas,
@@ -174,7 +177,8 @@ function useFloorMapEditState(params) {
174
177
  layoutPrefix,
175
178
  contentOffsetRef,
176
179
  showDataSourceRecordFormBlock,
177
- focusViewportOnBoundsRef
180
+ focusViewportOnBoundsRef,
181
+ gridPersistNamespace
178
182
  } = params;
179
183
  const scheduleFocusOnPlacements = (0, import_react.useCallback)(
180
184
  (positions, sizes) => {
@@ -210,7 +214,10 @@ function useFloorMapEditState(params) {
210
214
  lastSyncedPropConfigRef.current = null;
211
215
  return;
212
216
  }
213
- const nextConfig = normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
217
+ const nextConfig = normalizeFloorMapConfigWithStoredGrid(
218
+ floorMapConfigProp,
219
+ gridPersistNamespace
220
+ );
214
221
  const lastSynced = lastSyncedPropConfigRef.current;
215
222
  if (draftConfig && lastSynced != null) {
216
223
  const propMatchesDraft = (0, import_floorMapViewConfigDiff.floorMapViewConfigsEqual)(
@@ -237,12 +244,21 @@ function useFloorMapEditState(params) {
237
244
  return prev && enabled.some((c) => c.id === prev) ? prev : ((_a2 = enabled[0]) == null ? void 0 : _a2.id) ?? null;
238
245
  }
239
246
  );
240
- }, [floorMapConfigProp]);
247
+ }, [floorMapConfigProp, gridPersistNamespace]);
241
248
  const isLayoutDirty = (0, import_react.useMemo)(() => {
242
249
  if (!isFloorMapView || !draftConfig || !floorMapConfigProp) return false;
243
- const baseline = savedBaselineConfig ?? normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
250
+ const baseline = savedBaselineConfig ?? normalizeFloorMapConfigWithStoredGrid(
251
+ floorMapConfigProp,
252
+ gridPersistNamespace
253
+ );
244
254
  return !(0, import_floorMapViewConfigDiff.floorMapViewConfigsEqual)(draftConfig, baseline);
245
- }, [isFloorMapView, draftConfig, floorMapConfigProp, savedBaselineConfig]);
255
+ }, [
256
+ isFloorMapView,
257
+ draftConfig,
258
+ floorMapConfigProp,
259
+ savedBaselineConfig,
260
+ gridPersistNamespace
261
+ ]);
246
262
  (0, import_react.useEffect)(() => {
247
263
  if (!selectedId || !draftConfig) return;
248
264
  const exists = (draftConfig.sceneElements ?? []).some(
@@ -672,11 +688,14 @@ function useFloorMapEditState(params) {
672
688
  setSavedBaselineConfig(null);
673
689
  return;
674
690
  }
675
- const nextConfig = normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
691
+ const nextConfig = normalizeFloorMapConfigWithStoredGrid(
692
+ floorMapConfigProp,
693
+ gridPersistNamespace
694
+ );
676
695
  replaceDraft(nextConfig);
677
696
  lastSyncedPropConfigRef.current = nextConfig;
678
697
  setSavedBaselineConfig(null);
679
- }, [floorMapConfigProp, replaceDraft]);
698
+ }, [floorMapConfigProp, replaceDraft, gridPersistNamespace]);
680
699
  const toggleDraftCanvasShowGrid = (0, import_react.useCallback)(() => {
681
700
  commitDraft((prev) => {
682
701
  if (!prev || !currentCanvasId) return prev;
@@ -686,7 +705,7 @@ function useFloorMapEditState(params) {
686
705
  var _a2;
687
706
  if (c.id !== currentCanvasId) return c;
688
707
  const nextShow = !Boolean((_a2 = c.mapLayer) == null ? void 0 : _a2.showGrid);
689
- writeStoredGridVisible(currentCanvasId, nextShow);
708
+ writeStoredGridVisible(currentCanvasId, nextShow, gridPersistNamespace);
690
709
  return {
691
710
  ...c,
692
711
  mapLayer: { ...c.mapLayer, showGrid: nextShow }
@@ -694,7 +713,7 @@ function useFloorMapEditState(params) {
694
713
  })
695
714
  };
696
715
  });
697
- }, [currentCanvasId]);
716
+ }, [currentCanvasId, gridPersistNamespace]);
698
717
  const handleEditPanelUpdate = (0, import_react.useCallback)(
699
718
  (patch) => {
700
719
  var _a2;
@@ -32,8 +32,8 @@ async function fetchShopFloorPlanByCodeResponse(http, trimmedCode, subscribe) {
32
32
  {},
33
33
  {
34
34
  fullResult: true,
35
- isShopApi: true,
36
35
  ...(subscribe == null ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? {
36
+ isShopApi: true,
37
37
  abort: true,
38
38
  osServer: subscribe.osServer !== false,
39
39
  subscriberId: subscribe.subscriberId,
@@ -49,8 +49,7 @@ function createShopFloorPlanClient(options) {
49
49
  async function postShopFloorPlan(body) {
50
50
  var _a;
51
51
  const res = await http.post("/shop/schedule/floor-plan", body, {
52
- fullResult: true,
53
- isShopApi: true
52
+ fullResult: true
54
53
  });
55
54
  const ok = (res == null ? void 0 : res.code) === 200 || (res == null ? void 0 : res.status) === true || ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.status) === true;
56
55
  if (ok) {
@@ -136,8 +135,7 @@ function createShopFloorPlanClient(options) {
136
135
  `/shop/schedule/floor-plan/${id}`,
137
136
  body,
138
137
  {
139
- fullResult: true,
140
- isShopApi: true
138
+ fullResult: true
141
139
  }
142
140
  );
143
141
  const ok = (res == null ? void 0 : res.code) === 200 || (res == null ? void 0 : res.status) === true || ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.status) === true;
@@ -238,7 +238,7 @@ var RecordBoardGridView = (props) => {
238
238
  }) : rawScrollX;
239
239
  if ((scroll == null ? void 0 : scroll.autoCalc) && typeof ctx.scrollAreaHeight === "number") {
240
240
  const wrapHeight = ctx.scrollAreaHeight;
241
- const reservedHeight = 40 + uniformSummaryHeight + 24;
241
+ const reservedHeight = 40 + (uniformSummaryHeight > 0 ? uniformSummaryHeight + 25 : 0);
242
242
  return {
243
243
  x: scrollX ?? sumColumnWidths,
244
244
  y: Math.max(wrapHeight - reservedHeight, 100),
@@ -45,15 +45,6 @@ var Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
45
45
  var _a, _b;
46
46
  const { total, origin_total, symbol, tip, num, discount_reason } = item;
47
47
  const weighingInfo = (_b = (_a = item == null ? void 0 : item._origin) == null ? void 0 : _a._extend) == null ? void 0 : _b.weighing;
48
- const formatFooterAmount = (amount, precision = 2) => {
49
- if (!weighingInfo) {
50
- return (0, import_utils._formatAmount)(amount, symbol, precision);
51
- }
52
- return (0, import_utils2.formatAmountWithOptions)(amount, symbol, {
53
- precision,
54
- hideDecimalForWholeNumbers: false
55
- });
56
- };
57
48
  const isDiscount = (0, import_react.useMemo)(() => {
58
49
  if (!origin_total) return false;
59
50
  return Number(total) != Number(origin_total);
@@ -88,13 +79,13 @@ var Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
88
79
  weighingInfo && `${import__.PREFIX}__footer-price-wrap--weighing`
89
80
  )
90
81
  },
91
- !isOnlyTotal ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)(`${import__.PREFIX}__footer-price`) }, /* @__PURE__ */ import_react.default.createElement("span", null, formatFooterAmount(total)), tip ? /* @__PURE__ */ import_react.default.createElement(import_antd2.Tooltip, { title: import_utils2.locales.getText(tip), destroyTooltipOnHide: true }, /* @__PURE__ */ import_react.default.createElement(
82
+ !isOnlyTotal ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)(`${import__.PREFIX}__footer-price`) }, /* @__PURE__ */ import_react.default.createElement("span", null, (0, import_utils._formatAmount)(total, symbol)), tip ? /* @__PURE__ */ import_react.default.createElement(import_antd2.Tooltip, { title: import_utils2.locales.getText(tip), destroyTooltipOnHide: true }, /* @__PURE__ */ import_react.default.createElement(
92
83
  import_icons.QuestionCircleOutlined,
93
84
  {
94
85
  style: { fontSize: "16px", color: "#1570ef" }
95
86
  }
96
87
  )) : null), /* @__PURE__ */ import_react.default.createElement("span", null, `×${num}`)) : null,
97
- /* @__PURE__ */ import_react.default.createElement("span", { className: `${import__.PREFIX}__footer-total` }, isDiscount ? /* @__PURE__ */ import_react.default.createElement("span", { className: `${import__.PREFIX}__footer-origin-total` }, formatFooterAmount(origin_total * num)) : null, /* @__PURE__ */ import_react.default.createElement("span", null, formatFooterAmount(total * num)))
88
+ /* @__PURE__ */ import_react.default.createElement("span", { className: `${import__.PREFIX}__footer-total` }, isDiscount ? /* @__PURE__ */ import_react.default.createElement("span", { className: `${import__.PREFIX}__footer-origin-total` }, (0, import_utils._formatAmount)(origin_total * num, symbol, 2)) : null, /* @__PURE__ */ import_react.default.createElement("span", null, (0, import_utils._formatAmount)(total * num, symbol)))
98
89
  )
99
90
  ), renderDiscountReason());
100
91
  };
@@ -23,9 +23,8 @@
23
23
  }
24
24
 
25
25
  &__footer-price-wrap--weighing {
26
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
27
- line-height: 1.3;
28
- letter-spacing: -0.02em;
26
+ font-size: 14px;
27
+ line-height: 20px;
29
28
  }
30
29
 
31
30
  &__footer-discount {
@@ -89,30 +89,18 @@ var BasicInfo = (props) => {
89
89
  weighingInfo && (Number.isFinite(Number(weighingInfo == null ? void 0 : weighingInfo.weight)) || Number.isFinite(Number(weighingInfo == null ? void 0 : weighingInfo.net_weight)))
90
90
  );
91
91
  const hasProductMeta = hasSpecs || hasWeighingInfo;
92
- const basicInfoClassName = (0, import_classnames.default)(`${import__.PREFIX}__basic-info`, {
93
- [`${import__.PREFIX}__basic-info--weighing`]: hasWeighingInfo
94
- });
95
92
  const renderProductMeta = () => {
96
93
  if (!hasProductMeta) {
97
94
  return null;
98
95
  }
99
- return /* @__PURE__ */ import_react.default.createElement(
100
- "div",
96
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, hasWeighingInfo ? /* @__PURE__ */ import_react.default.createElement(import_weighing.default, { dataSource: weighingInfo, symbol }) : null, hasSpecs ? /* @__PURE__ */ import_react.default.createElement(
97
+ import_specs.default,
101
98
  {
102
- className: (0, import_classnames.default)(`${import__.PREFIX}__product-meta`, {
103
- [`${import__.PREFIX}__product-meta--weighing`]: hasWeighingInfo
104
- })
105
- },
106
- hasWeighingInfo ? /* @__PURE__ */ import_react.default.createElement(import_weighing.default, { dataSource: weighingInfo, symbol }) : null,
107
- hasSpecs ? /* @__PURE__ */ import_react.default.createElement(
108
- import_specs.default,
109
- {
110
- dataSource,
111
- maxSpecsCount,
112
- type
113
- }
114
- ) : null
115
- );
99
+ dataSource,
100
+ maxSpecsCount,
101
+ type
102
+ }
103
+ ) : null);
116
104
  };
117
105
  const renderProductPrice = () => {
118
106
  if (weighingInfo) {
@@ -147,7 +135,7 @@ var BasicInfo = (props) => {
147
135
  return _originalTotal !== 0 && _originalTotal != _total;
148
136
  }, [isShowOriginalPrice, origin_total, total, hasSpecs, hasWeighingInfo]);
149
137
  if (type === "a5") {
150
- return /* @__PURE__ */ import_react.default.createElement("div", { className: basicInfoClassName, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info product-info-a5` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info-wrap` }, /* @__PURE__ */ import_react.default.createElement(
138
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info product-info-a5` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info-wrap` }, /* @__PURE__ */ import_react.default.createElement(
151
139
  "div",
152
140
  {
153
141
  className: `product-name ${renderEdit ? "product-name-edit" : ""}`
@@ -158,7 +146,7 @@ var BasicInfo = (props) => {
158
146
  if (type === "a9") {
159
147
  const showAmount = isBundle && !showFooter;
160
148
  const _price = showAmount ? Number(price ?? 0) * num : price;
161
- return /* @__PURE__ */ import_react.default.createElement("div", { className: basicInfoClassName, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info product-info-a9` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info-wrap` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info ${isBundle ? "row" : ""}` }, /* @__PURE__ */ import_react.default.createElement(
149
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info product-info-a9` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info-wrap` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info ${isBundle ? "row" : ""}` }, /* @__PURE__ */ import_react.default.createElement(
162
150
  "div",
163
151
  {
164
152
  className: `product-name ${renderEdit ? "product-name-edit" : ""}`
@@ -166,6 +154,6 @@ var BasicInfo = (props) => {
166
154
  name
167
155
  ), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, /* @__PURE__ */ import_react.default.createElement("span", null, renderProductPrice()), _isShowOriginalPrice ? /* @__PURE__ */ import_react.default.createElement("span", { className: `original-price` }, (0, import_utils.formatAmount)(origin_total, 2, symbol)) : null)), renderProductMeta()), renderEdit));
168
156
  }
169
- return /* @__PURE__ */ import_react.default.createElement("div", { className: basicInfoClassName, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasProductMeta ? renderProductMeta() : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, renderProductPrice())), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num - (totalDifference ?? 0), 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
157
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasProductMeta ? renderProductMeta() : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, renderProductPrice())), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num - (totalDifference ?? 0), 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
170
158
  };
171
159
  var basicInfo_default = BasicInfo;
@@ -151,14 +151,6 @@
151
151
  }
152
152
  }
153
153
 
154
- &--weighing {
155
- .product-info .product-name {
156
- font-size: 18px;
157
- line-height: 1.3;
158
- letter-spacing: -0.01em;
159
- }
160
- }
161
-
162
154
  .product-info-a9, .product-info-a5 {
163
155
  display: flex;
164
156
  justify-content: space-between;
@@ -15,6 +15,10 @@
15
15
  overflow: hidden;
16
16
  text-overflow: ellipsis;
17
17
  margin: 0;
18
+
19
+ .resource-icon {
20
+ margin-right: 2px;
21
+ }
18
22
  }
19
23
 
20
24
  &--title {
@@ -40,7 +40,17 @@ var import_options = __toESM(require("../../../components/Packages/components/op
40
40
  var Specs = (props) => {
41
41
  const { dataSource = {}, maxSpecsCount = 1, type } = props;
42
42
  const { bundle, options, product_option_string, symbol } = dataSource;
43
- const more = /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs-more` }, import_utils.locales.getText("pisell2.cart.sku-card.more"));
43
+ const more = /* @__PURE__ */ import_react.default.createElement(
44
+ "div",
45
+ {
46
+ style: {
47
+ color: "#667085",
48
+ fontSize: 10,
49
+ lineHeight: "10px"
50
+ }
51
+ },
52
+ import_utils.locales.getText("pisell2.cart.sku-card.more")
53
+ );
44
54
  const renderOptionString = () => {
45
55
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, /* @__PURE__ */ import_react.default.createElement("div", null, product_option_string));
46
56
  };
@@ -8,13 +8,6 @@
8
8
  word-wrap: break-word;
9
9
  overflow: hidden;
10
10
 
11
- &-more {
12
- color: #667085;
13
- font-size: 10px;
14
- line-height: 10px;
15
- letter-spacing: normal;
16
- }
17
-
18
11
  > div {
19
12
  overflow: hidden;
20
13
  text-overflow: ellipsis;
@@ -44,26 +37,9 @@
44
37
  display: flex;
45
38
  flex-direction: column;
46
39
  width: 100%;
47
-
48
- .pisell-cart-sku-card__product-meta--weighing & {
49
- .pisell-lowcode-packages-product-bundle-option {
50
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
51
- line-height: 1.3;
52
- letter-spacing: -0.04em;
53
- }
54
- }
55
-
56
40
  .option-string-wrap {
57
41
  .pisell-cart-sku-card__specs > div {
58
42
  white-space: normal;
59
43
  }
60
44
  }
61
45
  }
62
-
63
- .pisell-cart-sku-card__product-meta--weighing {
64
- .pisell-cart-sku-card__specs {
65
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm);
66
- line-height: 1.3;
67
- letter-spacing: -0.04em;
68
- }
69
- }
@@ -69,10 +69,6 @@ var Weighing = (props) => {
69
69
  const netLabel = import_utils.locales.getText("pisell2.cart.sku-card.weighing.net");
70
70
  const unitPriceText = `${symbol || ""}${unit_price ?? "0.00"}`;
71
71
  const manualPrefix = isManualWeight ? "(M) " : "";
72
- const netWeightText = `${tareValue > 0 ? "" : manualPrefix}${formatWeight(
73
- net_weight,
74
- unit
75
- )} ${netLabel}`;
76
72
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing` }, tareValue > 0 ? /* @__PURE__ */ import_react.default.createElement(
77
73
  "div",
78
74
  {
@@ -96,8 +92,10 @@ var Weighing = (props) => {
96
92
  {
97
93
  className: `${import__.PREFIX}__weighing-row ${import__.PREFIX}__weighing-row--large`
98
94
  },
99
- /* @__PURE__ */ import_react.default.createElement("span", null, netWeightText),
100
- /* @__PURE__ */ import_react.default.createElement("span", { className: `${import__.PREFIX}__weighing-unit-price` }, `@ ${unitPriceText}/${unitLabel}`)
95
+ /* @__PURE__ */ import_react.default.createElement("span", null, `${tareValue > 0 ? "" : manualPrefix}${formatWeight(
96
+ net_weight,
97
+ unit
98
+ )} ${netLabel} @ ${unitPriceText}/${unitLabel}`)
101
99
  ));
102
100
  };
103
101
  var weighing_default = Weighing;
@@ -23,13 +23,10 @@
23
23
  }
24
24
 
25
25
  &--large {
26
- font-size: var(--pisell-cart-sku-card-physical-text-height, 4mm) !important;
27
- line-height: 1.3;
28
- letter-spacing: -0.04em;
26
+ font-size: 14px;
27
+ line-height: 20px;
29
28
  align-items: flex-start;
30
29
  flex-wrap: wrap;
31
- column-gap: 2px;
32
- row-gap: 0;
33
30
  overflow: visible;
34
31
  white-space: normal;
35
32
  text-overflow: clip;
@@ -43,9 +40,4 @@
43
40
  }
44
41
  }
45
42
  }
46
-
47
- &-unit-price {
48
- flex-shrink: 0;
49
- white-space: nowrap !important;
50
- }
51
43
  }
@@ -5,8 +5,6 @@
5
5
  }
6
6
 
7
7
  .pisell-cart-sku-card {
8
- --pisell-cart-sku-card-physical-text-height: 30px;
9
-
10
8
  padding: 4px 8px 4px 4px;
11
9
  border-radius: inherit;
12
10
  user-select: none;