@pisell/materials 3.2.1 → 3.2.3

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 (330) 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 +7 -7
  6. package/build/lowcode/render/default/view.js +9 -9
  7. package/build/lowcode/view.js +9 -9
  8. package/es/components/DragSortList/index.js +6 -6
  9. package/es/components/auto-complete-number/index.d.ts +0 -1
  10. package/es/components/batch-editor/fields/Image/index.d.ts +7 -0
  11. package/es/components/batch-editor/fields/Price/index.d.ts +7 -0
  12. package/es/components/batch-editor/fields/Text/index.d.ts +6 -0
  13. package/es/components/batch-editor/fields/index.d.ts +6 -0
  14. package/es/components/batch-editor/index.d.ts +1 -0
  15. package/es/components/button/index.d.ts +9 -0
  16. package/es/components/calendar/index.d.ts +0 -1
  17. package/es/components/classicLayout/index.d.ts +0 -1
  18. package/es/components/classicLayout/index.js +4 -5
  19. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  27. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  28. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  29. package/es/components/drag-sort-tree/types.d.ts +24 -0
  30. package/es/components/dropdown/index.d.ts +0 -1
  31. package/es/components/filter/components/items/index.d.ts +0 -1
  32. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  33. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  34. package/es/components/filter/components/items/text/index.d.ts +0 -1
  35. package/es/components/icon/index.js +5 -5
  36. package/es/components/input-number-range/index.d.ts +15 -0
  37. package/es/components/list/index.d.ts +1 -0
  38. package/es/components/list/index.js +6 -6
  39. package/es/components/lowCodePage/index.d.ts +1 -0
  40. package/es/components/pisell-config-provider/context.d.ts +20 -0
  41. package/es/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
  42. package/es/components/pisellAlert/index.d.ts +22 -0
  43. package/es/components/pisellCheckboxGroup/mock.d.ts +4 -0
  44. package/es/components/pisellContainer/components/Portal/index.d.ts +10 -0
  45. package/es/components/pisellCountdown/index.d.ts +24 -0
  46. package/es/components/pisellCountdown/utils.d.ts +7 -0
  47. package/es/components/pisellDatePicker/datePickerCpt.d.ts +21 -0
  48. package/es/components/pisellDatePicker/index.d.ts +2 -0
  49. package/es/components/pisellFloatingPanel/index.d.ts +17 -0
  50. package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +8 -0
  51. package/es/components/pisellInformationEntry/utils.d.ts +4 -0
  52. package/es/components/pisellInput/components/BankCard/index.d.ts +10 -0
  53. package/es/components/pisellInput/components/BankCard/utils.d.ts +11 -0
  54. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  55. package/es/components/pisellInput/components/SecurityCode/index.d.ts +11 -0
  56. package/es/components/pisellLoading/index.d.ts +1 -0
  57. package/es/components/pisellMessage/index.d.ts +4 -0
  58. package/es/components/pisellModal/components/functions/index.d.ts +30 -0
  59. package/es/components/pisellModal/constants.d.ts +6 -0
  60. package/es/components/pisellScan/index.d.ts +23 -0
  61. package/es/components/pisellTooltip/index.d.ts +9 -0
  62. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  63. package/es/components/qrcode/index.d.ts +1 -0
  64. package/es/components/qrcode/index.js +1 -1
  65. package/es/components/segmented/index.d.ts +4 -0
  66. package/es/components/select-time/RightPanel/index.d.ts +8 -0
  67. package/es/components/select-time/utils.d.ts +9 -0
  68. package/es/components/skeleton/index.d.ts +0 -1
  69. package/es/components/slider/index.d.ts +0 -1
  70. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  71. package/es/components/sort/components/InlineMenu/index.js +1 -1
  72. package/es/components/sort/types.d.ts +20 -0
  73. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  74. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  75. package/es/components/table/Actions/component/ExportImport/utils/date.d.ts +8 -0
  76. package/es/components/table/Actions/component/ExportImport/utils/download.d.ts +3 -0
  77. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  78. package/es/components/table/BasicTable/index.d.ts +1 -0
  79. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  80. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  81. package/es/components/table/Gallery/constant.d.ts +4 -0
  82. package/es/components/table/Header/Buttons/index.js +5 -5
  83. package/es/components/table/Summary/index.d.ts +0 -1
  84. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  85. package/es/components/table/Table/SelectField/index.js +4 -4
  86. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  87. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  88. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  90. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  91. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  93. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  94. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  95. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  98. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  100. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -0
  102. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +3 -0
  103. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -0
  104. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  106. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  107. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  108. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  109. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  111. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/search/Edit/index.d.ts +4 -0
  113. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  114. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  115. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  119. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  121. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  123. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  127. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  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/Table/utils.d.ts +1 -1
  133. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  134. package/es/components/table/View/index.d.ts +1 -0
  135. package/es/components/table/hooks/useGenScroll.d.ts +22 -0
  136. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  137. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  138. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  139. package/es/components/table/serve.d.ts +13 -0
  140. package/es/components/time-picker/index.d.ts +0 -1
  141. package/es/components/translation/index.js +10 -10
  142. package/es/components/translation/utils.js +5 -5
  143. package/es/components/upload/index.d.ts +0 -1
  144. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
  145. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  146. package/es/components/virtual-keyboard/Time/utils.d.ts +9 -0
  147. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +11 -0
  148. package/es/components/virtual-keyboard/index.d.ts +14 -0
  149. package/es/components/walletCard/index.js +22 -5
  150. package/es/hooks/useCssVariables.d.ts +8 -0
  151. package/es/hooks/useResponsive.js +2 -2
  152. package/es/locales/en-US.js +1 -1
  153. package/es/locales/zh-CN.js +1 -1
  154. package/es/locales/zh-TW.js +1 -1
  155. package/es/utils/hoc.js +1 -1
  156. package/es/utils/locale.d.ts +1 -0
  157. package/es/utils/miniRedux.js +8 -9
  158. package/es/utils/platform.d.ts +1 -1
  159. package/lib/components/auto-complete-number/index.d.ts +0 -1
  160. package/lib/components/batch-editor/fields/Image/index.d.ts +7 -0
  161. package/lib/components/batch-editor/fields/Price/index.d.ts +7 -0
  162. package/lib/components/batch-editor/fields/Text/index.d.ts +6 -0
  163. package/lib/components/batch-editor/fields/index.d.ts +6 -0
  164. package/lib/components/batch-editor/index.d.ts +1 -0
  165. package/lib/components/button/index.d.ts +9 -0
  166. package/lib/components/calendar/index.d.ts +0 -1
  167. package/lib/components/classicLayout/index.d.ts +0 -1
  168. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  169. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  170. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  171. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  172. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  173. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  174. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  175. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  176. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  177. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  178. package/lib/components/drag-sort-tree/types.d.ts +24 -0
  179. package/lib/components/dropdown/index.d.ts +0 -1
  180. package/lib/components/filter/components/items/index.d.ts +0 -1
  181. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  182. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  183. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  184. package/lib/components/input-number-range/index.d.ts +15 -0
  185. package/lib/components/list/index.d.ts +1 -0
  186. package/lib/components/lowCodePage/index.d.ts +1 -0
  187. package/lib/components/lowCodePage/index.js +1 -2
  188. package/lib/components/pisell-config-provider/context.d.ts +20 -0
  189. package/lib/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
  190. package/lib/components/pisellAlert/index.d.ts +22 -0
  191. package/lib/components/pisellCheckboxGroup/mock.d.ts +4 -0
  192. package/lib/components/pisellContainer/components/Portal/index.d.ts +10 -0
  193. package/lib/components/pisellCountdown/index.d.ts +24 -0
  194. package/lib/components/pisellCountdown/utils.d.ts +7 -0
  195. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +21 -0
  196. package/lib/components/pisellDatePicker/index.d.ts +2 -0
  197. package/lib/components/pisellFloatingPanel/index.d.ts +17 -0
  198. package/lib/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +8 -0
  199. package/lib/components/pisellInformationEntry/utils.d.ts +4 -0
  200. package/lib/components/pisellInput/components/BankCard/index.d.ts +10 -0
  201. package/lib/components/pisellInput/components/BankCard/utils.d.ts +11 -0
  202. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  203. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +11 -0
  204. package/lib/components/pisellLoading/index.d.ts +1 -0
  205. package/lib/components/pisellMessage/index.d.ts +4 -0
  206. package/lib/components/pisellModal/components/functions/index.d.ts +30 -0
  207. package/lib/components/pisellModal/constants.d.ts +6 -0
  208. package/lib/components/pisellScan/index.d.ts +23 -0
  209. package/lib/components/pisellTooltip/index.d.ts +9 -0
  210. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  211. package/lib/components/qrcode/index.d.ts +1 -0
  212. package/lib/components/segmented/index.d.ts +4 -0
  213. package/lib/components/select-time/RightPanel/index.d.ts +8 -0
  214. package/lib/components/select-time/utils.d.ts +9 -0
  215. package/lib/components/skeleton/index.d.ts +0 -1
  216. package/lib/components/slider/index.d.ts +0 -1
  217. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  218. package/lib/components/sort/types.d.ts +20 -0
  219. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  220. package/lib/components/table/Actions/component/ExportImport/utils/date.d.ts +8 -0
  221. package/lib/components/table/Actions/component/ExportImport/utils/download.d.ts +3 -0
  222. package/lib/components/table/BasicTable/index.d.ts +1 -0
  223. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  224. package/lib/components/table/Gallery/constant.d.ts +4 -0
  225. package/lib/components/table/Summary/index.d.ts +0 -1
  226. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  227. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  228. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  229. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  230. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  231. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  232. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  233. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  234. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  235. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  236. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  237. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  238. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  239. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  240. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -0
  241. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +3 -0
  242. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -0
  243. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  244. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  245. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  246. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  247. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  248. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  249. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  250. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  251. package/lib/components/table/Table/fields/search/Edit/index.d.ts +4 -0
  252. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  253. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  254. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  255. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  256. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  257. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  258. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  259. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  260. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  261. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  262. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  263. package/lib/components/table/Table/fields/utils/index.js +1 -2
  264. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  265. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  266. package/lib/components/table/Table/utils.d.ts +1 -1
  267. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  268. package/lib/components/table/View/index.d.ts +1 -0
  269. package/lib/components/table/hooks/useGenScroll.d.ts +22 -0
  270. package/lib/components/table/serve.d.ts +13 -0
  271. package/lib/components/time-picker/index.d.ts +0 -1
  272. package/lib/components/upload/index.d.ts +0 -1
  273. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
  274. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  275. package/lib/components/virtual-keyboard/Time/utils.d.ts +9 -0
  276. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +11 -0
  277. package/lib/components/virtual-keyboard/index.d.ts +14 -0
  278. package/lib/components/walletCard/index.js +13 -5
  279. package/lib/hooks/useCssVariables.d.ts +8 -0
  280. package/lib/hooks/useResponsive.js +3 -6
  281. package/lib/locales/en-US.js +1 -1
  282. package/lib/locales/zh-CN.js +1 -1
  283. package/lib/locales/zh-TW.js +1 -1
  284. package/lib/utils/locale.d.ts +1 -0
  285. package/lib/utils/platform.d.ts +1 -1
  286. package/package.json +3 -3
  287. package/dist/umd/materials.min.css +0 -1
  288. package/dist/umd/materials.min.js +0 -1
  289. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  290. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  291. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  292. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  293. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  294. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  295. package/es/components/customSelect/index.d.ts +0 -17
  296. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
  297. package/es/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
  298. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  299. package/es/components/date-picker/constants.d.ts +0 -39
  300. package/es/components/login-and-register/index.d.ts +0 -82
  301. package/es/components/pisellAppCard/index.d.ts +0 -3
  302. package/es/components/pisellDropSort/PisellDropSort.d.ts +0 -5
  303. package/es/components/pisellDropSort/index.d.ts +0 -3
  304. package/es/components/pisellModal/components/Information/index.d.ts +0 -21
  305. package/es/components/pisellNavigationMenu/index.d.ts +0 -3
  306. package/es/components/pisellQRScanner/index.d.ts +0 -37
  307. package/es/components/pisellQrcode/index.d.ts +0 -10
  308. package/es/components/pisellViewGrid/index.d.ts +0 -16
  309. package/es/components/profileMenu/index.d.ts +0 -26
  310. package/es/components/select/index.d.ts +0 -9
  311. package/es/components/typography/index.d.ts +0 -2
  312. package/es/components/versionModal/index.d.ts +0 -23
  313. package/lib/components/customSelect/index.d.ts +0 -17
  314. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
  315. package/lib/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
  316. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  317. package/lib/components/date-picker/constants.d.ts +0 -39
  318. package/lib/components/login-and-register/index.d.ts +0 -82
  319. package/lib/components/pisellAppCard/index.d.ts +0 -3
  320. package/lib/components/pisellDropSort/PisellDropSort.d.ts +0 -5
  321. package/lib/components/pisellDropSort/index.d.ts +0 -3
  322. package/lib/components/pisellModal/components/Information/index.d.ts +0 -21
  323. package/lib/components/pisellNavigationMenu/index.d.ts +0 -3
  324. package/lib/components/pisellQRScanner/index.d.ts +0 -37
  325. package/lib/components/pisellQrcode/index.d.ts +0 -10
  326. package/lib/components/pisellViewGrid/index.d.ts +0 -16
  327. package/lib/components/profileMenu/index.d.ts +0 -26
  328. package/lib/components/select/index.d.ts +0 -9
  329. package/lib/components/typography/index.d.ts +0 -2
  330. package/lib/components/versionModal/index.d.ts +0 -23
