@pisell/materials 6.2.31 → 6.2.33

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 (295) 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 +9 -9
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +20 -20
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +24 -24
  11. package/es/components/auto-complete-number/index.d.ts +0 -1
  12. package/es/components/badge/index.d.ts +0 -1
  13. package/es/components/batch-editor/fields/index.d.ts +0 -1
  14. package/es/components/calendar/index.d.ts +0 -1
  15. package/es/components/cardPro/index.d.ts +0 -1
  16. package/es/components/checkbox/index.d.ts +0 -1
  17. package/es/components/classicLayout/index.d.ts +0 -1
  18. package/es/components/colorPicker/index.d.ts +0 -1
  19. package/es/components/config-provider/index.d.ts +0 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  24. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  26. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  28. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  30. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  33. package/es/components/date-picker/index.d.ts +1 -0
  34. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  35. package/es/components/drag-sort-tree/index.d.ts +0 -1
  36. package/es/components/dropdown/index.d.ts +0 -1
  37. package/es/components/filter/components/items/index.d.ts +0 -1
  38. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  39. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  40. package/es/components/filter/components/items/text/index.d.ts +0 -1
  41. package/es/components/iconfont/index.js +1 -1
  42. package/es/components/page/index.d.ts +1 -0
  43. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  44. package/es/components/pisellAdjustPrice/type.d.ts +20 -0
  45. package/es/components/pisellCard/index.d.ts +0 -1
  46. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  47. package/es/components/pisellDatePicker/index.d.ts +0 -1
  48. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  49. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  50. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  51. package/es/components/pisellTooltip/index.d.ts +0 -1
  52. package/es/components/pisellUpload/index.d.ts +0 -1
  53. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  54. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  55. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +76 -0
  56. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  57. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  58. package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +82 -0
  59. package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  60. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  61. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +56 -0
  62. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  63. package/es/components/productCard/cartSkuCard/components/Note/index.js +29 -0
  64. package/es/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  65. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +6 -0
  66. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +25 -5
  67. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
  68. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  69. package/es/components/productCard/cartSkuCard/components/packages/index.js +1 -1
  70. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -1
  71. package/es/components/productCard/cartSkuCard/components/resources/index.js +8 -13
  72. package/es/components/productCard/cartSkuCard/components/resources/index.less +6 -7
  73. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +2 -1
  74. package/es/components/productCard/cartSkuCard/components/sales/index.js +4 -2
  75. package/es/components/productCard/cartSkuCard/components/specs/index.js +3 -2
  76. package/es/components/productCard/cartSkuCard/components/specs/index.less +6 -0
  77. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  78. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +6 -5
  79. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +6 -5
  80. package/es/components/productCard/cartSkuCard/index.js +25 -38
  81. package/es/components/productCard/cartSkuCard/index.less +4 -44
  82. package/es/components/productCard/components/Action/index.d.ts +0 -1
  83. package/es/components/productCard/components/Action/index.js +14 -1
  84. package/es/components/productCard/components/Action/index.less +3 -0
  85. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  86. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  87. package/es/components/productCard/components/Header/index.js +3 -1
  88. package/es/components/productCard/components/Header/index.less +3 -3
  89. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  90. package/es/components/productCard/locales.d.ts +84 -0
  91. package/es/components/productCard/locales.js +3 -0
  92. package/es/components/productCard/status.d.ts +32 -0
  93. package/es/components/productCard/types.d.ts +84 -0
  94. package/es/components/radio/index.d.ts +0 -1
  95. package/es/components/segmented/index.d.ts +0 -1
  96. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  97. package/es/components/select-time/index.d.ts +1 -0
  98. package/es/components/skeleton/index.d.ts +0 -1
  99. package/es/components/slider/index.d.ts +0 -1
  100. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  101. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  102. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  103. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  104. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  105. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  106. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  107. package/es/components/table/Summary/index.d.ts +0 -1
  108. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  109. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  111. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/index.d.ts +1 -0
  114. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  115. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  137. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  138. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  139. package/es/components/table/Table/utils.d.ts +1 -1
  140. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  141. package/es/components/time-picker/index.d.ts +0 -1
  142. package/es/components/upload/index.d.ts +0 -1
  143. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  144. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  145. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  146. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  147. package/es/components/virtual-keyboard/Number/types.d.ts +25 -0
  148. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  149. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  150. package/es/components/walletCard/Guest/index.d.ts +0 -1
  151. package/es/components/walletCard/Guide/index.d.ts +0 -1
  152. package/lib/components/auto-complete-number/index.d.ts +0 -1
  153. package/lib/components/badge/index.d.ts +0 -1
  154. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  155. package/lib/components/calendar/index.d.ts +0 -1
  156. package/lib/components/cardPro/index.d.ts +0 -1
  157. package/lib/components/checkbox/index.d.ts +0 -1
  158. package/lib/components/classicLayout/index.d.ts +0 -1
  159. package/lib/components/colorPicker/index.d.ts +0 -1
  160. package/lib/components/config-provider/index.d.ts +0 -1
  161. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  162. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  163. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  164. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  165. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  166. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  167. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  168. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  169. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  170. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  171. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  172. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  173. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  174. package/lib/components/date-picker/index.d.ts +1 -0
  175. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  176. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  177. package/lib/components/dropdown/index.d.ts +0 -1
  178. package/lib/components/filter/components/items/index.d.ts +0 -1
  179. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  180. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  181. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  182. package/lib/components/iconfont/index.js +1 -1
  183. package/lib/components/page/index.d.ts +1 -0
  184. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  185. package/lib/components/pisellAdjustPrice/type.d.ts +20 -0
  186. package/lib/components/pisellCard/index.d.ts +0 -1
  187. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  188. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  189. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  190. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  191. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  192. package/lib/components/pisellTooltip/index.d.ts +0 -1
  193. package/lib/components/pisellUpload/index.d.ts +0 -1
  194. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  195. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  196. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  197. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  198. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  199. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +71 -0
  200. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  201. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  202. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +77 -0
  203. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  204. package/lib/components/productCard/cartSkuCard/components/Note/index.js +56 -0
  205. package/lib/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  206. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +6 -0
  207. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +17 -14
  208. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
  209. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  210. package/lib/components/productCard/cartSkuCard/components/packages/index.js +1 -1
  211. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -1
  212. package/lib/components/productCard/cartSkuCard/components/resources/index.js +6 -8
  213. package/lib/components/productCard/cartSkuCard/components/resources/index.less +6 -7
  214. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +2 -1
  215. package/lib/components/productCard/cartSkuCard/components/sales/index.js +3 -2
  216. package/lib/components/productCard/cartSkuCard/components/specs/index.js +3 -2
  217. package/lib/components/productCard/cartSkuCard/components/specs/index.less +6 -0
  218. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  219. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +2 -1
  220. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +6 -5
  221. package/lib/components/productCard/cartSkuCard/index.js +26 -21
  222. package/lib/components/productCard/cartSkuCard/index.less +4 -44
  223. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  224. package/lib/components/productCard/components/Action/index.js +9 -0
  225. package/lib/components/productCard/components/Action/index.less +3 -0
  226. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  227. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  228. package/lib/components/productCard/components/Header/index.js +2 -1
  229. package/lib/components/productCard/components/Header/index.less +3 -3
  230. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  231. package/lib/components/productCard/locales.d.ts +84 -0
  232. package/lib/components/productCard/locales.js +12 -3
  233. package/lib/components/productCard/status.d.ts +32 -0
  234. package/lib/components/productCard/types.d.ts +84 -0
  235. package/lib/components/radio/index.d.ts +0 -1
  236. package/lib/components/segmented/index.d.ts +0 -1
  237. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  238. package/lib/components/select-time/index.d.ts +1 -0
  239. package/lib/components/skeleton/index.d.ts +0 -1
  240. package/lib/components/slider/index.d.ts +0 -1
  241. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  242. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  243. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  244. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  245. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  246. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  247. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  248. package/lib/components/table/Summary/index.d.ts +0 -1
  249. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  250. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  251. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  252. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  253. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  254. package/lib/components/table/Table/fields/index.d.ts +1 -0
  255. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  256. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  257. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  258. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  259. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  260. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  261. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  262. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  263. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  264. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  265. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  266. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  267. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  268. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  269. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  270. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  271. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  272. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  273. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  274. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  275. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  276. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  277. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  278. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  279. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  280. package/lib/components/table/Table/utils.d.ts +1 -1
  281. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  282. package/lib/components/time-picker/index.d.ts +0 -1
  283. package/lib/components/upload/index.d.ts +0 -1
  284. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  285. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  286. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  287. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  288. package/lib/components/virtual-keyboard/Number/types.d.ts +25 -0
  289. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  290. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  291. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  292. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  293. package/package.json +1 -1
  294. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  295. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
