@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,17 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellFloatingPanelProps {
4
+ fullHeight?: string | number;
5
+ retractHeight?: string | number;
6
+ width?: string | number;
7
+ open?: boolean;
8
+ onOpenChange?: (open: boolean) => void;
9
+ defaultOpen?: boolean;
10
+ isFloat?: boolean;
11
+ children?: React.ReactNode;
12
+ retractSlot?: React.ReactNode;
13
+ style?: React.CSSProperties;
14
+ retractIconStyle?: React.CSSProperties;
15
+ }
16
+ declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => JSX.Element;
17
+ export default PisellFloatingPanel;
@@ -0,0 +1,8 @@
1
+ declare type Peripherals = {
2
+ scanner: 'none' | 'connected' | 'disconnect';
3
+ nfc: 'none' | 'connected' | 'disconnect';
4
+ };
5
+ declare const useTerminalPeripherals: (onChange?: ((val: string) => void) | undefined) => {
6
+ peripheralsStatus: Peripherals;
7
+ };
8
+ export default useTerminalPeripherals;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 判断设备是否包含摄像头
3
+ */
4
+ export declare const hasCamera: () => Promise<boolean>;
@@ -0,0 +1,10 @@
1
+ import { InputProps } from 'antd';
2
+ import { PisellContextType } from "../../../pisell-config-provider/context";
3
+ import './index.less';
4
+ export declare type BankCardProps = InputProps & {
5
+ /** 平台 */
6
+ platform?: PisellContextType['platform'];
7
+ onChange?: (val: string) => void;
8
+ };
9
+ declare const BankCard: (props: BankCardProps) => JSX.Element;
10
+ export default BankCard;
@@ -0,0 +1,11 @@
1
+ export declare const getCardType: (str: string) => "jcb" | "amex" | "visa" | "masterCard" | "unionPay" | "discover" | undefined;
2
+ export declare const bankTypeMap: {
3
+ jcb: any;
4
+ amex: any;
5
+ masterCard: any;
6
+ visa: any;
7
+ unionPay: any;
8
+ discover: any;
9
+ };
10
+ export declare const getCardImgByType: (type: keyof typeof bankTypeMap) => any;
11
+ export declare const getBankCardTypeImg: (val: number | string) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps, ButtonProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  export interface CopyProps extends InputProps {
@@ -0,0 +1,11 @@
1
+ import { InputProps } from 'antd';
2
+ import './index.less';
3
+ import { PisellContextType } from "../../../pisell-config-provider/context";
4
+ export interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
5
+ /** 平台 */
6
+ platform?: PisellContextType['platform'];
7
+ onChange?: (val: string) => void;
8
+ showCVCIcon?: boolean;
9
+ }
10
+ declare const SecurityCode: (props: SecurityCodeProps) => JSX.Element;
11
+ export default SecurityCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {
@@ -0,0 +1,4 @@
1
+ import type { MessageInstance } from 'antd/es/message/interface';
2
+ declare let message: MessageInstance;
3
+ declare const setMessage: (m: MessageInstance) => void;
4
+ export { message, setMessage };
@@ -0,0 +1,30 @@
1
+ import { ModalFuncProps } from 'antd';
2
+ import { useAppProps } from 'antd/es/app/context';
3
+ import { PisellContextType } from '../../../pisell-config-provider/context';
4
+ import './index.less';
5
+ declare const setModal: (m: useAppProps['modal']) => void;
6
+ export interface PisellModalFuncProps extends ModalFuncProps {
7
+ platform?: PisellContextType['platform'];
8
+ }
9
+ export declare const info: (props: PisellModalFuncProps) => {
10
+ destroy: () => void;
11
+ update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
12
+ };
13
+ export declare const success: (props: PisellModalFuncProps) => {
14
+ destroy: () => void;
15
+ update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
16
+ };
17
+ export declare const error: (props: PisellModalFuncProps) => {
18
+ destroy: () => void;
19
+ update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
20
+ };
21
+ export declare const warning: (props: PisellModalFuncProps) => {
22
+ destroy: () => void;
23
+ update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
24
+ };
25
+ export declare const warn: (props: PisellModalFuncProps) => any;
26
+ export declare const confirm: (props: PisellModalFuncProps) => {
27
+ destroy: () => void;
28
+ update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
29
+ };
30
+ export { setModal };
@@ -0,0 +1,6 @@
1
+ declare const sizeMap: {
2
+ large: number;
3
+ middle: number;
4
+ small: number;
5
+ };
6
+ export { sizeMap };
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { BrowserMultiFormatReader } from '@zxing/library';
3
+ import './index.less';
4
+ export interface PisellScanProps extends Omit<React.HTMLAttributes<HTMLVideoElement>, 'onChange'> {
5
+ /** 当前scan展示宽度 */
6
+ width: string | number;
7
+ /** 当前scan展示高度 */
8
+ height?: string | number;
9
+ /** 当前scan圆角 */
10
+ borderRadius?: string | number;
11
+ /** 扫描完成回调 */
12
+ onChange?: (val: string) => void;
13
+ /** 扫描间隔时间 毫秒 */
14
+ timeBetweenScansMillis?: number;
15
+ }
16
+ export declare type PisellScanRef = {
17
+ codeReader: BrowserMultiFormatReader | null;
18
+ };
19
+ /**
20
+ * 二维码条形码扫描组件
21
+ */
22
+ declare const PisellScan: React.ForwardRefExoticComponent<PisellScanProps & React.RefAttributes<PisellScanRef>>;
23
+ export default PisellScan;
@@ -0,0 +1,9 @@
1
+ import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
+ import { PisellContextType } from "../pisell-config-provider/context";
3
+ import './index.less';
4
+ export interface PisellTooltipProps extends TooltipPropsWithTitle {
5
+ /** 平台 */
6
+ platform?: PisellContextType['platform'];
7
+ }
8
+ declare const PisellTooltip: (props: PisellTooltipProps) => JSX.Element;
9
+ export default PisellTooltip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellWalletPassCardProps {
3
4
  id?: number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const QRCode: (props: any) => JSX.Element;
2
3
  export default QRCode;
@@ -0,0 +1,4 @@
1
+ import { SegmentedProps } from "antd";
2
+ import "./index.less";
3
+ declare const Segmented: (props: SegmentedProps) => JSX.Element;
4
+ export default Segmented;
@@ -0,0 +1,8 @@
1
+ import './index.less';
2
+ interface RightPanelProps {
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ slice: number;
6
+ }
7
+ declare const RightPanel: (props: RightPanelProps) => JSX.Element;
8
+ export default RightPanel;
@@ -0,0 +1,9 @@
1
+ export declare const sliceDayIntoFiveMinutes: (slice: number) => {
2
+ label: string;
3
+ value: string;
4
+ }[];
5
+ export declare const findNextSlice: ({ timeSlices, index, date }: {
6
+ timeSlices: any[];
7
+ index?: number | undefined;
8
+ date?: string | undefined;
9
+ }) => any;
@@ -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 {
@@ -0,0 +1,20 @@
1
+ import { MenuProps } from "antd";
2
+ import React from "react";
3
+ export declare type SortItemProps = {
4
+ type: "date" | "string" | "number";
5
+ label?: string;
6
+ name?: string | string[];
7
+ isCustom: boolean;
8
+ columnKey?: string;
9
+ localFilter?: boolean;
10
+ isHidden?: boolean;
11
+ };
12
+ export declare type SortListProps = {
13
+ list: SortItemProps[];
14
+ onChange?: (val: string, detail: Parameters<Required<MenuProps>["onClick"]>[0]) => void;
15
+ button?: React.ReactNode;
16
+ style?: React.CSSProperties;
17
+ value?: any;
18
+ placement?: "bottom" | "bottomLeft" | "bottomRight" | "top" | "topLeft" | "topRight";
19
+ localPagination?: boolean;
20
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @Title: 格式化日期
3
+ * @Describe:
4
+ * @Author: Wzw
5
+ * @param {string} date
6
+ * @param {string} format
7
+ */
8
+ export declare const formatDate: (date: any, format?: string[]) => any;
@@ -0,0 +1,3 @@
1
+ export declare const windowOpen: (url: string, target?: string) => void;
2
+ declare const _default: (sUrl: string, fileName?: string) => boolean;
3
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TableProps } from 'antd';
2
3
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
3
4
  export default BasicTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type RenderFieldsProps = {
3
4
  fields: string[];
@@ -0,0 +1,4 @@
1
+ export declare const FIELD_VALUE_HEIGHT = 55;
2
+ export declare const FIELD_LABEL_HEIGHT = 26;
3
+ export declare const TITLE_LENE_HEIGHT = 32;
4
+ export declare const TITLE_VERTICAL_SPACING = 18;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -40,17 +40,14 @@ function filterUtil_default({
40
40
  key,
41
41
  item
42
42
  }) {
43
- if (!value)
44
- return true;
43
+ if (!value) return true;
45
44
  const valueDayjsObj = (0, import_dayjs.default)(value);
46
45
  if (!valueDayjsObj.isValid()) {
47
46
  return true;
48
47
  }
49
48
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
50
- if ((0, import_utils.isUndefined)(dataValue))
51
- return false;
49
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
52
50
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
53
- if (!dataDayjsObj.isValid())
54
- return false;
51
+ if (!dataDayjsObj.isValid()) return false;
55
52
  return dataDayjsObj.isSame(valueDayjsObj, "day");
56
53
  }
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,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;
@@ -0,0 +1,2 @@
1
+ declare const Config: () => JSX.Element;
2
+ export default Config;
@@ -0,0 +1,3 @@
1
+ import { FieldPropsType } from "../../types";
2
+ declare const Show: (props: FieldPropsType) => JSX.Element;
3
+ export default Show;
@@ -0,0 +1,2 @@
1
+ declare const Sort: () => JSX.Element;
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -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;
@@ -43,19 +43,15 @@ function filterUtil_default({
43
43
  key,
44
44
  item
45
45
  }) {
46
- if (!value)
47
- return true;
48
- if ((value == null ? void 0 : value.length) !== 2)
49
- return true;
46
+ if (!value) return true;
47
+ if ((value == null ? void 0 : value.length) !== 2) return true;
50
48
  const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
51
49
  if (valueDayjsObj.some((item2) => !item2.isValid())) {
52
50
  return true;
53
51
  }
54
52
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
55
- if ((0, import_utils.isUndefined)(dataValue))
56
- return false;
53
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
57
54
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
58
- if (!dataDayjsObj.isValid())
59
- return false;
55
+ if (!dataDayjsObj.isValid()) return false;
60
56
  return isDateInRange(dataDayjsObj, valueDayjsObj);
61
57
  }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { EditPropsType } from "../../types";
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<EditPropsType, "ref"> & React.RefAttributes<any>>;
4
+ export default _default;
@@ -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,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
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,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,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -25,8 +25,7 @@ module.exports = __toCommonJS(utils_exports);
25
25
  var import_utils = require("@pisell/utils");
26
26
  var getValueByKeys = (obj, keys) => {
27
27
  var _a;
28
- if (!keys)
29
- return keys;
28
+ if (!keys) return keys;
30
29
  if ((0, import_utils.isString)(keys)) {
31
30
  keys = [keys];
32
31
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
3
4
  export default SortRow;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_setting")[];
158
+ }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SortIconProps {
3
2
  sortOrder: null | "ascend" | "descend";
4
3
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;
@@ -0,0 +1,22 @@
1
+ declare type useGenScrollParams = {
2
+ wrapHeight: number;
3
+ scroll?: {
4
+ x: number;
5
+ y: number;
6
+ scrollToFirstRowOnChange?: boolean;
7
+ autoCalc?: boolean;
8
+ };
9
+ columns: any[];
10
+ isShowPagination: boolean;
11
+ };
12
+ declare const useGenScroll: (params: useGenScrollParams) => {
13
+ x: number;
14
+ y: number;
15
+ scrollToFirstRowOnChange?: boolean | undefined;
16
+ autoCalc?: boolean | undefined;
17
+ } | {
18
+ x: any;
19
+ y: number;
20
+ scrollToFirstRowOnChange: boolean | undefined;
21
+ } | undefined;
22
+ export default useGenScroll;
@@ -0,0 +1,13 @@
1
+ declare type exportParams = {
2
+ ids?: Array<string | number>;
3
+ file_name?: string;
4
+ form_id?: string | number;
5
+ code?: string;
6
+ url?: string;
7
+ };
8
+ export declare const exportData: (params: exportParams) => Promise<any>;
9
+ export declare const batchImport: (params: any) => Promise<any>;
10
+ export declare const importTemplate: (params: exportParams) => Promise<any>;
11
+ export declare const getExportFile: (params: any) => Promise<any>;
12
+ export declare const getImportLog: (params: any) => Promise<any>;
13
+ export {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TimePicker: (props: any) => JSX.Element;
3
2
  export default TimePicker;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Upload: (props: any) => JSX.Element;
3
2
  export default Upload;