@@ -0,0 +1,11 @@
1
+ import "./Presets.less";
2
+ export declare type PresetsItem = {
3
+ label: string;
4
+ value: number | string;
5
+ };
6
+ export interface PresetsProps {
7
+ presets?: PresetsItem[];
8
+ onChange: (val: string) => void;
9
+ }
10
+ declare const Presets: (props: PresetsProps) => JSX.Element | null;
11
+ export default Presets;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ItemValue = string | number;
4
+ export interface Item {
5
+ value: ItemValue;
6
+ label: React.ReactNode;
7
+ disabled: boolean;
8
+ type: 'text' | 'primary';
9
+ style?: React.CSSProperties;
10
+ size?: number;
11
+ }
12
+ export interface KeyboardProps {
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ onChange?: (value?: ItemValue) => void;
16
+ items?: Item[];
17
+ rightItems?: Item[];
18
+ keydown?: boolean;
19
+ }
20
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
21
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export declare const formatStringToTime: (value: string) => {
2
+ valueArray: string[];
3
+ valueString: string;
4
+ previewValueArray: string[];
5
+ previewValueArrayDom: JSX.Element[];
6
+ previewValueString: string;
7
+ disabled: never[];
8
+ };
9
+ export declare const fn: () => void;
@@ -0,0 +1,11 @@
1
+ import { InputProps } from 'antd';
2
+ import './index.less';
3
+ export interface VirtualKeyInputProps extends InputProps {
4
+ previewValue?: string;
5
+ renderInput?: (props: any) => any;
6
+ showDelete?: boolean;
7
+ onValueSelect?: (selected: boolean) => void;
8
+ defaultSelect?: boolean;
9
+ }
10
+ declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
11
+ export default VirtualKeyInput;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { KeyboardProps } from "./Keyboard";
3
+ import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
+ import "./index.less";
5
+ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ keyboardProps?: KeyboardProps;
7
+ virtualKeyInputProps?: VirtualKeyInputProps;
8
+ rightPanel?: React.ReactNode;
9
+ style?: React.CSSProperties;
10
+ onChange?: (value?: any) => void;
11
+ value?: string;
12
+ }
13
+ declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
14
+ export default VirtualKeyboard;
@@ -157,13 +157,12 @@ var CardHeader = ({
157
157
  };
158
158
  var CardItem = ({ item, symbol }) => {
159
159
  const { key, label, value } = item;
160
- console.log("%c [ key ]-249", "font-size:13px; color:#bf2c9f;", key);
161
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-label" }, (0, import_locales.getText)(`walletCard-${label}`) || ""), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-value" }, key === "rechargeable" || key === "piont" ? /* @__PURE__ */ import_react.default.createElement(
160
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-label" }, (0, import_locales.getText)(`walletCard-${label}`) || ""), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-value" }, key === "rechargeable" ? /* @__PURE__ */ import_react.default.createElement(
162
161
  import_Amount.default,
163
162
  {
164
163
  className: "pisell-card-amount-item-value",
165
164
  platform: "h5",
166
- symbol: key !== "piont" ? symbol : void 0,
165
+ symbol,
167
166
  useThousandsSeparator: true,
168
167
  showCurrencySymbol: true,
169
168
  value
@@ -171,7 +170,16 @@ var CardItem = ({ item, symbol }) => {
171
170
  ) : value));
172
171
  };
