@pisell/materials 6.11.107 → 6.11.109

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 (304) 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/Pagination/index.d.ts +0 -1
  12. package/es/components/PisellTabbar/constants.d.ts +47 -0
  13. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  14. package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  15. package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  16. package/es/components/PisellTabbar/types.d.ts +90 -0
  17. package/es/components/PisellTabbar/utils/index.d.ts +69 -0
  18. package/es/components/SafeAreaTop/index.d.ts +5 -0
  19. package/es/components/SafeAreaTop/types.d.ts +9 -0
  20. package/es/components/appVersionControl/index.d.ts +0 -1
  21. package/es/components/buttonGroupPreview/index.js +2 -1
  22. package/es/components/cardPro/index.d.ts +3 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  25. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  31. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  32. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  33. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  34. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  35. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  36. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  37. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  38. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  39. package/es/components/filter/components/Dropdown/types.d.ts +15 -0
  40. package/es/components/filter/components/FilterButton/types.d.ts +29 -0
  41. package/es/components/filter/types.d.ts +52 -0
  42. package/es/components/iconfont/index.d.ts +8 -0
  43. package/es/components/page/index.d.ts +0 -1
  44. package/es/components/pisell-config-provider/context.d.ts +22 -0
  45. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  46. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  47. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  48. package/es/components/pisellFilter/index.d.ts +0 -1
  49. package/es/components/pisellFilter/type.d.ts +7 -0
  50. package/es/components/pisellFind/index.d.ts +34 -12
  51. package/es/components/pisellFind/index.js +114 -18
  52. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  53. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +6 -0
  54. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +24 -18
  55. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +4 -6
  56. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  57. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  58. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  59. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  60. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  61. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  62. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  63. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  64. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  65. package/es/components/pisellInput/index.d.ts +0 -1
  66. package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
  67. package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
  68. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  69. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +4 -2
  70. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  71. package/es/components/pisellShellFrame/types.d.ts +62 -0
  72. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  73. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  74. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  75. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  76. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +3 -14
  77. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  78. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  79. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  80. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  81. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  82. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  83. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
  84. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -11
  85. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  86. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  87. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  88. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  89. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  90. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  91. package/es/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  92. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  93. package/es/components/productCard/cartSkuCard/components/specs/index.js +5 -1
  94. package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  95. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  96. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  97. package/es/components/productCard/cartSkuCard/components/weighing/index.js +1 -4
  98. package/es/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  99. package/es/components/productCard/cartSkuCard/index.less +0 -2
  100. package/es/components/productCard/cartSkuCard/locales.d.ts +203 -0
  101. package/es/components/productCard/components/Action/index.d.ts +3 -0
  102. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  103. package/es/components/productCard/components/Header/index.d.ts +0 -1
  104. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  105. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  106. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  107. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  108. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  109. package/es/components/productCard/lineItem/BookingLineItem.d.ts +3 -1
  110. package/es/components/productCard/lineItem/BookingLineItem.js +39 -21
  111. package/es/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
  112. package/es/components/productCard/lineItem/components/Holders/index.js +74 -0
  113. package/es/components/productCard/lineItem/components/Holders/index.less +39 -0
  114. package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -1
  115. package/es/components/productCard/lineItem/index.d.ts +11 -7
  116. package/es/components/productCard/lineItem/index.js +89 -27
  117. package/es/components/productCard/lineItem/index.less +40 -3
  118. package/es/components/productCard/lineItem/locales.d.ts +23 -0
  119. package/es/components/productCard/lineItem/types.d.ts +4 -0
  120. package/es/components/productCard/locales.d.ts +138 -0
  121. package/es/components/productCard/types.d.ts +1 -0
  122. package/es/components/select/index.d.ts +9 -0
  123. package/es/components/select-time/index.d.ts +0 -1
  124. package/es/components/table/BasicTable/index.d.ts +0 -1
  125. package/es/components/table/Table/utils.d.ts +1 -1
  126. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  127. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  128. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  129. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  130. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  131. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  132. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  133. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  134. package/es/hooks/useResponsive.d.ts +1 -1
  135. package/es/locales/en-US.d.ts +565 -0
  136. package/es/locales/ja.d.ts +533 -0
  137. package/es/locales/pt.d.ts +533 -0
  138. package/es/locales/zh-CN.d.ts +560 -0
  139. package/es/locales/zh-TW.d.ts +560 -0
  140. package/lib/components/Pagination/index.d.ts +0 -1
  141. package/lib/components/PisellTabbar/constants.d.ts +47 -0
  142. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  143. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  144. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  145. package/lib/components/PisellTabbar/types.d.ts +90 -0
  146. package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
  147. package/lib/components/SafeAreaTop/index.d.ts +5 -0
  148. package/lib/components/SafeAreaTop/types.d.ts +9 -0
  149. package/lib/components/appVersionControl/index.d.ts +0 -1
  150. package/lib/components/buttonGroupPreview/index.js +2 -1
  151. package/lib/components/cardPro/index.d.ts +3 -0
  152. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  153. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  154. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  155. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  156. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  157. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  158. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  159. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  160. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  161. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  162. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  163. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  164. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  165. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  166. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  167. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  168. package/lib/components/filter/components/Dropdown/types.d.ts +15 -0
  169. package/lib/components/filter/components/FilterButton/types.d.ts +29 -0
  170. package/lib/components/filter/types.d.ts +52 -0
  171. package/lib/components/iconfont/index.d.ts +8 -0
  172. package/lib/components/page/index.d.ts +0 -1
  173. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  174. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  175. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  176. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  177. package/lib/components/pisellFilter/index.d.ts +0 -1
  178. package/lib/components/pisellFilter/type.d.ts +7 -0
  179. package/lib/components/pisellFind/index.d.ts +34 -12
  180. package/lib/components/pisellFind/index.js +80 -5
  181. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  182. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +6 -0
  183. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +36 -17
  184. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +3 -5
  185. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  186. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  187. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  188. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  189. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  190. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  191. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  192. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  193. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  194. package/lib/components/pisellInput/index.d.ts +0 -1
  195. package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
  196. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
  197. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  198. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -1
  199. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  200. package/lib/components/pisellShellFrame/types.d.ts +62 -0
  201. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  202. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  203. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  204. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  205. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -11
  206. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  207. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  208. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  209. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  210. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  211. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  212. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
  213. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +10 -22
  214. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  215. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  216. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  217. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  218. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  219. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  220. package/lib/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  221. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  222. package/lib/components/productCard/cartSkuCard/components/specs/index.js +11 -1
  223. package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  224. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  225. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  226. package/lib/components/productCard/cartSkuCard/components/weighing/index.js +4 -6
  227. package/lib/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  228. package/lib/components/productCard/cartSkuCard/index.less +0 -2
  229. package/lib/components/productCard/cartSkuCard/locales.d.ts +203 -0
  230. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  231. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  232. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  233. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  234. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  235. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  236. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  237. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  238. package/lib/components/productCard/lineItem/BookingLineItem.d.ts +3 -1
  239. package/lib/components/productCard/lineItem/BookingLineItem.js +40 -48
  240. package/lib/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
  241. package/lib/components/productCard/lineItem/components/Holders/index.js +83 -0
  242. package/lib/components/productCard/lineItem/components/Holders/index.less +39 -0
  243. package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -1
  244. package/lib/components/productCard/lineItem/index.d.ts +11 -7
  245. package/lib/components/productCard/lineItem/index.js +63 -21
  246. package/lib/components/productCard/lineItem/index.less +40 -3
  247. package/lib/components/productCard/lineItem/locales.d.ts +23 -0
  248. package/lib/components/productCard/lineItem/types.d.ts +4 -0
  249. package/lib/components/productCard/locales.d.ts +138 -0
  250. package/lib/components/productCard/types.d.ts +1 -0
  251. package/lib/components/select/index.d.ts +9 -0
  252. package/lib/components/select-time/index.d.ts +0 -1
  253. package/lib/components/table/BasicTable/index.d.ts +0 -1
  254. package/lib/components/table/Table/utils.d.ts +1 -1
  255. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  256. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  257. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  258. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  259. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  260. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  261. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  262. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  263. package/lib/hooks/useResponsive.d.ts +1 -1
  264. package/lib/locales/en-US.d.ts +565 -0
  265. package/lib/locales/ja.d.ts +533 -0
  266. package/lib/locales/pt.d.ts +533 -0
  267. package/lib/locales/zh-CN.d.ts +560 -0
  268. package/lib/locales/zh-TW.d.ts +560 -0
  269. package/lowcode/pisell-find/meta.ts +19 -0
  270. package/package.json +1 -1
  271. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  272. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  273. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  274. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  275. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  276. package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  277. package/es/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  278. package/es/components/PisellScrollView/types.d.ts +0 -203
  279. package/es/components/drag-sort-tree/index.d.ts +0 -4
  280. package/es/components/login-and-register/index.d.ts +0 -82
  281. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  282. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  283. package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  284. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  285. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  286. package/es/components/pisellGridPro/index.d.ts +0 -4
  287. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  288. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  289. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  290. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  291. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  292. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  293. package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  294. package/lib/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  295. package/lib/components/PisellScrollView/types.d.ts +0 -203
  296. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  297. package/lib/components/login-and-register/index.d.ts +0 -82
  298. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  299. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  300. package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  301. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  302. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  303. package/lib/components/pisellGridPro/index.d.ts +0 -4
  304. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
