@pisell/materials 1.0.875 → 1.0.876

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 (257) 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 +2 -2
  6. package/build/lowcode/preview.js +164 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +38 -24
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +38 -24
  11. package/es/components/auto-complete-number/index.d.ts +1 -0
  12. package/es/components/badge/index.d.ts +1 -0
  13. package/es/components/batch-editor/fields/index.d.ts +1 -0
  14. package/es/components/calendar/index.d.ts +1 -0
  15. package/es/components/cardPro/index.d.ts +1 -0
  16. package/es/components/checkbox/index.d.ts +1 -0
  17. package/es/components/classicLayout/index.d.ts +1 -0
  18. package/es/components/colorPicker/index.d.ts +1 -0
  19. package/es/components/config-provider/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  22. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  23. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  31. package/es/components/dropdown/index.d.ts +1 -0
  32. package/es/components/filter/components/items/index.d.ts +1 -0
  33. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  34. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  35. package/es/components/filter/components/items/text/index.d.ts +1 -0
  36. package/es/components/pisellCard/index.d.ts +1 -0
  37. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  38. package/es/components/pisellDatePicker/index.d.ts +1 -0
  39. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  40. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  41. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  42. package/es/components/pisellTooltip/index.d.ts +1 -0
  43. package/es/components/pisellUpload/index.d.ts +1 -0
  44. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +5 -0
  45. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +22 -4
  46. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +4 -1
  47. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  48. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  49. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  50. package/es/components/productCard/cartSkuCard/index.js +7 -14
  51. package/es/components/productCard/cartSkuCard/index.less +0 -44
  52. package/es/components/productCard/components/Action/index.d.ts +1 -0
  53. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  54. package/es/components/productCard/components/Header/index.js +17 -2
  55. package/es/components/productCard/components/Header/index.less +23 -3
  56. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  57. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +3 -1
  58. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  59. package/es/components/radio/index.d.ts +1 -0
  60. package/es/components/segmented/index.d.ts +1 -0
  61. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  62. package/es/components/skeleton/index.d.ts +1 -0
  63. package/es/components/slider/index.d.ts +1 -0
  64. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  65. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  66. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  67. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  68. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  69. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  70. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  71. package/es/components/table/Summary/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  93. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  97. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  98. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  99. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  100. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  101. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  102. package/es/components/time-picker/index.d.ts +1 -0
  103. package/es/components/upload/index.d.ts +1 -0
  104. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  105. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  106. package/es/components/walletCard/Guest/index.d.ts +1 -0
  107. package/es/components/walletCard/Guide/index.d.ts +1 -0
  108. package/lib/components/auto-complete-number/index.d.ts +1 -0
  109. package/lib/components/badge/index.d.ts +1 -0
  110. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  111. package/lib/components/calendar/index.d.ts +1 -0
  112. package/lib/components/cardPro/index.d.ts +1 -0
  113. package/lib/components/checkbox/index.d.ts +1 -0
  114. package/lib/components/classicLayout/index.d.ts +1 -0
  115. package/lib/components/colorPicker/index.d.ts +1 -0
  116. package/lib/components/config-provider/index.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  121. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  122. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  123. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  124. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  125. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  126. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  127. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  128. package/lib/components/dropdown/index.d.ts +1 -0
  129. package/lib/components/filter/components/items/index.d.ts +1 -0
  130. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  131. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  132. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  133. package/lib/components/pisellCard/index.d.ts +1 -0
  134. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  135. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  136. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  137. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  138. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  139. package/lib/components/pisellTooltip/index.d.ts +1 -0
  140. package/lib/components/pisellUpload/index.d.ts +1 -0
  141. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +5 -0
  142. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +16 -13
  143. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +4 -1
  144. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  145. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  146. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  147. package/lib/components/productCard/cartSkuCard/index.js +9 -2
  148. package/lib/components/productCard/cartSkuCard/index.less +0 -44
  149. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  150. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  151. package/lib/components/productCard/components/Header/index.js +6 -1
  152. package/lib/components/productCard/components/Header/index.less +23 -3
  153. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  154. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  155. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  156. package/lib/components/radio/index.d.ts +1 -0
  157. package/lib/components/segmented/index.d.ts +1 -0
  158. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  159. package/lib/components/skeleton/index.d.ts +1 -0
  160. package/lib/components/slider/index.d.ts +1 -0
  161. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  162. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  163. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  164. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  165. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  166. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  167. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  168. package/lib/components/table/Summary/index.d.ts +1 -0
  169. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  170. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  171. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  172. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  173. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  174. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  175. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  176. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  177. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  178. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  179. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  180. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  181. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  182. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  183. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  184. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  185. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  186. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  189. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  190. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  191. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  192. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  193. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  194. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  195. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  196. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  197. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  198. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  199. package/lib/components/time-picker/index.d.ts +1 -0
  200. package/lib/components/upload/index.d.ts +1 -0
  201. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  202. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  203. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  204. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  205. package/package.json +3 -3
  206. package/es/components/appVersionControl/index.d.ts +0 -4
  207. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  208. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  209. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  210. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  211. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  212. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  213. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  214. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  215. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  216. package/es/components/productCard/components/Time/index.d.ts +0 -3
  217. package/es/components/productCard/components/Warning/index.d.ts +0 -7
  218. package/es/components/productCard/utils.d.ts +0 -31
  219. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  220. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  221. package/es/components/table/Gallery/index.d.ts +0 -5
  222. package/es/components/table/Table/index.d.ts +0 -4
  223. package/es/components/table/Table/utils.d.ts +0 -173
  224. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  225. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  226. package/es/components/versionModal/index.d.ts +0 -24
  227. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  228. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  229. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  230. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  231. package/es/components/walletCard/index.d.ts +0 -71
  232. package/lib/components/appVersionControl/index.d.ts +0 -4
  233. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  234. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  235. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  236. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  237. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  238. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  239. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  240. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  241. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  242. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  243. package/lib/components/productCard/components/Warning/index.d.ts +0 -7
  244. package/lib/components/productCard/utils.d.ts +0 -31
  245. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  246. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  247. package/lib/components/table/Gallery/index.d.ts +0 -5
  248. package/lib/components/table/Table/index.d.ts +0 -4
  249. package/lib/components/table/Table/utils.d.ts +0 -173
  250. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  251. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  252. package/lib/components/versionModal/index.d.ts +0 -24
  253. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  254. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  255. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  256. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  257. package/lib/components/walletCard/index.d.ts +0 -71
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const summary: (props: any) => JSX.Element;
2
3
  export default summary;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SortIconProps {
2
3
  sortOrder: null | "ascend" | "descend";
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TimePicker: (props: any) => JSX.Element;
2
3
  export default TimePicker;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Upload: (props: any) => JSX.Element;
2
3
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./Presets.less";
2
3
  export declare type PresetsItem = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guest: (props: any) => JSX.Element;
3
4
  export default Guest;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guide: (props: any) => JSX.Element;
3
4
  export default Guide;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AutoCompleteProps, InputNumberProps } from "antd";