@@ -9,6 +9,9 @@
9
9
  border-radius: inherit;
10
10
  user-select: none;
11
11
  position: relative;
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 4px;
12
15
 
13
16
  &__delete-btn {
14
17
  cursor: pointer;
@@ -16,54 +19,11 @@
16
19
  padding: 10px;
17
20
  top: 0;
18
21
  right: 0;
22
+ z-index: 1;
19
23
 
20
24
  > span {
21
25
  color: #667085;
22
26
  font-size: 20px;
23
27
  }
24
28
  }
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
29
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Action: ({ item, onAction }: any) => JSX.Element;
4
3
  export default Action;
@@ -1,11 +1,24 @@
1
1
  import React from 'react';
2
2
  import classNames from 'classnames';
3
3
  import { Button } from 'antd';
4
+ import Iconfont from "../../../iconfont";
4
5
  import "./index.less";
5
6
  var prefix = 'pisell-lowcode-';
6
7
  var Action = function Action(_ref) {
7
8
  var item = _ref.item,
8
9
  onAction = _ref.onAction;
10
+ var renderIcon = function renderIcon() {
11
+ var actionIcon = item.actionIcon;
12
+ if (actionIcon && typeof actionIcon === 'string') {
13
+ return /*#__PURE__*/React.createElement(Iconfont, {
14
+ type: actionIcon,
15
+ style: {
16
+ fontSize: 20
17
+ }
18
+ });
19
+ }
20
+ return null;
21
+ };
9
22
  return /*#__PURE__*/React.createElement("div", {
10
23
  className: classNames("".concat(prefix, "product-actions"))
11
24
  }, /*#__PURE__*/React.createElement(Button, {
@@ -16,6 +29,6 @@ var Action = function Action(_ref) {
16
29
  e.stopPropagation();
17
30
  onAction();
18
31
  }
19
- }, item.actionText));
32
+ }, renderIcon(), item.actionText));
20
33
  };
