@pisell/materials 3.3.8 → 3.3.9

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 +3 -3
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +28 -24
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +29 -25
  11. package/dist/umd/materials.min.css +1 -0
  12. package/dist/umd/materials.min.js +1 -0
  13. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  14. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  15. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  16. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  17. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  18. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  19. package/es/components/DragSortList/index.js +6 -6
  20. package/es/components/auto-complete-number/index.d.ts +0 -1
  21. package/es/components/badge/index.d.ts +0 -1
  22. package/es/components/batch-editor/fields/index.d.ts +0 -1
  23. package/es/components/calendar/index.d.ts +0 -1
  24. package/es/components/cardPro/index.d.ts +0 -1
  25. package/es/components/checkbox/index.d.ts +0 -1
  26. package/es/components/classicLayout/index.d.ts +0 -1
  27. package/es/components/classicLayout/index.js +5 -4
  28. package/es/components/colorPicker/index.d.ts +0 -1
  29. package/es/components/config-provider/index.d.ts +0 -1
  30. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  33. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  34. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  35. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  36. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  37. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  38. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  39. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  40. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  41. package/es/components/dataSourceComponents/fields/index.d.ts +18 -18
  42. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  43. package/es/components/dropdown/index.d.ts +0 -1
  44. package/es/components/filter/components/items/index.d.ts +0 -1
  45. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  46. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  47. package/es/components/filter/components/items/text/index.d.ts +0 -1
  48. package/es/components/icon/index.js +5 -5
  49. package/es/components/list/index.js +6 -6
  50. package/es/components/pisellCard/index.d.ts +0 -1
  51. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  52. package/es/components/pisellDatePicker/index.d.ts +0 -1
  53. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  54. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  55. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  56. package/es/components/pisellTooltip/index.d.ts +0 -1
  57. package/es/components/pisellUpload/index.d.ts +0 -1
  58. package/es/components/productCard/components/Action/index.d.ts +0 -1
  59. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  60. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  61. package/es/components/productCard/components/Header/EditButton/index.js +22 -0
  62. package/es/components/productCard/components/Header/EditButton/index.less +26 -0
  63. package/es/components/productCard/components/Header/index.js +12 -3
  64. package/es/components/productCard/components/Header/index.less +5 -1
  65. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  66. package/es/components/productCard/index.js +8 -1
  67. package/es/components/productCard/locales.js +3 -0
  68. package/es/components/productCard/status.js +1 -0
  69. package/es/components/qrcode/index.js +1 -1
  70. package/es/components/radio/index.d.ts +0 -1
  71. package/es/components/segmented/index.d.ts +0 -1
  72. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  73. package/es/components/select-time/index.d.ts +0 -1
  74. package/es/components/skeleton/index.d.ts +0 -1
  75. package/es/components/slider/index.d.ts +0 -1
  76. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  77. package/es/components/sort/components/InlineMenu/index.js +1 -1
  78. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  79. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  80. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  81. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  82. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  83. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  84. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  85. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  86. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  87. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
  88. package/es/components/table/Header/Buttons/index.js +5 -5
  89. package/es/components/table/Summary/index.d.ts +0 -1
  90. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  91. package/es/components/table/Table/SelectField/index.js +4 -4
  92. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  93. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  94. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  95. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  96. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  98. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  100. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  102. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  103. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  104. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  106. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  107. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  108. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  109. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  111. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  114. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  115. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
  118. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  123. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
  125. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  128. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  129. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  130. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  131. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  132. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  133. package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
  134. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  135. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  136. package/es/components/time-picker/index.d.ts +0 -1
  137. package/es/components/translation/index.js +10 -10
  138. package/es/components/translation/utils.js +5 -5
  139. package/es/components/upload/index.d.ts +0 -1
  140. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  141. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  142. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -1
  143. package/es/components/walletCard/Guest/index.d.ts +0 -1
  144. package/es/hooks/useResponsive.js +2 -2
  145. package/es/utils/hoc.js +1 -1
  146. package/es/utils/miniRedux.js +9 -8
  147. package/es/utils/platform.d.ts +1 -1
  148. package/lib/components/auto-complete-number/index.d.ts +0 -1
  149. package/lib/components/badge/index.d.ts +0 -1
  150. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  151. package/lib/components/calendar/index.d.ts +0 -1
  152. package/lib/components/cardPro/index.d.ts +0 -1
  153. package/lib/components/checkbox/index.d.ts +0 -1
  154. package/lib/components/classicLayout/index.d.ts +0 -1
  155. package/lib/components/colorPicker/index.d.ts +0 -1
  156. package/lib/components/config-provider/index.d.ts +0 -1
  157. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  158. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  159. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  160. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  161. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  162. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  163. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  164. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  165. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  166. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  167. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  168. package/lib/components/dataSourceComponents/fields/index.d.ts +18 -18
  169. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  170. package/lib/components/dropdown/index.d.ts +0 -1
  171. package/lib/components/filter/components/items/index.d.ts +0 -1
  172. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  173. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  174. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  175. package/lib/components/lowCodePage/index.js +2 -1
  176. package/lib/components/pisellCard/index.d.ts +0 -1
  177. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  178. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  179. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  180. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  181. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  182. package/lib/components/pisellTooltip/index.d.ts +0 -1
  183. package/lib/components/pisellUpload/index.d.ts +0 -1
  184. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  185. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  186. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  187. package/lib/components/productCard/components/Header/EditButton/index.js +62 -0
  188. package/lib/components/productCard/components/Header/EditButton/index.less +26 -0
  189. package/lib/components/productCard/components/Header/index.js +22 -2
  190. package/lib/components/productCard/components/Header/index.less +5 -1
  191. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  192. package/lib/components/productCard/index.js +4 -0
  193. package/lib/components/productCard/locales.js +3 -0
  194. package/lib/components/productCard/status.js +1 -0
  195. package/lib/components/radio/index.d.ts +0 -1
  196. package/lib/components/segmented/index.d.ts +0 -1
  197. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  198. package/lib/components/select-time/index.d.ts +0 -1
  199. package/lib/components/skeleton/index.d.ts +0 -1
  200. package/lib/components/slider/index.d.ts +0 -1
  201. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  202. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  203. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  204. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  205. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  206. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  207. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  208. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  209. package/lib/components/table/Summary/index.d.ts +0 -1
  210. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  211. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  212. package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
  213. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  214. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  215. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  216. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  217. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  218. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  219. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  220. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  221. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  222. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  223. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  224. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  225. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  226. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  227. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  228. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  229. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  230. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  231. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
  232. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  233. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  234. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  235. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  236. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  237. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  238. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  239. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  240. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  241. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  242. package/lib/components/table/Table/fields/utils/index.js +2 -1
  243. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  244. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  245. package/lib/components/time-picker/index.d.ts +0 -1
  246. package/lib/components/upload/index.d.ts +0 -1
  247. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  248. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  249. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -1
  250. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  251. package/lib/hooks/useResponsive.js +6 -3
  252. package/lib/utils/platform.d.ts +1 -1
  253. package/package.json +1 -1
  254. package/es/components/pisell-config-provider/index.d.ts +0 -12
  255. package/es/components/pisellAvatar/index.d.ts +0 -19
  256. package/es/components/pisellCheckboxGroup/index.d.ts +0 -36
  257. package/es/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  258. package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
  259. package/es/components/pisellInformationEntry/index.d.ts +0 -33
  260. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  261. package/es/components/productCard/components/Header/index.d.ts +0 -4
  262. package/es/components/productCard/components/MultiDay/index.d.ts +0 -4
  263. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  264. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -10
  265. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  266. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  267. package/es/components/productCard/components/Time/index.d.ts +0 -4
  268. package/es/components/productCard/locales.d.ts +0 -57
  269. package/es/components/productCard/status.d.ts +0 -32
  270. package/es/components/productCard/types.d.ts +0 -83
  271. package/es/components/productCard/utils.d.ts +0 -31
  272. package/es/locales/en-US.d.ts +0 -273
  273. package/es/locales/zh-CN.d.ts +0 -268
  274. package/es/locales/zh-TW.d.ts +0 -268
  275. package/lib/components/pisell-config-provider/index.d.ts +0 -12
  276. package/lib/components/pisellAvatar/index.d.ts +0 -19
  277. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -36
  278. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  279. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
  280. package/lib/components/pisellInformationEntry/index.d.ts +0 -33
  281. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  282. package/lib/components/productCard/components/Header/index.d.ts +0 -4
  283. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -4
  284. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  285. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -10
  286. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  287. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  288. package/lib/components/productCard/components/Time/index.d.ts +0 -4
  289. package/lib/components/productCard/locales.d.ts +0 -57
  290. package/lib/components/productCard/status.d.ts +0 -32
  291. package/lib/components/productCard/types.d.ts +0 -83
  292. package/lib/components/productCard/utils.d.ts +0 -31
  293. package/lib/locales/en-US.d.ts +0 -273
  294. package/lib/locales/zh-CN.d.ts +0 -268
  295. package/lib/locales/zh-TW.d.ts +0 -268