2
3
  interface AutoCompleteNumberProps {
3
4
  autoCompleteProps: AutoCompleteProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BadgeProps as OriginalBadgeprops } from 'antd';
2
3
  import './index.less';
3
4
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  price: import("react").FC<import("./Price").PriceProps>;
3
4
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Calendar: (props: any) => JSX.Element;
2
3
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: (props: any) => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Checkbox: (props: any) => JSX.Element;
2
3
  export default Checkbox;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ClassicLayout: (props: any) => JSX.Element;
3
4
  export default ClassicLayout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from 'antd';
2
3
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
3
4
  export default ColorPicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
2
3
  import "dayjs/locale/zh-cn";
3
4
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: () => JSX.Element;
2
3
  export default Text;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: (props: any) => JSX.Element;
2
3
  export default Text;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CardProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellCardProps extends CardProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './detePickerCpt.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PisellDatePicker: (props: any) => JSX.Element;
2
3
  export default PisellDatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface ScanProps {
3
4
  onChange: (val: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -15,7 +15,12 @@ interface IProps {
15
15
  num?: number;
16
16
  };
17
17
  style?: React.CSSProperties;
18
+ /** 作为主商品卡片展示
19
+ * 1. 影响商品数量 tag 的位置
20
+ * 2. isMain 且 type 为 a5,展示holder
21
+ */
18
22
  isMainProduct?: boolean;
23
+ type?: 'a2' | 'a5';
19
24
  }
20
25
  declare const BasicInfo: (props: IProps) => JSX.Element;
21
26
  export default BasicInfo;
@@ -36,10 +36,11 @@ var import_react = __toESM(require("react"));
36
36
  var import_classnames = __toESM(require("classnames"));
37
37
  var import_utils = require("@pisell/utils");
38
38
  var import_specs = __toESM(require("../specs"));
39
+ var import_holders = __toESM(require("../holders"));
39
40
  var import__ = require("../../index");
40
41
  var import_index = require("./index.less");
41
42
  var BasicInfo = (props) => {
42
- const { isShowImage, dataSource = {}, style, isMainProduct } = props;
43
+ const { isShowImage, dataSource = {}, style, isMainProduct, type } = props;
43
44
  const {
44
45
  image,
45
46
  bundle,
@@ -53,17 +54,15 @@ var BasicInfo = (props) => {
53
54
  num = 1
54
55
  } = dataSource;
55
56
  const renderNumTag = () => {
56
- if (num > 1)
57
- return /* @__PURE__ */ import_react.default.createElement(
58
- "div",
59
- {
60
- className: (0, import_classnames.default)(`num-tag`, {
61
- "is-main": isMainProduct
62
- })
63
- },
64
- num < 100 ? num : "99+"
65
- );
66
- return null;
57
+ return /* @__PURE__ */ import_react.default.createElement(
58
+ "div",
59
+ {
60
+ className: (0, import_classnames.default)(`num-tag`, {
61
+ "is-main": isMainProduct
62
+ })
63
+ },
64
+ num < 100 ? num : "99+"
65
+ );
67
66
  };
68
67
  const hasSpecs = (bundle == null ? void 0 : bundle.length) || (options == null ? void 0 : options.length) || product_option_string;
69
68
  const renderImage = () => {
@@ -72,8 +71,12 @@ var BasicInfo = (props) => {
72
71
  return /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.image.ali(image, 64), className: `product-cover` });
73
72
  }
74
73
  const displayText = name ? name.slice(0, 2) : "";
74
+ console.log("xxxxxx", displayText);
75
75
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `product-cover-text` }, displayText);
76
76
  };
