@pisell/materials 6.6.10 → 6.6.12

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 (303) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.js +24 -24
  8. package/build/lowcode/view.js +23 -23
  9. package/es/components/DragSortList/index.d.ts +38 -0
  10. package/es/components/auto-complete/index.d.ts +2 -0
  11. package/es/components/auto-complete-number/index.d.ts +10 -0
  12. package/es/components/calendar/index.d.ts +2 -0
  13. package/es/components/cascader/index.d.ts +2 -0
  14. package/es/components/classicLayout/index.d.ts +4 -0
  15. package/es/components/component/index.d.ts +11 -0
  16. package/es/components/config-provider/index.js +6 -0
  17. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +8 -0
  18. package/es/components/dataSourceComponents/fields/Upload/constants.js +1 -1
  19. package/es/components/dataSourceComponents/fields/Upload/utils.js +1 -1
  20. package/es/components/dropdown/index.d.ts +3 -0
  21. package/es/components/filter/components/items/index.d.ts +41 -0
  22. package/es/components/filter/components/items/text/Editor/index.d.ts +2 -0
  23. package/es/components/filter/components/items/text/Preview/index.d.ts +2 -0
  24. package/es/components/filter/components/items/text/index.d.ts +11 -0
  25. package/es/components/filter/index.d.ts +4 -0
  26. package/es/components/icon/index.d.ts +12 -0
  27. package/es/components/input/index.d.ts +11 -0
  28. package/es/components/input-number-range/index.d.ts +15 -0
  29. package/es/components/list/index.d.ts +7 -0
  30. package/es/components/lowCodePage/index.d.ts +6 -0
  31. package/es/components/modal/index.d.ts +2 -0
  32. package/es/components/page/index.js +11 -1
  33. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +5 -1
  34. package/es/components/productCard/cartSkuCard/locales.js +16 -0
  35. package/es/components/productCard/components/Time/components/SelectHolder/index.js +3 -1
  36. package/es/components/productCard/locales.js +84 -0
  37. package/es/components/productCard/utils.js +8 -2
  38. package/es/components/qrcode/index.d.ts +3 -0
  39. package/es/components/select-time/index.d.ts +14 -0
  40. package/es/components/select-time/utils.d.ts +9 -0
  41. package/es/components/skeleton/index.d.ts +2 -0
  42. package/es/components/slider/index.d.ts +3 -0
  43. package/es/components/sort/components/InlineMenu/index.d.ts +15 -0
  44. package/es/components/table/Actions/component/ButtonIcon/index.d.ts +8 -0
  45. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +7 -0
  46. package/es/components/table/Actions/component/ColumnsSetting/utils.d.ts +1 -0
  47. package/es/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
  48. package/es/components/table/Actions/component/Group/index.d.ts +13 -0
  49. package/es/components/table/Actions/component/ViewMode/index.js +4 -3
  50. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +10 -0
  51. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +11 -0
  52. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +9 -0
  53. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +5 -0
  54. package/es/components/table/Gallery/components/VirtualGrid/useGenGridProps.d.ts +14 -0
  55. package/es/components/table/Gallery/types.d.ts +10 -0
  56. package/es/components/table/Header/Buttons/index.d.ts +3 -0
  57. package/es/components/table/Summary/index.d.ts +4 -0
  58. package/es/components/table/Table/SelectField/index.d.ts +3 -0
  59. package/es/components/table/Table/fields/date/Config/index.d.ts +3 -0
  60. package/es/components/table/Table/fields/date/Edit/index.d.ts +4 -0
  61. package/es/components/table/Table/fields/date/Show/index.d.ts +4 -0
  62. package/es/components/table/Table/fields/date/Sort/index.d.ts +3 -0
  63. package/es/components/table/Table/fields/date/filterUtil/index.d.ts +13 -0
  64. package/es/components/table/Table/fields/date/index.d.ts +15 -0
  65. package/es/components/table/Table/fields/image/Config/index.d.ts +3 -0
  66. package/es/components/table/Table/fields/image/Edit/index.d.ts +4 -0
  67. package/es/components/table/Table/fields/image/Show/index.d.ts +4 -0
  68. package/es/components/table/Table/fields/image/Sort/index.d.ts +3 -0
  69. package/es/components/table/Table/fields/image/index.d.ts +13 -0
  70. package/es/components/table/Table/fields/link/Config/index.d.ts +3 -0
  71. package/es/components/table/Table/fields/link/Edit/index.d.ts +4 -0
  72. package/es/components/table/Table/fields/link/Show/index.d.ts +4 -0
  73. package/es/components/table/Table/fields/link/Sort/index.d.ts +3 -0
  74. package/es/components/table/Table/fields/link/index.d.ts +13 -0
  75. package/es/components/table/Table/fields/number/Config/index.d.ts +3 -0
  76. package/es/components/table/Table/fields/number/Edit/index.d.ts +4 -0
  77. package/es/components/table/Table/fields/number/Show/index.d.ts +4 -0
  78. package/es/components/table/Table/fields/number/Sort/index.d.ts +3 -0
  79. package/es/components/table/Table/fields/number/filterUtil/index.d.ts +5 -0
  80. package/es/components/table/Table/fields/number/index.d.ts +15 -0
  81. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +3 -0
  82. package/es/components/table/Table/fields/numberRange/Edit/index.d.ts +4 -0
  83. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +4 -0
  84. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +3 -0
  85. package/es/components/table/Table/fields/numberRange/filterUtil/index.d.ts +8 -0
  86. package/es/components/table/Table/fields/numberRange/index.d.ts +15 -0
  87. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +3 -0
  88. package/es/components/table/Table/fields/pSwitch/Edit/index.d.ts +4 -0
  89. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +4 -0
  90. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +3 -0
  91. package/es/components/table/Table/fields/pSwitch/index.d.ts +13 -0
  92. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +3 -0
  93. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +4 -0
  94. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +3 -0
  95. package/es/components/table/Table/fields/rangePicker/filterUtil/index.d.ts +13 -0
  96. package/es/components/table/Table/fields/rangePicker/index.d.ts +15 -0
  97. package/es/components/table/Table/fields/search/Config/index.d.ts +3 -0
  98. package/es/components/table/Table/fields/search/Edit/index.d.ts +4 -0
  99. package/es/components/table/Table/fields/search/Show/index.d.ts +4 -0
  100. package/es/components/table/Table/fields/search/Sort/index.d.ts +3 -0
  101. package/es/components/table/Table/fields/search/filterUtil/index.d.ts +5 -0
  102. package/es/components/table/Table/fields/search/index.d.ts +15 -0
  103. package/es/components/table/Table/fields/select/Config/index.d.ts +3 -0
  104. package/es/components/table/Table/fields/select/Show/index.d.ts +4 -0
  105. package/es/components/table/Table/fields/select/Sort/index.d.ts +3 -0
  106. package/es/components/table/Table/fields/select/index.d.ts +15 -0
  107. package/es/components/table/Table/fields/text/Config/index.d.ts +3 -0
  108. package/es/components/table/Table/fields/text/Edit/index.d.ts +4 -0
  109. package/es/components/table/Table/fields/text/Show/index.d.ts +5 -0
  110. package/es/components/table/Table/fields/text/Sort/index.d.ts +3 -0
  111. package/es/components/table/Table/fields/text/filterUtil/index.d.ts +5 -0
  112. package/es/components/table/Table/fields/text/index.d.ts +15 -0
  113. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +3 -0
  114. package/es/components/table/Table/fields/treeSelect/Edit/index.d.ts +4 -0
  115. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +4 -0
  116. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +3 -0
  117. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +5 -0
  118. package/es/components/table/Table/fields/treeSelect/index.d.ts +15 -0
  119. package/es/components/table/Table/fields/utils/index.d.ts +1 -0
  120. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +4 -0
  121. package/es/components/table/Table/tableConfig/body/CellContent/index.d.ts +4 -0
  122. package/es/components/table/Table/tableConfig/body/CellProvider/index.d.ts +4 -0
  123. package/es/components/table/Table/tableConfig/header/CellProvider/index.d.ts +14 -0
  124. package/es/components/table/Table/tableConfig/header/index.d.ts +19 -0
  125. package/es/components/table/Table/tableConfig/summary/index.d.ts +3 -0
  126. package/es/components/table/TableFilter/SortIcon.d.ts +6 -0
  127. package/es/components/table/TableFilter/numberFilter.d.ts +6 -0
  128. package/es/components/table/TableFilter/selectFilter.d.ts +10 -0
  129. package/es/components/table/TableFilter/stringFilter.d.ts +6 -0
  130. package/es/components/table/hooks/useGenTableComponents.d.ts +16 -0
  131. package/es/components/table/hooks/useIsMobileTable.d.ts +2 -0
  132. package/es/components/table/hooks/useMergeColumnSetting.d.ts +18 -0
  133. package/es/components/table/hooks/useTransDataSourceGroupSetting.d.ts +7 -0
  134. package/es/components/table/hooks/useTransFilterSetting.d.ts +7 -0
  135. package/es/components/table/hooks/useTransSortSetting.d.ts +7 -0
  136. package/es/components/time-picker/index.d.ts +2 -0
  137. package/es/components/translation/index.js +12 -0
  138. package/es/components/translation/utils.js +3 -1
  139. package/es/components/tree-select/index.d.ts +2 -0
  140. package/es/components/upload/index.d.ts +2 -0
  141. package/es/components/virtual-keyboard/Time/utils.d.ts +9 -0
  142. package/es/components/walletCard/index.js +11 -3
  143. package/es/hooks/index.d.ts +3 -0
  144. package/es/hooks/useResponsive.d.ts +4 -0
  145. package/es/hooks/useSharedState.d.ts +11 -0
  146. package/es/locales/en-US.js +3 -0
  147. package/es/locales/index.js +6 -2
  148. package/es/locales/ja.js +385 -0
  149. package/es/locales/pt.js +385 -0
  150. package/es/locales/zh-CN.js +3 -0
  151. package/es/locales/zh-TW.js +3 -0
  152. package/es/utils/hoc.d.ts +17 -0
  153. package/es/utils/miniRedux.d.ts +17 -0
  154. package/es/utils/platform.d.ts +1 -0
  155. package/es/utils/warning.d.ts +1 -0
  156. package/lib/components/DragSortList/index.d.ts +38 -0
  157. package/lib/components/auto-complete/index.d.ts +2 -0
  158. package/lib/components/auto-complete-number/index.d.ts +10 -0
  159. package/lib/components/calendar/index.d.ts +2 -0
  160. package/lib/components/cascader/index.d.ts +2 -0
  161. package/lib/components/classicLayout/index.d.ts +4 -0
  162. package/lib/components/component/index.d.ts +11 -0
  163. package/lib/components/config-provider/index.js +6 -0
  164. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.js +5 -1
  165. package/lib/components/dataSourceComponents/fields/Upload/constants.js +1 -1
  166. package/lib/components/dataSourceComponents/fields/Upload/utils.js +1 -1
  167. package/lib/components/dropdown/index.d.ts +3 -0
  168. package/lib/components/filter/components/items/index.d.ts +41 -0
  169. package/lib/components/filter/components/items/text/Editor/index.d.ts +2 -0
  170. package/lib/components/filter/components/items/text/Preview/index.d.ts +2 -0
  171. package/lib/components/filter/components/items/text/index.d.ts +11 -0
  172. package/lib/components/filter/index.d.ts +4 -0
  173. package/lib/components/icon/index.d.ts +12 -0
  174. package/lib/components/input/index.d.ts +11 -0
  175. package/lib/components/input-number-range/index.d.ts +15 -0
  176. package/lib/components/list/index.d.ts +7 -0
  177. package/lib/components/lowCodePage/index.d.ts +6 -0
  178. package/lib/components/modal/index.d.ts +2 -0
  179. package/lib/components/page/index.js +11 -1
  180. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +5 -1
  181. package/lib/components/productCard/cartSkuCard/locales.js +18 -0
  182. package/lib/components/productCard/components/Time/components/SelectHolder/index.js +2 -1
  183. package/lib/components/productCard/locales.js +60 -0
  184. package/lib/components/productCard/utils.js +8 -2
  185. package/lib/components/qrcode/index.d.ts +3 -0
  186. package/lib/components/select-time/index.d.ts +14 -0
  187. package/lib/components/select-time/utils.d.ts +9 -0
  188. package/lib/components/skeleton/index.d.ts +2 -0
  189. package/lib/components/slider/index.d.ts +3 -0
  190. package/lib/components/sort/components/InlineMenu/index.d.ts +15 -0
  191. package/lib/components/table/Actions/component/ButtonIcon/index.d.ts +8 -0
  192. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +7 -0
  193. package/lib/components/table/Actions/component/ColumnsSetting/utils.d.ts +1 -0
  194. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
  195. package/lib/components/table/Actions/component/Group/index.d.ts +13 -0
  196. package/lib/components/table/Actions/component/ViewMode/index.js +4 -3
  197. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +10 -0
  198. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +11 -0
  199. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +9 -0
  200. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +5 -0
  201. package/lib/components/table/Gallery/components/VirtualGrid/useGenGridProps.d.ts +14 -0
  202. package/lib/components/table/Gallery/types.d.ts +10 -0
  203. package/lib/components/table/Header/Buttons/index.d.ts +3 -0
  204. package/lib/components/table/Summary/index.d.ts +4 -0
  205. package/lib/components/table/Table/SelectField/index.d.ts +3 -0
  206. package/lib/components/table/Table/fields/date/Config/index.d.ts +3 -0
  207. package/lib/components/table/Table/fields/date/Edit/index.d.ts +4 -0
  208. package/lib/components/table/Table/fields/date/Show/index.d.ts +4 -0
  209. package/lib/components/table/Table/fields/date/Sort/index.d.ts +3 -0
  210. package/lib/components/table/Table/fields/date/filterUtil/index.d.ts +13 -0
  211. package/lib/components/table/Table/fields/date/index.d.ts +15 -0
  212. package/lib/components/table/Table/fields/image/Config/index.d.ts +3 -0
  213. package/lib/components/table/Table/fields/image/Edit/index.d.ts +4 -0
  214. package/lib/components/table/Table/fields/image/Show/index.d.ts +4 -0
  215. package/lib/components/table/Table/fields/image/Sort/index.d.ts +3 -0
  216. package/lib/components/table/Table/fields/image/index.d.ts +13 -0
  217. package/lib/components/table/Table/fields/link/Config/index.d.ts +3 -0
  218. package/lib/components/table/Table/fields/link/Edit/index.d.ts +4 -0
  219. package/lib/components/table/Table/fields/link/Show/index.d.ts +4 -0
  220. package/lib/components/table/Table/fields/link/Sort/index.d.ts +3 -0
  221. package/lib/components/table/Table/fields/link/index.d.ts +13 -0
  222. package/lib/components/table/Table/fields/number/Config/index.d.ts +3 -0
  223. package/lib/components/table/Table/fields/number/Edit/index.d.ts +4 -0
  224. package/lib/components/table/Table/fields/number/Show/index.d.ts +4 -0
  225. package/lib/components/table/Table/fields/number/Sort/index.d.ts +3 -0
  226. package/lib/components/table/Table/fields/number/filterUtil/index.d.ts +5 -0
  227. package/lib/components/table/Table/fields/number/index.d.ts +15 -0
  228. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +3 -0
  229. package/lib/components/table/Table/fields/numberRange/Edit/index.d.ts +4 -0
  230. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +4 -0
  231. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +3 -0
  232. package/lib/components/table/Table/fields/numberRange/filterUtil/index.d.ts +8 -0
  233. package/lib/components/table/Table/fields/numberRange/index.d.ts +15 -0
  234. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +3 -0
  235. package/lib/components/table/Table/fields/pSwitch/Edit/index.d.ts +4 -0
  236. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +4 -0
  237. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +3 -0
  238. package/lib/components/table/Table/fields/pSwitch/index.d.ts +13 -0
  239. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +3 -0
  240. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +4 -0
  241. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +3 -0
  242. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.d.ts +13 -0
  243. package/lib/components/table/Table/fields/rangePicker/index.d.ts +15 -0
  244. package/lib/components/table/Table/fields/search/Config/index.d.ts +3 -0
  245. package/lib/components/table/Table/fields/search/Edit/index.d.ts +4 -0
  246. package/lib/components/table/Table/fields/search/Show/index.d.ts +4 -0
  247. package/lib/components/table/Table/fields/search/Sort/index.d.ts +3 -0
  248. package/lib/components/table/Table/fields/search/filterUtil/index.d.ts +5 -0
  249. package/lib/components/table/Table/fields/search/index.d.ts +15 -0
  250. package/lib/components/table/Table/fields/select/Config/index.d.ts +3 -0
  251. package/lib/components/table/Table/fields/select/Show/index.d.ts +4 -0
  252. package/lib/components/table/Table/fields/select/Sort/index.d.ts +3 -0
  253. package/lib/components/table/Table/fields/select/index.d.ts +15 -0
  254. package/lib/components/table/Table/fields/text/Config/index.d.ts +3 -0
  255. package/lib/components/table/Table/fields/text/Edit/index.d.ts +4 -0
  256. package/lib/components/table/Table/fields/text/Show/index.d.ts +5 -0
  257. package/lib/components/table/Table/fields/text/Sort/index.d.ts +3 -0
  258. package/lib/components/table/Table/fields/text/filterUtil/index.d.ts +5 -0
  259. package/lib/components/table/Table/fields/text/index.d.ts +15 -0
  260. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +3 -0
  261. package/lib/components/table/Table/fields/treeSelect/Edit/index.d.ts +4 -0
  262. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +4 -0
  263. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +3 -0
  264. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +5 -0
  265. package/lib/components/table/Table/fields/treeSelect/index.d.ts +15 -0
  266. package/lib/components/table/Table/fields/utils/index.d.ts +1 -0
  267. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +4 -0
  268. package/lib/components/table/Table/tableConfig/body/CellContent/index.d.ts +4 -0
  269. package/lib/components/table/Table/tableConfig/body/CellProvider/index.d.ts +4 -0
  270. package/lib/components/table/Table/tableConfig/header/CellProvider/index.d.ts +14 -0
  271. package/lib/components/table/Table/tableConfig/header/index.d.ts +19 -0
  272. package/lib/components/table/Table/tableConfig/summary/index.d.ts +3 -0
  273. package/lib/components/table/TableFilter/SortIcon.d.ts +6 -0
  274. package/lib/components/table/TableFilter/numberFilter.d.ts +6 -0
  275. package/lib/components/table/TableFilter/selectFilter.d.ts +10 -0
  276. package/lib/components/table/TableFilter/stringFilter.d.ts +6 -0
  277. package/lib/components/table/hooks/useGenTableComponents.d.ts +16 -0
  278. package/lib/components/table/hooks/useIsMobileTable.d.ts +2 -0
  279. package/lib/components/table/hooks/useMergeColumnSetting.d.ts +18 -0
  280. package/lib/components/table/hooks/useTransDataSourceGroupSetting.d.ts +7 -0
  281. package/lib/components/table/hooks/useTransFilterSetting.d.ts +7 -0
  282. package/lib/components/table/hooks/useTransSortSetting.d.ts +7 -0
  283. package/lib/components/time-picker/index.d.ts +2 -0
  284. package/lib/components/translation/index.js +14 -0
  285. package/lib/components/translation/utils.js +3 -1
  286. package/lib/components/tree-select/index.d.ts +2 -0
  287. package/lib/components/upload/index.d.ts +2 -0
  288. package/lib/components/virtual-keyboard/Time/utils.d.ts +9 -0
  289. package/lib/components/walletCard/index.js +11 -3
  290. package/lib/hooks/index.d.ts +3 -0
  291. package/lib/hooks/useResponsive.d.ts +4 -0
  292. package/lib/hooks/useSharedState.d.ts +11 -0
  293. package/lib/locales/en-US.js +3 -0
  294. package/lib/locales/index.js +6 -2
  295. package/lib/locales/ja.js +369 -0
  296. package/lib/locales/pt.js +369 -0
  297. package/lib/locales/zh-CN.js +3 -0
  298. package/lib/locales/zh-TW.js +3 -0
  299. package/lib/utils/hoc.d.ts +17 -0
  300. package/lib/utils/miniRedux.d.ts +17 -0
  301. package/lib/utils/platform.d.ts +1 -0
  302. package/lib/utils/warning.d.ts +1 -0
  303. package/package.json +3 -3
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { GallerySettingType } from "../../../../../types";
3
+ import "./index.less";
4
+ declare type TitleProps = GallerySettingType["title"] & {
5
+ record: Record<string, any>;
6
+ columnsMap: Map<string, Record<string, any>>;
7
+ };
8
+ declare const Title: (props: TitleProps) => React.JSX.Element;
9
+ export default Title;
@@ -0,0 +1,5 @@
1
+ declare const useGapSize: (gap: number | number[]) => {
2
+ horizontal: number;
3
+ vertical: number;
4
+ };
5
+ export default useGapSize;
@@ -0,0 +1,14 @@
1
+ declare type UseGenGridProps = {
2
+ itemMinWidth: number;
3
+ itemMaxWidth: number;
4
+ width: number;
5
+ dataSource: Record<string, any>[];
6
+ horizontal: number;
7
+ vertical: number;
8
+ };
9
+ declare const useGenGridProps: (params: UseGenGridProps) => {
10
+ columnCount: number;
11
+ columnWidth: number;
12
+ rowCount: number;
13
+ };
14
+ export default useGenGridProps;
@@ -0,0 +1,10 @@
1
+ import { GallerySettingType, GridViewProps } from "../types";
2
+ import { FilterType } from "../../filter/types";
3
+ export declare type GalleryProps = {
4
+ gallery: GallerySettingType;
5
+ filter: FilterType;
6
+ pagination: any;
7
+ rowKey: ((record: Record<string, any>) => string) | string;
8
+ loading: boolean;
9
+ onDataSourceChange: GridViewProps['onDataSourceChange'];
10
+ };
@@ -0,0 +1,3 @@
1
+ import "./index.less";
2
+ declare const Buttons: ({ list, style }: any) => any;
3
+ export default Buttons;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const Summary: ({ summary }: any) => React.JSX.Element | null;
4
+ export default Summary;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SelectField: () => React.JSX.Element;
3
+ export default SelectField;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import { FieldPropsType } from "../../types";
2
+ import React from "react";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,13 @@
1
+ import { Dayjs } from "dayjs";
2
+ /**
3
+ * 判断filters和dataSource日期是否为同一天
4
+ * @param value 日期字符串或Dayjs对象
5
+ * @param key 键名
6
+ * @param item 对象
7
+ * @returns 若两个日期为同一天则返回true,否则返回false
8
+ */
9
+ export default function ({ value, key, item, }: {
10
+ value: string | Dayjs;
11
+ key: string | string[];
12
+ item: Record<string, any>;
13
+ }): boolean;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ field: {
3
+ field_icon: string;
4
+ field_name: string;
5
+ field_type: string;
6
+ default_value: string;
7
+ };
8
+ config: () => import("react").JSX.Element;
9
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
10
+ sort: () => import("react").JSX.Element;
11
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
12
+ };
13
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import { FieldPropsType } from "../../types";
2
+ import React from "react";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ field: {
3
+ field_icon: string;
4
+ field_name: string;
5
+ field_type: string;
6
+ default_value: string;
7
+ };
8
+ config: () => import("react").JSX.Element;
9
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
10
+ sort: () => import("react").JSX.Element;
11
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
12
+ };
13
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,5 @@
1
+ export default function ({ value, key, item, }: {
2
+ value: number | string;
3
+ key: string | string[];
4
+ item: Record<string, any>;
5
+ }): boolean;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,8 @@
1
+ export default function ({ value, key, item, }: {
2
+ value?: {
3
+ min: number;
4
+ max: number;
5
+ };
6
+ key: string | string[];
7
+ item: Record<string, any>;
8
+ }): boolean;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ export default Config;
@@ -0,0 +1,4 @@
1
+ import { EditPropsType } from "../../types";
2
+ import React from "react";
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<EditPropsType, "ref"> & React.RefAttributes<any>>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { FieldPropsType } from "../../types";
2
+ import React from "react";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ field: {
3
+ field_icon: string;
4
+ field_name: string;
5
+ field_type: string;
6
+ default_value: boolean;
7
+ };
8
+ config: () => import("react").JSX.Element;
9
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
10
+ sort: () => import("react").JSX.Element;
11
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
12
+ };
13
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ export default Config;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,13 @@
1
+ import { Dayjs } from "dayjs";
2
+ /**
3
+ * 判断dataSource日期是否在filters范围内
4
+ * @param value 日期数组
5
+ * @param key 对应日期在对象中的键
6
+ * @param item 包含日期的对象
7
+ * @returns 如果日期在给定范围内返回true,否则返回false
8
+ */
9
+ export default function ({ value, key, item, }: {
10
+ value: (string | Dayjs)[];
11
+ key: string | string[];
12
+ item: Record<string, any>;
13
+ }): boolean;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,5 @@
1
+ export default function ({ value, key, item, }: {
2
+ value: string;
3
+ key: string | string[];
4
+ item: Record<string, any>;
5
+ }): boolean | undefined;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ export default Config;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ import "./index.less";
4
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
5
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,5 @@
1
+ export default function ({ value, key, item, }: {
2
+ value: string;
3
+ key: string | string[];
4
+ item: Record<string, any>;
5
+ }): boolean | undefined;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Config: () => React.JSX.Element;
3
+ 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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { FieldPropsType } from "../../types";
3
+ declare const Show: (props: FieldPropsType) => React.JSX.Element;
4
+ export default Show;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Sort: () => React.JSX.Element;
3
+ export default Sort;
@@ -0,0 +1,5 @@
1
+ export default function ({ value, key, item, }: {
2
+ value: string | string[] | Record<string, any>[];
3
+ key: string | string[];
4
+ item: Record<string, any>;
5
+ }): boolean;
@@ -0,0 +1,15 @@
1
+ import filter from "./filterUtil";
2
+ declare const _default: {
3
+ field: {
4
+ field_icon: string;
5
+ field_name: string;
6
+ field_type: string;
7
+ default_value: string;
8
+ };
9
+ config: () => import("react").JSX.Element;
10
+ edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
11
+ sort: () => import("react").JSX.Element;
12
+ show: (props: import("../types").FieldPropsType) => import("react").JSX.Element;
13
+ filterFn: typeof filter;
14
+ };
15
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const getValueByKeys: (obj: Record<string, any>, keys: string[] | string) => any;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const SortRow: ({ children, rowKey, onSortChange }: any) => React.JSX.Element;
4
+ export default SortRow;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const CellProvider: React.FC<any>;
4
+ export default CellProvider;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const CellProvider: React.FC<any>;
4
+ export default CellProvider;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface CustomHeaderCellProps {
4
+ children: React.ReactNode;
5
+ dataIndex: any;
6
+ record: object;
7
+ width: number;
8
+ field_type: string;
9
+ onResize: (index: number) => void;
10
+ style?: any;
11
+ lock?: 0 | 1;
12
+ }
13
+ declare const CustomHeaderCell: React.FC<CustomHeaderCellProps>;
14
+ export default CustomHeaderCell;
@@ -0,0 +1,19 @@
1
+ import "react-resizable/css/styles.css";
2
+ import React from "react";
3
+ export interface CustomHeaderCellProps {
4
+ children: React.ReactNode;
5
+ dataIndex: any;
6
+ record: object;
7
+ width: number;
8
+ field_type: string;
9
+ onResize: (index: number) => void;
10
+ style?: any;
11
+ lock?: 0 | 1;
12
+ editable?: boolean;
13
+ position: 'start' | 'end' | "";
14
+ }
15
+ declare const _default: {
16
+ Row: React.FC<any>;
17
+ Cell: React.FC<CustomHeaderCellProps>;
18
+ };
19
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const summary: (props: any) => React.JSX.Element;
3
+ export default summary;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface SortIconProps {
3
+ sortOrder: null | "ascend" | "descend";
4
+ }
5
+ declare const SortIcon: (props: SortIconProps) => React.JSX.Element;
6
+ export default SortIcon;