21
34
  export default Action;
@@ -10,5 +10,8 @@
10
10
 
11
11
  &-product-actions-item {
12
12
  flex: 1;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
13
16
  }
14
17
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Divider: ({ type }: any) => JSX.Element;
4
3
  export default Divider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
3
  export default DeleteButton;
@@ -27,7 +27,9 @@ var Header = function Header(props) {
27
27
  price = item.price,
28
28
  symbol = item.symbol,
29
29
  disabled = item.disabled,
30
- relation_products = item.relation_products;
30
+ relation_products = item.relation_products,
31
+ _item$num = item.num,
32
+ num = _item$num === void 0 ? 1 : _item$num;
31
33
 
32
34
  /**
33
35
  * @title: 是否显示价格
@@ -24,8 +24,8 @@
24
24
  height: 64px;
25
25
  flex-shrink: 0;
26
26
  border-radius: 8px;
27
- background-color: #DEDEDE;
28
- color: #7E7E7E;
27
+ background-color: #dedede;
28
+ color: #7e7e7e;
29
29
  display: flex;
30
30
  align-items: center;
31
31
  justify-content: center;
@@ -69,4 +69,4 @@
69
69
  font-weight: 400;
70
70
  line-height: 20px;
71
71
  }
72
- }
72
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
3
  style?: any;
@@ -0,0 +1,84 @@
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
+ };
84
+ export default _default;
@@ -31,6 +31,7 @@ export default {
31
31
  },
32
32
  'pisell2.product.card.add.holder.modal.title.1': "Please Select",
33
33
  'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
34
+ if (hour === 0 && minute === 0) return "".concat(minute, "min");
34
35
  return "".concat(hour > 0 ? "".concat(hour, "h") : '').concat(hour > 0 && minute > 0 ? ' ' : '').concat(minute > 0 ? "".concat(minute, "min") : '');
35
36
  },
36
37
  'pisell2.product.card.sales': 'Sales',
@@ -72,6 +73,7 @@ export default {
72
73
  },
73
74
  'pisell2.product.card.add.holder.modal.title.1': "\u8BF7\u9009\u62E9",
74
75
  'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
76
+ if (hour === 0 && minute === 0) return "".concat(minute, "\u5206\u949F");
75
77
  return "".concat(hour > 0 ? "".concat(hour, "\u5C0F\u65F6") : '').concat(minute > 0 ? "".concat(minute, "\u5206\u949F") : '');
76
78
  },
77
79
  'pisell2.product.card.sales': '销售',
@@ -113,6 +115,7 @@ export default {
113
115
  },
114
116
  'pisell2.product.card.add.holder.modal.title.1': "\u8ACB\u9078\u64C7",
115
117
  'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
118
+ if (hour === 0 && minute === 0) return "".concat(minute, "\u5206\u9418");
116
119
  return "".concat(hour > 0 ? "".concat(hour, "\u5C0F\u6642") : '').concat(minute > 0 ? "".concat(minute, "\u5206\u9418") : '');
117
120
  },
118
121
  'pisell2.product.card.sales': '銷售',
@@ -0,0 +1,32 @@
1
+ import { ProductCardTypes, bundleType, optionType, productType } from './types';
2
+ /**
3
+ * @title: 套餐数据
4
+ * @description:
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-01-02 23:21
8
+ */
9
+ export declare const defaultBundle: bundleType;
10
+ /**
11
+ * @description: 单规格
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-01-02 23:00
15
+ */
16
+ export declare const defaultOption: optionType;
17
+ /**
18
+ * @title: 商品商品类型
19
+ * @description:
20
+ * @return {*}
21
+ * @Author: WangHan
22
+ * @Date: 2025-01-02 22:48
23
+ */
24
+ export declare const defaultProduct: productType;
25
+ /**
26
+ * @title: 默认数据
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2024-12-12 16:49
31
+ */
32
+ export declare const defaultValue: ProductCardTypes;
@@ -0,0 +1,84 @@
1
+ export declare type bundleType = {
2
+ id: number;
3
+ name: string;
4
+ num: number;
5
+ price: number;
6
+ total: number;
7
+ origin_total?: number;
8
+ price_type?: string;
9
+ options?: optionType[];
10
+ };
11
+ /**
12
+ * @description:
13
+ * @return {*}
14
+ * @Author: WangHan
15
+ * @Date: 2025-01-02 23:00
16
+ */
17
+ export declare type optionType = {
18
+ id: number;
19
+ name: string;
20
+ num: number;
21
+ price: number;
22
+ total: number;
23
+ origin_total?: number;
24
+ };
25
+ /**
26
+ * @title: 商品商品类型
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2025-01-02 22:48
31
+ */
32
+ export declare type productType = {
33
+ _id: string | number;
34
+ id: number;
35
+ name: string;
36
+ price: number;
37
+ total: number;
38
+ num: number;
39
+ origin_total?: number;
40
+ image?: string;
41
+ isShowNote?: boolean;
42
+ note?: string;
43
+ like_status?: string;
44
+ bundle?: bundleType[];
45
+ options?: optionType[];
46
+ isShowAction?: boolean;
47
+ actionText?: string;
48
+ errorMessage?: string;
49
+ product_option_string?: string;
50
+ discount_reason?: string;
51
+ relation_products?: any[];
52
+ resource_id?: string | number;
53
+ relation_form_name?: string;
54
+ holder_title?: string;
55
+ start_date?: string;
56
+ end_date?: string;
57
+ is_show_duration?: boolean;
58
+ is_show_week?: boolean;
59
+ };
60
+ /**
61
+ * 排序总配置
62
+ */
63
+ export declare type ProductCardTypes = {
64
+ dataSource: productType;
65
+ isShowImage?: boolean;
66
+ isShowHolder?: boolean;
67
+ isShowNote?: boolean;
68
+ isShowPackageNote?: boolean;
69
+ isShowDelete?: boolean;
70
+ disabledEdit?: boolean;
71
+ locale?: string;
72
+ symbol?: string;
73
+ isShowChangeHolder?: boolean;
74
+ isShowChangeResource?: boolean;
75
+ isShowChangeDate?: boolean;
76
+ onAction?: (val: any) => void;
77
+ onDelete?: (val: any) => void;
78
+ onNote?: (val: any) => void;
79
+ onLike?: (val: any) => void;
80
+ onCard?: (val: any) => void;
81
+ onChangeResource?: (val: any) => void;
82
+ osWarnTips?: Array<string>;
83
+ [key: string]: any;
84
+ };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Radio: (props: any) => JSX.Element;
3
2
  export default Radio;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentedProps } from "antd";
3
2
  import "./index.less";
4
3
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
2
3
  import { PopoverProps, TimePickerProps } from "antd";
3
4
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Skeleton: (props: any) => JSX.Element;
3
2
  export default Skeleton;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SliderOuter: (props: any) => JSX.Element;
3
2
  export default SliderOuter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
  import "./index.less";
4
3
  interface InlineMenuProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './PopoverContent.less';
3
2
  declare type FieldType = string | number;
4
3
  export declare type GroupValue = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Summary: ({ summary }: any) => JSX.Element | null;
4
3
  export default Summary;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;