77
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), (!isShowImage || !image && !name) && num > 1 ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 26 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 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));
77
+ if (type === "a5") {
78
+ 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: 26 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), /* @__PURE__ */ import_react.default.createElement(import_holders.default, { dataSource })));
79
+ }
80
+ 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: 26 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 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));
78
81
  };
79
82
  var basicInfo_default = BasicInfo;
@@ -46,9 +46,12 @@
46
46
  display: flex;
47
47
  align-items: center;
48
48
  justify-content: center;
49
- font-size: 22px;
49
+ font-size: 20px;
50
50
  font-weight: 500;
51
51
  line-height: 1;
52
+ white-space: nowrap;
53
+ overflow: hidden;
54
+ text-overflow: ellipsis;
52
55
  }
53
56
 
54
57
  .product-info {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Holders: (props: any) => JSX.Element | null;
4
3
  export default Holders;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: (props: any) => JSX.Element;
4
3
  export default Resources;
@@ -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';
@@ -39,7 +39,6 @@ var import_utils = require("@pisell/utils");
39
39
  var import_locales = __toESM(require("./locales"));
40
40
  var import_basicInfo = __toESM(require("./components/basicInfo"));
41
41
  var import_discountReason = __toESM(require("./components/discountReason"));
42
- var import_holders = __toESM(require("./components/holders"));
43
42
  var import_timeRange = __toESM(require("./components/timeRange"));
44
43
  var import_resources = __toESM(require("./components/resources"));
45
44
  var import_packages = __toESM(require("./components/packages"));
@@ -162,7 +161,15 @@ var CartSkuCard = (props) => {
162
161
  }
163
162
  },