173
172
  var CardContent = ({ items, symbol }) => {
174
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-list" }, (items || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol })));
173
+ const expectedOrder = ["piont", "balance", "discount", "voucher"];
174
+ const sortedItems = (0, import_react.useMemo)(() => {
175
+ if (!(items == null ? void 0 : items.length)) return [];
176
+ return [...items].sort((a, b) => {
177
+ const indexA = expectedOrder.indexOf(a.key);
178
+ const indexB = expectedOrder.indexOf(b.key);
179
+ return indexA - indexB;
180
+ });
181
+ }, [items]);
182
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-list" }, (sortedItems || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol })));
175
183
  };
176
184
  var CodeDisplay = ({ codeType, cardNo }) => {
177
185
  if (!cardNo) return null;
@@ -278,7 +286,7 @@ var WalletCard = (props) => {
278
286
  style,
279
287
  onClick
280
288
  },
281
- /* @__PURE__ */ import_react.default.createElement(import_antd.Card, { bodyStyle: { padding: 0 } }, /* @__PURE__ */ import_react.default.createElement(
289
+ /* @__PURE__ */ import_react.default.createElement(import_antd.Card, { style: { border: "none" }, bodyStyle: { padding: 0 } }, /* @__PURE__ */ import_react.default.createElement(
282
290
  "div",
283
291
  {
284
292
  className: "pisell-wallet-card-container",
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ variables: {
3
+ [key: string]: string;
4
+ };
5
+ ref: any;
6
+ }
7
+ declare const useCssVariables: (props: Props) => void;
8
+ export default useCssVariables;
@@ -35,8 +35,7 @@ var responsiveConfig = {
35
35
  function handleResize() {
36
36
  const oldInfo = info;
37
37
  calculate();
38
- if (oldInfo === info)
39
- return;
38
+ if (oldInfo === info) return;
40
39
  for (const subscriber of subscribers) {
41
40
  subscriber();
42
41
  }
@@ -58,8 +57,7 @@ function calculate() {
58
57
  }
59
58
  function configResponsive(config) {
60
59
  responsiveConfig = config;
61
- if (info)
62
- calculate();
60
+ if (info) calculate();
63
61
  }
64
62
  function useResponsive() {
65
63
  if (import_utils.isBrowser && !listening) {
@@ -70,8 +68,7 @@ function useResponsive() {
70
68
  }
71
69
  const [state, setState] = (0, import_react.useState)(info);
72
70
  (0, import_react.useEffect)(() => {
73
- if (!import_utils.isBrowser)
74
- return;
71
+ if (!import_utils.isBrowser) return;
75
72
  if (!listening) {
76
73
  window.addEventListener("resize", handleResize);
77
74
  }
@@ -207,7 +207,7 @@ var en_US_default = {
207
207
  "pisell-action-delete-success": "Deleted successfully",
208
208
  "pisell-action-delete-failed": "Delete failed, please try again",
209
209
  "walletCard-piont": "Points",
210
- "walletCard-rechargeable": "Recharge",
210
+ "walletCard-rechargeable": "Balance",
211
211
  "walletCard-voucher": "Voucher",
212
212
  "walletCard-discount": "Discount",
213
213
  //PisellQrcode组件
@@ -206,7 +206,7 @@ var zh_CN_default = {
206
206
  "pisell-action-delete-success": "删除成功",
207
207
  "pisell-action-delete-failed": "删除失败,请重试",
208
208
  "walletCard-piont": "积分",
209
- "walletCard-rechargeable": "充值卡",
209
+ "walletCard-rechargeable": "余额",
210
210
  "walletCard-voucher": "代金券",
211
211
  "walletCard-discount": "折扣卡",
212
212
  //PisellQrcode组件
@@ -206,7 +206,7 @@ var zh_TW_default = {
206
206
  "pisell-action-delete-success": "刪除成功",
207
207
  "pisell-action-delete-failed": "刪除失敗,請重試",
208
208
  "walletCard-piont": "積分",
209
- "walletCard-rechargeable": "充值卡",
209
+ "walletCard-rechargeable": "餘額",
210
210
  "walletCard-voucher": "代金券",
211
211
  "walletCard-discount": "折扣卡",
212
212
  //PisellQrcode组件
@@ -0,0 +1 @@
1
+ export declare const getCurrentLocale: () => string;
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -71,9 +71,9 @@
71
71
  "swiper": "^8.4.7",
72
72
  "react-barcode": "^1.5.3",
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
- "@pisell/date-picker": "1.0.100",
75
74
  "@pisell/icon": "0.0.11",
76
- "@pisell/utils": "1.0.42"
75
+ "@pisell/utils": "1.0.42",
76
+ "@pisell/date-picker": "1.0.100"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0",
@@ -1 +0,0 @@
1
- .materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}