@@ -0,0 +1,83 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/productCard/lineItem/components/Holders/index.tsx
30
+ var Holders_exports = {};
31
+ __export(Holders_exports, {
32
+ default: () => Holders_default
33
+ });
34
+ module.exports = __toCommonJS(Holders_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_utils = require("@pisell/utils");
37
+ var import_iconfont = __toESM(require("../../../../iconfont"));
38
+ var import_index = require("./index.less");
39
+ var PREFIX = "pisell-line-item";
40
+ var holderIconMap = {
41
+ form: "pisell2-file-05",
42
+ minors: "pisell2-user-check-01",
43
+ waiver: "pisell2-file-lock-03"
44
+ };
45
+ var isEmptyHolderId = (value) => {
46
+ if (Array.isArray(value)) return value.length === 0;
47
+ return value === void 0 || value === null || value === "";
48
+ };
49
+ var normalizeHolderIds = (value) => {
50
+ if (isEmptyHolderId(value)) return [];
51
+ return Array.isArray(value) ? value : [value];
52
+ };
53
+ var pickHolderId = (dataSource) => {
54
+ var _a, _b, _c, _d, _e, _f, _g;
55
+ return (dataSource == null ? void 0 : dataSource.holder_id) ?? ((_a = dataSource == null ? void 0 : dataSource.metadata) == null ? void 0 : _a.holder_id) ?? ((_d = (_c = (_b = dataSource == null ? void 0 : dataSource._extend) == null ? void 0 : _b.product) == null ? void 0 : _c.metadata) == null ? void 0 : _d.holder_id) ?? ((_g = (_f = (_e = dataSource == null ? void 0 : dataSource._extend) == null ? void 0 : _e.product) == null ? void 0 : _f._extend) == null ? void 0 : _g.holder_id);
56
+ };
57
+ var pickHolderMaxCount = (dataSource, holderIds) => {
58
+ var _a, _b, _c, _d, _e, _f, _g;
59
+ const count = ((dataSource == null ? void 0 : dataSource.holderMaxCount) ?? (dataSource == null ? void 0 : dataSource.holder_max_count) ?? (dataSource == null ? void 0 : dataSource.number) ?? ((_b = (_a = dataSource == null ? void 0 : dataSource._extend) == null ? void 0 : _a.product) == null ? void 0 : _b.num) ?? ((_d = (_c = dataSource == null ? void 0 : dataSource._extend) == null ? void 0 : _c.product) == null ? void 0 : _d.product_quantity) ?? ((_g = (_f = (_e = dataSource == null ? void 0 : dataSource._extend) == null ? void 0 : _e.product) == null ? void 0 : _f._extend) == null ? void 0 : _g.quantity) ?? holderIds.length) || 1;
60
+ return Number(count) || 1;
61
+ };
62
+ var LineItemHolders = (props) => {
63
+ const { dataSource = {}, holderOptions = [], isFormSubject } = props;
64
+ const holderIds = (0, import_react.useMemo)(
65
+ () => normalizeHolderIds(pickHolderId(dataSource)),
66
+ [dataSource]
67
+ );
68
+ const holderMaxCount = pickHolderMaxCount(dataSource, holderIds);
69
+ const showUnassigned = Boolean(isFormSubject || (dataSource == null ? void 0 : dataSource.isFormSubject));
70
+ const holderType = (dataSource == null ? void 0 : dataSource.holderType) || (dataSource == null ? void 0 : dataSource.holder_type) || "minors";
71
+ const holderIcon = holderIconMap[holderType] || holderIconMap.minors;
72
+ if (!holderIds.length) {
73
+ if (!showUnassigned) return null;
74
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__holders` }, /* @__PURE__ */ import_react.default.createElement("div", { className: "holder-item unassigned" }, holderMaxCount > 1 ? /* @__PURE__ */ import_react.default.createElement("span", null, holderMaxCount, "/", holderMaxCount, " ") : null, /* @__PURE__ */ import_react.default.createElement("span", { className: "holder-label" }, import_utils.locales.getText("pisell2.cart.sku-card.unassigned"))));
75
+ }
76
+ const renderHolder = (id, index) => {
77
+ const holder = holderOptions.find((item) => String(item.id) === String(id));
78
+ const label = (holder == null ? void 0 : holder.label) ?? String(id);
79
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "holder-item", key: `${id}-${index}` }, /* @__PURE__ */ import_react.default.createElement("span", { className: "holder-icon" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: holderIcon })), /* @__PURE__ */ import_react.default.createElement("span", { className: "holder-label" }, label));
80
+ };
81
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__holders` }, holderIds.map((id, index) => renderHolder(id, index)));
82
+ };
83
+ var Holders_default = LineItemHolders;
@@ -0,0 +1,39 @@
1
+ .pisell-line-item__holders {
2
+ user-select: none;
3
+ display: flex;
4
+ gap: 16px;
5
+ overflow: hidden;
6
+
7
+ .holder-item {
8
+ min-width: 30px;
9
+ display: flex;
10
+ align-items: center;
11
+ overflow: hidden;
12
+ white-space: nowrap;
13
+
14
+ .holder-icon {
15
+ margin-right: 2px;
16
+ color: #7f56da;
17
+ font-size: 16px;
18
+ }
19
+
20
+ .holder-label {
21
+ display: inline-block;
22
+ overflow: hidden;
23
+ color: #667085;
24
+ font-size: 14px;
25
+ font-weight: 500;
26
+ line-height: 20px;
27
+ text-overflow: ellipsis;
28
+ white-space: nowrap;
29
+ }
30
+ }
31
+
32
+ .unassigned {
33
+ color: red;
34
+
35
+ .holder-label {
36
+ color: red;
37
+ }
38
+ }
39
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'dayjs/locale/zh-cn';
3
2
  import 'dayjs/locale/en';
4
3
  import 'dayjs/locale/zh-tw';
@@ -1,19 +1,21 @@
1
1
  import type { ProductCardTypes } from '../types';
2
- import type { itemType, LineItemStatusOption, LineItemType } from './types';
2
+ import type { itemType, LineItemHolderOption, LineItemStatusOption, LineItemType } from './types';
3
3
  import './index.less';
4
4
  export declare const PREFIX = "pisell-line-item";
5
- export type { itemType, LineItemStatusOption, LineItemType } from './types';
5
+ export type { itemType, LineItemHolderOption, LineItemStatusOption, LineItemType, } from './types';
6
6
  declare type LocalizedText = string | Record<string, unknown> | null | undefined;
7
7
  export interface LineItemProps extends Omit<ProductCardTypes, 'dataSource'> {
8
8
  dataSource: any;
9
9
  itemType?: itemType;
10
10
  type?: LineItemType;
11
+ isShowBookingHeader: boolean;
11
12
  rightActions?: any[];
12
13
  escapeDom?: string;
13
14
  statusOptions?: LineItemStatusOption[];
14
15
  statusLoading?: boolean;
15
16
  statusDisabled?: boolean;
16
17
  isShowRelatedProduct?: boolean;
18
+ holderOptions?: LineItemHolderOption[];
17
19
  onBookingStatusChange?: (status: string, item: any) => void;
18
20
  }
19
21
  export declare const convertProductToLineItemProduct: (product: any, translationOriginal: (text: LocalizedText) => string, symbol: string) => {
@@ -30,8 +32,8 @@ export declare const convertProductToLineItemProduct: (product: any, translation
30
32
  quantity: any;
31
33
  price: any;
32
34
  total: any;
33
- origin_total: any;
34
- original_total: any;
35
+ origin_total: string | number | undefined;
36
+ original_total: string | number | undefined;
35
37
  source_product_price: any;
36
38
  selling_price: any;
37
39
  payment_price: any;
@@ -41,23 +43,25 @@ export declare const convertProductToLineItemProduct: (product: any, translation
41
43
  product_sku: any;
42
44
  product_bundle: any;
43
45
  bundle: any;
44
- product_option_string: string;
46
+ product_option_string: any;
47
+ options: any[];
45
48
  discount_list: any;
46
49
  promotions: any;
50
+ discount_reason: any;
47
51
  isGift: boolean;
48
52
  giftData: any;
49
53
  _origin: any;
50
54
  _extend: {
51
55
  other: {
52
56
  product_id: any;
53
- option: any;
57
+ option: any[];
54
58
  bundle: any;
55
59
  product_variant_id: any;
56
60
  quantity: any;
57
61
  };
58
62
  note: any;
59
63
  total: any;
60
- origin_total: any;
64
+ origin_total: string | number | undefined;
61
65
  payment_price: any;
62
66
  };
63
67
  };
@@ -55,10 +55,27 @@ var translateText = (text, translationOriginal) => {
55
55
  if (!text) return "";
56
56
  return translationOriginal(text);
57
57
  };
58
+ var resolveLineOriginTotal = (product) => {
59
+ var _a, _b, _c, _d;
60
+ const candidates = [
61
+ product == null ? void 0 : product.original_total,
62
+ product == null ? void 0 : product.original_price,
63
+ (_a = product == null ? void 0 : product._extend) == null ? void 0 : _a.origin_total,
64
+ (_d = (_c = (_b = product == null ? void 0 : product.metadata) == null ? void 0 : _b.origin) == null ? void 0 : _c._extend) == null ? void 0 : _d.origin_total
65
+ ];
66
+ for (const candidate of candidates) {
67
+ if (candidate !== void 0 && candidate !== null && candidate !== "") {
68
+ return candidate;
69
+ }
70
+ }
71
+ return void 0;
72
+ };
58
73
  var convertBundleOption = (option, translationOriginal) => ({
59
74
  ...option,
60
75
  id: option.option_group_item_id,
61
- name: translateText(option.name, translationOriginal)
76
+ name: translateText(option.name, translationOriginal),
77
+ price: option.add_price ?? option.price,
78
+ num: option.num ?? option.quantity ?? 1
62
79
  });
63
80
  var convertBundle = (bundle, translationOriginal) => {
64
81
  const title = translateText(bundle.bundle_title, translationOriginal);
@@ -72,15 +89,8 @@ var convertBundle = (bundle, translationOriginal) => {
72
89
  product_id: bundle.bundle_product_id,
73
90
  _bundle_product_id: bundle.bundle_product_id,
74
91
  product_variant_id: bundle.bundle_variant_id,
75
- title,
76
- name: title,
77
- bundle_title: title,
78
- num: bundle.num,
79
- quantity: bundle.num,
80
- price,
81
- total: bundle.bundle_payment_price,
82
- origin_total: bundle.bundle_selling_price,
83
- original_total: bundle.bundle_selling_price,
92
+ total: bundle.bundle_selling_price,
93
+ origin_total: bundle.original_total,
84
94
  custom_price: bundle.custom_price,
85
95
  custom_price_type: bundle.custom_price_type,
86
96
  custom_price_type_ext: bundle.price_type_ext,
@@ -89,13 +99,35 @@ var convertBundle = (bundle, translationOriginal) => {
89
99
  _origin: bundle
90
100
  };
91
101
  };
102
+ var resolveLineItemOptions = (product) => {
103
+ var _a;
104
+ const skuOptions = (_a = product == null ? void 0 : product.product_sku) == null ? void 0 : _a.option;
105
+ if (Array.isArray(skuOptions) && skuOptions.length > 0) {
106
+ return skuOptions;
107
+ }
108
+ if (Array.isArray(product == null ? void 0 : product.product_option_item)) {
109
+ return product.product_option_item;
110
+ }
111
+ return [];
112
+ };
113
+ var mapLineItemOptions = (options, translationOriginal) => options.map((option) => ({
114
+ ...option,
115
+ name: translateText(option.name ?? option.title, translationOriginal),
116
+ price: option.add_price ?? option.price,
117
+ num: option.num ?? option.quantity ?? 1
118
+ }));
92
119
  var convertProductToLineItemProduct = (product, translationOriginal, symbol) => {
93
- var _a, _b, _c, _d;
120
+ var _a, _b, _c, _d, _e, _f, _g, _h;
94
121
  const title = translateText(product.product_title || product.title, translationOriginal);
95
122
  const bundle = (product.product_bundle || []).map(
96
123
  (bundleItem) => convertBundle(bundleItem, translationOriginal)
97
124
  );
98
- return {
125
+ const lineOriginTotal = resolveLineOriginTotal(product);
126
+ const lineOptions = mapLineItemOptions(
127
+ resolveLineItemOptions(product),
128
+ translationOriginal
129
+ );
130
+ const mapped = {
99
131
  _id: ((_a = product.metadata) == null ? void 0 : _a.unique_identification_number) || product.order_detail_id || product.product_id,
100
132
  id: product.product_id,
101
133
  product_id: product.product_id,
@@ -107,10 +139,10 @@ var convertProductToLineItemProduct = (product, translationOriginal, symbol) =>
107
139
  image: product.cover,
108
140
  num: product.num ?? product.product_quantity ?? 1,
109
141
  quantity: product.num ?? product.product_quantity ?? 1,
110
- price: ((_b = product.metadata) == null ? void 0 : _b.source_product_price) ?? product.selling_price,
111
- total: product.payment_price ?? product.selling_price,
112
- origin_total: product.original_price,
113
- original_total: product.original_price,
142
+ price: (_b = product.metadata) == null ? void 0 : _b.source_product_price,
143
+ total: product.selling_price,
144
+ origin_total: lineOriginTotal,
145
+ original_total: lineOriginTotal,
114
146
  source_product_price: (_c = product.metadata) == null ? void 0 : _c.source_product_price,
115
147
  selling_price: product.selling_price,
116
148
  payment_price: product.payment_price,
@@ -120,26 +152,32 @@ var convertProductToLineItemProduct = (product, translationOriginal, symbol) =>
120
152
  product_sku: product.product_sku,
121
153
  product_bundle: bundle,
122
154
  bundle,
123
- product_option_string: product.product_sku ? translateText(product.product_sku.subtitle, translationOriginal) : "",
155
+ product_option_string: product.product_option_string,
156
+ options: lineOptions,
124
157
  discount_list: product.discount_list,
125
158
  promotions: product.promotions,
126
- isGift: Boolean(product.gift_card),
159
+ discount_reason: ((_f = (_e = (_d = product.discount_list) == null ? void 0 : _d.find((d) => (d == null ? void 0 : d.type) === "product")) == null ? void 0 : _e.discount) == null ? void 0 : _f.message) ?? ((_g = product.metadata) == null ? void 0 : _g.product_discount_reason),
160
+ // 促销赠品走 metadata._giftInfo;礼品卡走 gift_card(对齐 legacy formatProducts isGift)
161
+ isGift: Boolean(
162
+ product.gift_card || product.isGift || product._isGiftPromotion || ((_h = product.metadata) == null ? void 0 : _h._giftInfo) || product._giftInfo
163
+ ),
127
164
  giftData: product.giftData,
128
165
  _origin: product,
129
166
  _extend: {
130
167
  other: {
131
168
  product_id: product.product_id,
132
- option: (_d = product.product_sku) == null ? void 0 : _d.option,
169
+ option: lineOptions,
133
170
  bundle: product.product_bundle,
134
171
  product_variant_id: product.product_variant_id,
135
172
  quantity: product.num ?? product.product_quantity ?? 1
136
173
  },
137
174
  note: product.note,
138
- total: product.payment_price,
139
- origin_total: product.original_price,
175
+ total: product.selling_price,
176
+ origin_total: lineOriginTotal,
140
177
  payment_price: product.payment_price
141
178
  }
142
179
  };
180
+ return mapped;
143
181
  };
144
182
  var LineItem = (props) => {
145
183
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -147,6 +185,7 @@ var LineItem = (props) => {
147
185
  dataSource = import_status.defaultValue.dataSource,
148
186
  itemType,
149
187
  type = "a9",
188
+ isShowBookingHeader,
150
189
  rightActions = [],
151
190
  escapeDom,
152
191
  isShowImage = import_status.defaultValue.isShowImage,
@@ -159,6 +198,7 @@ var LineItem = (props) => {
159
198
  statusLoading = false,
160
199
  statusDisabled = false,
161
200
  isShowRelatedProduct = true,
201
+ holderOptions,
162
202
  onBookingStatusChange,
163
203
  onAction,
164
204
  onDelete,
@@ -221,6 +261,7 @@ var LineItem = (props) => {
221
261
  dataSource,
222
262
  type,
223
263
  cartSkuType: type,
264
+ isShowBookingHeader,
224
265
  relatedProductDataSource,
225
266
  rightActions,
226
267
  escapeDom,
@@ -234,6 +275,7 @@ var LineItem = (props) => {
234
275
  statusLoading,
235
276
  statusDisabled,
236
277
  isShowRelatedProduct,
278
+ holderOptions,
237
279
  onBookingStatusChange,
238
280
  onAction,
239
281
  onDelete,
@@ -18,10 +18,10 @@
18
18
  &__delete-btn {
19
19
  width: 34px;
20
20
  height: 34px;
21
- border: 1px solid rgba(255, 255, 255, 0.35);
21
+ border: 1px solid var(--Gray-300, #d0d5dd);
22
22
  border-radius: 8px;
23
- background: rgba(255, 255, 255, 0.12);
24
- color: #fff;
23
+ background: var(--Gray-100, #f2f4f7);
24
+ color: var(--Gray-500, #667085);
25
25
  cursor: pointer;
26
26
  padding: 0;
27
27
  display: inline-flex;
@@ -33,6 +33,21 @@
33
33
  color: currentColor;
34
34
  font-size: 20px;
35
35
  }
36
+
37
+ &--inline {
38
+ width: auto;
39
+ height: auto;
40
+ border: none;
41
+ border-radius: 0;
42
+ background: transparent;
43
+ color: #667085;
44
+ padding: 10px;
45
+
46
+ > span {
47
+ color: currentColor;
48
+ font-size: 20px;
49
+ }
50
+ }
36
51
  }
37
52
 
38
53
  &__swipe-delete {
@@ -148,6 +163,28 @@
148
163
  padding: 8px;
149
164
  }
150
165
 
166
+ &__booking-detail--with-delete {
167
+ position: relative;
168
+
169
+ .pisell-line-item__booking-detail-content {
170
+ padding-right: 40px;
171
+ }
172
+
173
+ .pisell-line-item__delete-btn--inline {
174
+ position: absolute;
175
+ top: 0;
176
+ right: 0;
177
+ }
178
+ }
179
+
180
+ &__booking-detail-content {
181
+ min-width: 0;
182
+ flex: 1;
183
+ display: flex;
184
+ flex-direction: column;
185
+ gap: 4px;
186
+ }
187
+
151
188
  &__booking-field {
152
189
  min-width: 0;
153
190
  }
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.line-item.resource': string;
4
+ 'pisell2.line-item.time': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell2.line-item.resource': string;
8
+ 'pisell2.line-item.time': string;
9
+ };
10
+ 'zh-HK': {
11
+ 'pisell2.line-item.resource': string;
12
+ 'pisell2.line-item.time': string;
13
+ };
14
+ ja: {
15
+ 'pisell2.line-item.resource': string;
16
+ 'pisell2.line-item.time': string;
17
+ };
18
+ pt: {
19
+ 'pisell2.line-item.resource': string;
20
+ 'pisell2.line-item.time': string;
21
+ };
22
+ };
23
+ export default _default;
@@ -7,3 +7,7 @@ export interface LineItemStatusOption {
7
7
  color?: string;
8
8
  danger?: boolean;
9
9
  }
10
+ export interface LineItemHolderOption {
11
+ id: string | number;
12
+ label: ReactNode;
13
+ }
@@ -0,0 +1,138 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.product.card.day': (val: number) => string;
4
+ 'pisell2.product.card.day.event': (val: number) => string;
5
+ 'pisell2.product.card.minute': (val: number) => string;
6
+ 'pisell2.product.card.discount.reason': string;
7
+ 'pisell2.product.card.discount.note': string;
8
+ 'pisell2.product.card.edit': string;
9
+ 'pisell2.product.card.discount.add.note': string;
10
+ 'pisell2.product.card.discount.edit.note': string;
11
+ 'pisell2.product.card.confirm': string;
12
+ 'pisell2.product.card.cancel': string;
13
+ 'pisell2.product.card.note.pla': string;
14
+ 'pisell2.product.card.items.package': string;
15
+ 'pisell2.product.card.view-all': string;
16
+ 'pisell2.product.card.view-less': string;
17
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
18
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
19
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
20
+ 'pisell2.product.card.add.holder.modal.title.1': string;
21
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
22
+ 'pisell2.product.card.sales': string;
23
+ 'pisell2.product.card.add.holder.modal.cancel': string;
24
+ 'pisell2.product.card.add.holder.modal.clear': string;
25
+ 'pisell2.product.card.add.holder.modal.apply': string;
26
+ 'pisell2.product.card.add.holder.modal.add': string;
27
+ 'pisell2.product.card.closing-soon.warning': string;
28
+ };
29
+ 'zh-CN': {
30
+ 'pisell2.product.card.edit': string;
31
+ 'pisell2.product.card.day': (val: number) => string;
32
+ 'pisell2.product.card.day.event': (val: number) => string;
33
+ 'pisell2.product.card.minute': (val: number) => string;
34
+ 'pisell2.product.card.discount.reason': string;
35
+ 'pisell2.product.card.discount.note': string;
36
+ 'pisell2.product.card.discount.add.note': string;
37
+ 'pisell2.product.card.discount.edit.note': string;
38
+ 'pisell2.product.card.confirm': string;
39
+ 'pisell2.product.card.cancel': string;
40
+ 'pisell2.product.card.note.pla': string;
41
+ 'pisell2.product.card.items.package': string;
42
+ 'pisell2.product.card.view-all': string;
43
+ 'pisell2.product.card.view-less': string;
44
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
45
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
46
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
47
+ 'pisell2.product.card.add.holder.modal.title.1': string;
48
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
49
+ 'pisell2.product.card.sales': string;
50
+ 'pisell2.product.card.add.holder.modal.cancel': string;
51
+ 'pisell2.product.card.add.holder.modal.clear': string;
52
+ 'pisell2.product.card.add.holder.modal.apply': string;
53
+ 'pisell2.product.card.add.holder.modal.add': string;
54
+ 'pisell2.product.card.closing-soon.warning': string;
55
+ };
56
+ 'zh-HK': {
57
+ 'pisell2.product.card.edit': string;
58
+ 'pisell2.product.card.day': (val: number) => string;
59
+ 'pisell2.product.card.day.event': (val: number) => string;
60
+ 'pisell2.product.card.minute': (val: number) => string;
61
+ 'pisell2.product.card.discount.reason': string;
62
+ 'pisell2.product.card.discount.note': string;
63
+ 'pisell2.product.card.discount.add.note': string;
64
+ 'pisell2.product.card.discount.edit.note': string;
65
+ 'pisell2.product.card.confirm': string;
66
+ 'pisell2.product.card.cancel': string;
67
+ 'pisell2.product.card.note.pla': string;
68
+ 'pisell2.product.card.items.package': string;
69
+ 'pisell2.product.card.view-all': string;
70
+ 'pisell2.product.card.view-less': string;
71
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
72
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
73
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
74
+ 'pisell2.product.card.add.holder.modal.title.1': string;
75
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
76
+ 'pisell2.product.card.sales': string;
77
+ 'pisell2.product.card.add.holder.modal.cancel': string;
78
+ 'pisell2.product.card.add.holder.modal.clear': string;
79
+ 'pisell2.product.card.add.holder.modal.apply': string;
80
+ 'pisell2.product.card.add.holder.modal.add': string;
81
+ 'pisell2.product.card.closing-soon.warning': string;
82
+ };
83
+ ja: {
84
+ 'pisell2.product.card.day': (val: number) => string;
85
+ 'pisell2.product.card.day.event': (val: number) => string;
86
+ 'pisell2.product.card.minute': (val: number) => string;
87
+ 'pisell2.product.card.discount.reason': string;
88
+ 'pisell2.product.card.discount.note': string;
89
+ 'pisell2.product.card.edit': string;
90
+ 'pisell2.product.card.discount.add.note': string;
91
+ 'pisell2.product.card.discount.edit.note': string;
92
+ 'pisell2.product.card.confirm': string;
93
+ 'pisell2.product.card.cancel': string;
94
+ 'pisell2.product.card.note.pla': string;
95
+ 'pisell2.product.card.items.package': string;
96
+ 'pisell2.product.card.view-all': string;
97
+ 'pisell2.product.card.view-less': string;
98
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
99
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
100
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
101
+ 'pisell2.product.card.add.holder.modal.title.1': string;
102
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
103
+ 'pisell2.product.card.sales': string;
104
+ 'pisell2.product.card.add.holder.modal.cancel': string;
105
+ 'pisell2.product.card.add.holder.modal.clear': string;
106
+ 'pisell2.product.card.add.holder.modal.apply': string;
107
+ 'pisell2.product.card.add.holder.modal.add': string;
108
+ 'pisell2.product.card.closing-soon.warning': string;
109
+ };
110
+ pt: {
111
+ 'pisell2.product.card.day': (val: number) => string;
112
+ 'pisell2.product.card.day.event': (val: number) => string;
113
+ 'pisell2.product.card.minute': (val: number) => string;
114
+ 'pisell2.product.card.discount.reason': string;
115
+ 'pisell2.product.card.discount.note': string;
116
+ 'pisell2.product.card.edit': string;
117
+ 'pisell2.product.card.discount.add.note': string;
118
+ 'pisell2.product.card.discount.edit.note': string;
119
+ 'pisell2.product.card.confirm': string;
120
+ 'pisell2.product.card.cancel': string;
121
+ 'pisell2.product.card.note.pla': string;
122
+ 'pisell2.product.card.items.package': string;
123
+ 'pisell2.product.card.view-all': string;
124
+ 'pisell2.product.card.view-less': string;
125
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
126
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
127
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
128
+ 'pisell2.product.card.add.holder.modal.title.1': string;
129
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
130
+ 'pisell2.product.card.sales': string;
131
+ 'pisell2.product.card.add.holder.modal.cancel': string;
132
+ 'pisell2.product.card.add.holder.modal.clear': string;
133
+ 'pisell2.product.card.add.holder.modal.apply': string;
134
+ 'pisell2.product.card.add.holder.modal.add': string;
135
+ 'pisell2.product.card.closing-soon.warning': string;
136
+ };
137
+ };
138
+ export default _default;
@@ -65,6 +65,7 @@ export declare type productType = {
65
65
  */
66
66
  export declare type ProductCardTypes = {
67
67
  dataSource: productType;
68
+ isFormSubject?: boolean;
68
69
  isShowImage?: boolean;
69
70
  isShowOriginalPrice?: boolean;
70
71
  isShowHolder?: boolean;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Select as OriginalSelect } from 'antd';
3
+ import type { SelectProps } from 'antd';
4
+ import './index.less';
5
+ interface CompoundedComponent extends React.ForwardRefExoticComponent<SelectProps> {
6
+ Option: typeof OriginalSelect.Option;
7
+ }
8
+ declare const Select: CompoundedComponent;
9
+ export default Select;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filters" | "column_setting" | "group_by" | "order_by" | "view_mode" | "filter_setting" | "gallery_setting")[];
158
+ }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting" | "filters")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AmountProps, RightItemsStyleProps } from './types';
3
2
  import './index.less';
4
3
  export type { AmountProps, RightItemsStyleProps };