164
163
  /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pisell2-trash-01" })
165
- ) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__content` }, isShowImage && image && /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.image.ali(image, 64), className: `product-cover` }), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), /* @__PURE__ */ import_react.default.createElement(import_holders.default, { dataSource }))), /* @__PURE__ */ import_react.default.createElement(import_timeRange.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_resources.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_packages.default, { dataSource, isShowImage }), /* @__PURE__ */ import_react.default.createElement(
164
+ ) : null, /* @__PURE__ */ import_react.default.createElement(
165
+ import_basicInfo.default,
166
+ {
167
+ isShowImage: true,
168
+ dataSource,
169
+ isMainProduct: true,
170
+ type
171
+ }
172
+ ), /* @__PURE__ */ import_react.default.createElement(import_timeRange.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_resources.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_packages.default, { dataSource, isShowImage }), /* @__PURE__ */ import_react.default.createElement(
166
173
  import_sales.default,
167
174
  {
168
175
  dataSource,
@@ -22,48 +22,4 @@
22
22
  font-size: 20px;
23
23
  }
24
24
  }
25
-
26
- &__content {
27
- display: flex;
28
- gap: 4px;
29
-
30
- img {
31
- width: 48px;
32
- height: 48px;
33
- flex-shrink: 0;
34
- border-radius: 6px;
35
- }
36
-
37
- .product-info {
38
- flex: 1;
39
- display: flex;
40
- align-items: center;
41
- gap: 4px;
42
- flex: 1 0 0;
43
- flex-wrap: wrap;
44
- overflow: hidden;
45
- min-height: 30px;
46
-
47
- .product-name {
48
- color: var(--Gray-900, #101828);
49
- font-size: 14px;
50
- font-style: normal;
51
- font-weight: 600;
52
- line-height: 20px;
53
- width: 100%;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- white-space: nowrap;
57
- }
58
-
59
- .product-price {
60
- color: var(--Gray-900, #101828);
61
- font-size: 14px;
62
- font-style: normal;
63
- font-weight: 500;
64
- line-height: 20px;
65
- width: 100%;
66
- }
67
- }
68
- }
69
25
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Divider: ({ type }: any) => JSX.Element;
3
4
  export default Divider;
@@ -60,7 +60,8 @@ var Header = (props) => {
60
60
  price,
61
61
  symbol,
62
62
  disabled,
63
- relation_products
63
+ relation_products,
64
+ num = 1
64
65
  } = item;
65
66
  const showPrice = (0, import_react.useMemo)(() => {
66
67
  return (bundle == null ? void 0 : bundle.length) > 0 || (options == null ? void 0 : options.length) > 0 || ((relation_products == null ? void 0 : relation_products.length) || 0) > 0;
@@ -71,6 +72,9 @@ var Header = (props) => {
71
72
  const showDelete = (0, import_react.useMemo)(() => {
72
73
  return isShowDelete && !disabledEdit && !disabled;
73
74
  }, [isShowDelete, disabledEdit, disabled]);
75
+ const renderNumTag = () => {
76
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)(`num-tag`) }, num < 100 ? num : "99+");
77
+ };
74
78
  const renderImage = () => {
75
79
  if (!isShowImage) return null;
76
80
  if (image) {
@@ -94,6 +98,7 @@ var Header = (props) => {
94
98
  )
95
99
  },
96
100
  showDelete ? /* @__PURE__ */ import_react.default.createElement(import_DeleteButton.default, { onDelete }) : null,
101
+ renderNumTag(),
97
102
  renderImage(),
98
103
  id ? /* @__PURE__ */ import_react.default.createElement(
99
104
  "div",