@@ -1,268 +0,0 @@
1
- declare const _default: {
2
- "table-filter-search": string;
3
- "table-filter-clear": string;
4
- "table-filter-filter": string;
5
- "table-filter-min": string;
6
- "table-filter-max": string;
7
- "table-pagination-previous": string;
8
- "table-pagination-next": string;
9
- "table-pagination-total": (current: string, total: string) => string;
10
- "select-dropdown-render-select-all": string;
11
- "select-dropdown-render-search": string;
12
- "sort-button-text": string;
13
- "sort-oldest-to-newest": string;
14
- "sort-newest-to-oldest": string;
15
- "sort-a-z": string;
16
- "sort-z-a": string;
17
- "sort-from-morning-to-night": string;
18
- "sort-from-evening-to-morning": string;
19
- "sort-0-9": string;
20
- "sort-9-0": string;
21
- "table-action-filter-button": string;
22
- "table-action-filter-quick-filter": string;
23
- "table-action-filter-quick-filter-tip": (count: number) => string;
24
- "table-action-filter-other-filter": string;
25
- "table-action-filter-other-filter-tip": () => string;
26
- "table-action-group-by-title": string;
27
- "table-action-group-by-title-tip": string;
28
- "table-action-column-title": string;
29
- "table-column-group-records": string;
30
- "table-column-group-lock-tip": string;
31
- "table-column-drag-sort-disabled-tip": string;
32
- "table-action-filter-no-filter": string;
33
- "table-action-range-picker-presets-today": string;
34
- "table-action-range-picker-presets-yesterday": string;
35
- "table-action-range-picker-presets-last-3-day": string;
36
- "table-action-range-picker-presets-last-7-day": string;
37
- "table-action-range-picker-presets-last-14-day": string;
38
- "table-action-range-picker-presets-last-30-day": string;
39
- "table-action-range-picker-presets-last-90-day": string;
40
- "virtual-keyboard-time-now": string;
41
- "virtual-keyboard-time-ok": string;
42
- 'batch-editor-batch-edit': string;
43
- 'batch-editor-actions': string;
44
- 'batch-editor-remove': string;
45
- 'batch-editor-price': string;
46
- 'batch-editor-cancel': string;
47
- 'batch-editor-search': string;
48
- 'batch-editor-confirm': string;
49
- 'batch-editor-batch-remove': string;
50
- 'batch-editor-what-price': string;
51
- 'batch-editor-quick-edit': string;
52
- 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
- 'batch-editor-quick-edit-title-2': (product: string) => string;
54
- 'table-action-export-import-export-success': string;
55
- 'table-action-export-import-button': string;
56
- 'table-action-export-import-export-range': string;
57
- 'table-action-export-import-current-page': string;
58
- 'table-action-export-import-all-records': string;
59
- 'table-action-export-import-selected-records': string;
60
- 'table-action-export-import-selected': string;
61
- 'table-action-export-import-item': (length: number) => string;
62
- 'table-action-export-import-product': string;
63
- 'table-action-export-import-table-text-input-title': string;
64
- 'table-action-export-import-table-text-input-describe': string;
65
- 'table-action-export-import-table-error-file': string;
66
- 'table-action-export-import-import-success': string;
67
- 'table-action-export-import-import-phone': string;
68
- 'table-action-export-import-table-success-download': string;
69
- 'table-action-export-import-table-textimport-product': string;
70
- 'table-action-export-import-table-text-product-template': string;
71
- 'table-action-export-import-table-text-click-download': string;
72
- 'table-action-export-import-table-text-edit-file': string;
73
- 'table-action-export-import-button-import': string;
74
- 'table-action-export-import-cancel': string;
75
- 'table-action-export-import-file-completed': string;
76
- 'table-action-export-import-file-processing': string;
77
- 'table-action-export-import-file-pending': string;
78
- 'table-action-export-import-file-refresh': string;
79
- 'table-action-export-import-export-title': string;
80
- 'table-action-export-import-file-hint': string;
81
- 'table-action-export-import-file-name': string;
82
- 'table-action-export-import-file-content': string;
83
- 'table-action-export-import-file-content-all': string;
84
- 'table-action-export-import-file-content-part': string;
85
- 'table-action-export-import-file-status': string;
86
- 'table-action-export-import-file-account': string;
87
- 'table-action-export-import-file-created': string;
88
- 'table-action-export-import-file-record': (length: number) => string;
89
- 'table-action-export-import-import-title': string;
90
- 'table-action-export-import-log-hint': string;
91
- 'table-action-export-import-log-name': string;
92
- 'table-action-export-import-log-result': string;
93
- 'table-action-export-import-log-ok': (num: number) => string;
94
- 'table-action-export-import-log-err': (num: number) => string;
95
- 'table-action-export-import-log-check': string;
96
- 'table-action-export-import-log-detail-title': string;
97
- 'table-action-export-import-log-err-log': string;
98
- 'table-action-export-import-log-copy': string;
99
- 'table-action-export-import-table-success-copy': string;
100
- 'drag-sort-tree-unavailable-today-tip': string;
101
- 'date-picker-today': string;
102
- 'date-picker-yesterday': string;
103
- 'date-picker-tomorrow': string;
104
- 'date-picker-next_monday': string;
105
- 'date-picker-last_friday': string;
106
- 'date-picker-first_day_of_this_month': string;
107
- 'date-picker-last_day_of_this_month': string;
108
- 'date-picker-first_day_of_next_month': string;
109
- 'date-picker-last_day_of_last_month': string;
110
- 'date-picker-invalid-date': string;
111
- "date-picker-apply": string;
112
- 'date-picker-shortcut-custom': string;
113
- 'pisell-input-copy-success': string;
114
- 'pisell-input-copy': string;
115
- 'pisell-empty-description-no-data': string;
116
- 'pisell-information-entry-input-search': string;
117
- 'pisell-information-entry-input-confirm': string;
118
- 'pisell-information-entry-scan-exit': string;
119
- 'pisell-wallet-pass-card-detail': string;
120
- 'pisell-wallet-pass-card-edit': string;
121
- 'pisell-wallet-pass-card-name': string;
122
- 'pisell-wallet-pass-card-store-name': string;
123
- 'pisell-wallet-pass-card-balance': string;
124
- 'pisell-wallet-pass-card-redeem': string;
125
- 'pisell-wallet-pass-card-code': string;
126
- 'pisell-wallet-pass-card-valid-to': string;
127
- 'pisell-wallet-pass-card-confirm': string;
128
- 'pisell-wallet-pass-card-cancel': string;
129
- 'pisell-wallet-pass-card-required': string;
130
- 'pisell-wallet-pass-card-expireDate': string;
131
- 'pisell-adjust-price-price-override': string;
132
- 'pisell-adjust-price-discount': string;
133
- 'pisell-adjust-price-discount-amount': string;
134
- 'pisell-adjust-price-discount-percentage': string;
135
- 'pisell-adjust-price-total-after-discount': string;
136
- 'pisell-adjust-price-discount-can-be-maximum': string;
137
- 'pisell-discount-card-title': string;
138
- 'pisell-discount-card-unit': string;
139
- 'pisell-data-source-table-add': string;
140
- 'pisell-data-source-table-edit': string;
141
- 'pisell-data-source-table-detail': string;
142
- 'pisell-data-source-table-delete': string;
143
- 'pisell-record-view-available': string;
144
- 'pisell-record-view-unavailable': string;
145
- 'pisell-data-source-form-required-message': string;
146
- 'pisell-data-source-form-email-message': string;
147
- 'pisell-data-source-form-domain-message': string;
148
- 'pisell-data-source-form-url-message': string;
149
- 'pisell-data-source-form-phone-message': string;
150
- 'pisell-data-source-form-min-length-message': (minLength: number) => string;
151
- 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
152
- 'pisell-data-source-form-min-value-message': (minValue: number) => string;
153
- 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
154
- 'pisell-data-source-form-mobile-message': string;
155
- 'pisell-number-format-thousand': string;
156
- 'pisell-number-format-million': string;
157
- 'pisell-number-format-billion': string;
158
- 'walletCard-done': string;
159
- 'walletCard-qrcode': string;
160
- 'walletCard-barcode': string;
161
- 'pisell-upload-button': string;
162
- 'pisell-upload-setting-size-error': (maxSize: number) => string;
163
- 'pisell-upload-setting-type-error': (type: string) => string;
164
- 'pisell-upload-count-error': (count: number) => string;
165
- 'pisell-upload-error': (name: string) => string;
166
- 'pisell-upload-multilingual-title': string;
167
- 'pisell-upload-multilingual-item-title-original': string;
168
- 'pisell-upload-multilingual-item-title-en': string;
169
- 'pisell-upload-multilingual-item-title-zh-CN': string;
170
- 'pisell-upload-multilingual-item-title-zh-HK': string;
171
- 'pisell-color-picker-default': string;
172
- 'pisell-action-get-data': string;
173
- 'pisell-action-delete-success': string;
174
- 'pisell-action-delete-failed': string;
175
- 'walletCard-piont': string;
176
- 'walletCard-rechargeable': string;
177
- 'walletCard-voucher': string;
178
- 'walletCard-discount': string;
179
- 'pisellQrcode-done': string;
180
- 'pisellQrcode-qrcode': string;
181
- 'pisell-delete-confirm-title': string;
182
- 'pisell-delete-confirm-content': string;
183
- 'pisell-delete-confirm-ok': string;
184
- 'pisell-delete-confirm-cancel': string;
185
- 'pisell-design-mode-action-disabled': string;
186
- 'pisell-translation-original': string;
187
- 'pisell-version-modal-title': string;
188
- 'pisell-version-modal-current-version': string;
189
- 'pisell-version-modal-version': string;
190
- 'pisell-version-modal-update-notes': string;
191
- 'pisell-version-modal-patch': string;
192
- 'pisell-version-modal-minor': string;
193
- 'pisell-version-modal-major': string;
194
- 'pisell-version-modal-custom': string;
195
- 'pisell-version-modal-cancel': string;
196
- 'pisell-version-modal-confirm': string;
197
- 'pisell-version-modal-describe-update-notes': string;
198
- 'pisell-version-modal-version-error': string;
199
- 'pisell-version-modal-version-required': string;
200
- 'pisell-version-modal-based-on-version': string;
201
- 'subdomain-error-too-short': string;
202
- 'subdomain-error-too-long': string;
203
- 'subdomain-error-pattern': string;
204
- 'subdomain-error-numbers-only': string;
205
- 'subdomain-error-hyphen-ends': string;
206
- 'subdomain-error-consecutive-hyphens': string;
207
- 'pisell-icon-select-placeholder': string;
208
- 'pisell-icon-select-outlined': string;
209
- 'pisell-icon-select-filled': string;
210
- 'pisell-icon-select-two-tone': string;
211
- 'pisell-icon-select-iconfont': string;
212
- 'pisell-icon-select-search': string;
213
- 'pisell-icon-select-select': string;
214
- 'pisell-lowcode-app-version-control-live': string;
215
- 'pisell-lowcode-app-version-control-draft': string;
216
- 'pisell-lowcode-app-version-control-deprecated': string;
217
- 'pisell-lowcode-app-version-control-new-version': string;
218
- 'pisell-lowcode-app-version-control-promote-to-live': string;
219
- 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
220
- 'pisell-lowcode-app-version-control-promote-version-describe': string;
221
- 'pisell-lowcode-app-version-control-promote-version-ok': string;
222
- 'pisell-lowcode-app-version-control-promote-version-cancel': string;
223
- 'pisell-lowcode-app-version-control-version-exists': string;
224
- 'pisell-lowcode-drop-sort-add': string;
225
- 'pisell-lowcode-navigation-menu-add-sub-menu': string;
226
- 'pisell-lowcode-navigation-menu-add-page': string;
227
- 'pisell-lowcode-navigation-menu-add-page-tip': string;
228
- 'pisell-lowcode-navigation-menu-tag-base': string;
229
- 'pisell-lowcode-navigation-menu-tag-pisell1': string;
230
- 'pisell-data-source-form-app-identifier-pattern': string;
231
- 'pisell-data-source-form-app-identifier-start-with-letter': string;
232
- 'pisell-data-source-form-app-identifier-special-ends': string;
233
- 'pisell-data-source-form-app-identifier-consecutive-special': string;
234
- "qrscanner-loading": string;
235
- "qrscanner-success": string;
236
- "qrscanner-success-qrcode": string;
237
- "qrscanner-success-barcode": string;
238
- "qrscanner-error-upload-image": string;
239
- "qrscanner-error-load-failed": string;
240
- "qrscanner-error-no-code": string;
241
- "qrscanner-error-camera-init": string;
242
- "qrscanner-error-process-image": string;
243
- 'pisell-login-and-register-title': string;
244
- 'pisell-login-and-register-subtitle': string;
245
- 'pisell-login-and-register-email-label': string;
246
- 'pisell-login-and-register-email-placeholder': string;
247
- 'pisell-login-and-register-password-label': string;
248
- 'pisell-login-and-register-password-placeholder': string;
249
- 'pisell-login-and-register-email-error': string;
250
- 'pisell-login-and-register-email-error-valid': string;
251
- 'pisell-login-and-register-password-error': string;
252
- 'pisell-login-and-register-login': string;
253
- 'pisell-login-and-register-google': string;
254
- 'pisell-login-and-register-facebook': string;
255
- 'pisell-login-and-register-apple': string;
256
- 'pisell-login-and-register-sign-up': string;
257
- 'pisell-login-and-register-login-tab': string;
258
- 'pisell-login-and-register-register-tab': string;
259
- 'pisell-login-and-register-register-email-placeholder': string;
260
- 'pisell-login-and-register-register-password-placeholder': string;
261
- 'pisell-login-and-register-register-button-text': string;
262
- 'pisell-login-and-register-remember-me': string;
263
- 'pisell-login-and-register-forgot-password': string;
264
- 'pisell2.text.goodpass.product-vouchers': string;
265
- 'pisell2.text.goodpass.view-more': string;
266
- 'pisell2.text.goodpass.save': string;
267
- };
268
- export default _default;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from './context';
3
- interface PisellConfigProviderType {
4
- platform?: PisellContextType['platform'];
5
- children: React.ReactNode;
6
- /** 货币符号 */
7
- symbol?: string;
8
- /** 当前语言环境 */
9
- locale?: string;
10
- }
11
- declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
12
- export default PisellConfigProvider;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import type { AvatarProps } from 'antd';
3
- import './index.less';
4
- export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
- export interface PisellAvatarProps extends Omit<AvatarProps, 'size' | 'shape'> {
6
- shape?: 'circle' | 'square';
7
- size?: AvatarSize;
8
- src?: string;
9
- alt?: string;
10
- icon?: React.ReactNode;
11
- children?: React.ReactNode;
12
- className?: string;
13
- style?: React.CSSProperties;
14
- useTextAvatar?: boolean;
15
- borderRadius?: number;
16
- onError?: () => boolean;
17
- }
18
- declare const PisellAvatar: React.FC<PisellAvatarProps>;
19
- export default PisellAvatar;
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../pisell-config-provider/context';
3
- import './index.less';
4
- export interface PisellCheckboxGroupOption {
5
- label: string;
6
- value: string;
7
- disabled?: boolean;
8
- [key: string]: any;
9
- }
10
- declare type PisellCheckboxGroupValue = string | string[] | any;
11
- export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
12
- platform?: PisellContextType['platform'];
13
- direction?: 'horizontal' | 'vertical';
14
- fullWidth?: boolean;
15
- gap?: number;
16
- padding?: number;
17
- options: PisellCheckboxGroupOption[];
18
- onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
19
- value?: PisellCheckboxGroupValue;
20
- renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
21
- rowKey?: string;
22
- mode?: 'multiple' | 'single';
23
- iconPosition?: 'left' | 'right' | 'hide';
24
- optionClassName?: string;
25
- optionActiveClassName?: string;
26
- }
27
- /**
28
- * @title: PisellCheckboxGroup
29
- * @description: 选中组件
30
- * @param {PisellCheckboxGroupProps} props
31
- * @return {*}
32
- * @Author: zhiwei.Wang
33
- * @Date: 2024-08-16 10:34
34
- */
35
- declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
36
- export default PisellCheckboxGroup;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellCustomCheckboxGroupProps {
4
- dataSource?: any[];
5
- disabled?: boolean;
6
- allowAdd?: boolean;
7
- isMultiple?: boolean;
8
- id?: string | string[];
9
- onClick?: (value: any) => void;
10
- onAdd?: () => void;
11
- renderAddItem?: (item: any) => React.ReactNode;
12
- [key: string]: any;
13
- className?: string;
14
- }
15
- declare const PisellCustomCheckboxGroup: React.FC<PisellCustomCheckboxGroupProps>;
16
- export default PisellCustomCheckboxGroup;
@@ -1,4 +0,0 @@
1
- export declare const useNativeScanner: (onChange?: ((val: string) => void) | undefined) => {
2
- activeNativeScanner: () => void;
3
- isTerminal: any;
4
- };
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../pisell-config-provider/context';
3
- import './index.less';
4
- export declare type EntryModeType = {
5
- /**
6
- * 录入模式名称
7
- * scanCode: 扫码录入
8
- * input: 手动录入
9
- * scanner: 扫码枪录入
10
- * nfc: NFC录入
11
- */
12
- type: 'scanCode' | 'input' | 'scanner' | 'nfc';
13
- /**
14
- * 录入模式文案 没有使用默认文案
15
- */
16
- name?: string;
17
- };
18
- export interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'onChange'> {
19
- /** 平台 */
20
- platform?: PisellContextType['platform'];
21
- /** 录入模式 */
22
- entryModes: EntryModeType[];
23
- /** 标题文案 */
24
- title?: React.ReactNode;
25
- /** 搜索框描述文案 */
26
- searchDescribe?: React.ReactNode;
27
- /** 录入信息值改变 */
28
- onChange?: (val: string) => void;
29
- /** 录入类型切换时候触发的 */
30
- onChangeType?: (val: null | EntryModeType['type']) => void;
31
- }
32
- declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
33
- export default PisellInformationEntry;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../../../pisell-config-provider/context';
3
- export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
- /** 平台 */
5
- platform?: PisellContextType['platform'];
6
- /** 当前数值 */
7
- value?: number | string;
8
- /** 小数点后位数 默认是小数点后2位 */
9
- precision?: number;
10
- /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
- showCurrencySymbol?: boolean;
12
- /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
- useThousandsSeparator?: boolean;
14
- /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
- hideDecimalForWholeNumbers?: boolean;
16
- /** 货币符号 */
17
- symbol?: string;
18
- }
19
- declare const Amount: (props: AmountProps) => JSX.Element;
20
- export default Amount;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Header: (props: any) => JSX.Element;
4
- export default Header;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
- export default MultiDay;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
- style?: any;
5
- status: string;
6
- onLike?: any;
7
- className?: string | undefined;
8
- isShowChangeResource?: boolean | undefined;
9
- }) => JSX.Element;
10
- export default Like;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, }: any) => JSX.Element;
3
- export default SelectHolder;
@@ -1,18 +0,0 @@
1
- import './index.less';
2
- interface ResourceItem {
3
- id: string | number;
4
- label: string;
5
- isError?: boolean;
6
- [key: string]: any;
7
- }
8
- interface SelectResourceProps {
9
- lists: ResourceItem[];
10
- value: any;
11
- onChange: (val: any) => void;
12
- resourceMode?: 'multiple' | 'tags' | undefined;
13
- maxLength?: number;
14
- isParallelResource?: boolean;
15
- [key: string]: any;
16
- }
17
- declare const SelectResource: ({ lists, value, onChange, resourceMode, allowClear, onClearResource, maxLength, isErrorResource, resourceErrorText, ...props }: SelectResourceProps) => JSX.Element;
18
- export default SelectResource;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
- export default Time;
@@ -1,57 +0,0 @@
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.discount.add.note': string;
9
- 'pisell2.product.card.discount.edit.note': string;
10
- 'pisell2.product.card.confirm': string;
11
- 'pisell2.product.card.cancel': string;
12
- 'pisell2.product.card.note.pla': string;
13
- 'pisell2.product.card.items.package': string;
14
- 'pisell2.product.card.view-all': string;
15
- 'pisell2.product.card.view-less': string;
16
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
17
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
18
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
19
- };
20
- 'zh-CN': {
21
- 'pisell2.product.card.day': (val: number) => string;
22
- 'pisell2.product.card.day.event': (val: number) => string;
23
- 'pisell2.product.card.minute': (val: number) => string;
24
- 'pisell2.product.card.discount.reason': string;
25
- 'pisell2.product.card.discount.note': string;
26
- 'pisell2.product.card.discount.add.note': string;
27
- 'pisell2.product.card.discount.edit.note': string;
28
- 'pisell2.product.card.confirm': string;
29
- 'pisell2.product.card.cancel': string;
30
- 'pisell2.product.card.note.pla': string;
31
- 'pisell2.product.card.items.package': string;
32
- 'pisell2.product.card.view-all': string;
33
- 'pisell2.product.card.view-less': string;
34
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
35
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
36
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
37
- };
38
- 'zh-HK': {
39
- 'pisell2.product.card.day': (val: number) => string;
40
- 'pisell2.product.card.day.event': (val: number) => string;
41
- 'pisell2.product.card.minute': (val: number) => string;
42
- 'pisell2.product.card.discount.reason': string;
43
- 'pisell2.product.card.discount.note': string;
44
- 'pisell2.product.card.discount.add.note': string;
45
- 'pisell2.product.card.discount.edit.note': string;
46
- 'pisell2.product.card.confirm': string;
47
- 'pisell2.product.card.cancel': string;
48
- 'pisell2.product.card.note.pla': string;
49
- 'pisell2.product.card.items.package': string;
50
- 'pisell2.product.card.view-all': string;
51
- 'pisell2.product.card.view-less': string;
52
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
53
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
54
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
- };
56
- };
57
- export default _default;
@@ -1,32 +0,0 @@
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;
@@ -1,83 +0,0 @@
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
- [key: string]: any;
83
- };