@pisell/materials 2.2.108 → 2.2.110

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 (276) 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/preview.js +164 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +53 -23
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +58 -28
  11. package/es/components/appVersionControl/index.d.ts +4 -0
  12. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  13. package/es/components/auto-resize-text/auto-text-size-standalone.js +258 -0
  14. package/es/components/auto-resize-text/index.d.ts +6 -0
  15. package/es/components/auto-resize-text/index.js +40 -0
  16. package/es/components/cardPro/index.d.ts +3 -0
  17. package/es/components/cardPro/index.js +10 -3
  18. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  19. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +11 -4
  22. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +7 -2
  24. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  27. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +35 -15
  28. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +2 -1
  29. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +92 -6
  30. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  31. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +10 -0
  32. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +10 -0
  33. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  34. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  35. package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
  36. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  37. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +199 -19
  38. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +6 -0
  39. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.js +66 -0
  40. package/es/components/dataSourceComponents/fields/Upload/index.js +4 -3
  41. package/es/components/dataSourceComponents/fields/Upload/index.less +35 -3
  42. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  43. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  44. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  45. package/es/components/date-picker/index.d.ts +1 -0
  46. package/es/components/drag-sort-tree/index.d.ts +4 -0
  47. package/es/components/filter/index.d.ts +0 -1
  48. package/es/components/filter/types.d.ts +3 -0
  49. package/es/components/iconfont/index.d.ts +8 -0
  50. package/es/components/iconfont/index.js +1 -1
  51. package/es/components/keyboard/index.d.ts +22 -0
  52. package/es/components/keyboard/index.js +159 -0
  53. package/es/components/keyboard/index.less +44 -0
  54. package/es/components/list/index.d.ts +0 -1
  55. package/es/components/login-and-register/index.d.ts +82 -0
  56. package/es/components/page/index.d.ts +1 -0
  57. package/es/components/pisell-config-provider/index.d.ts +13 -0
  58. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  59. package/es/components/pisellCamera/index.d.ts +4 -0
  60. package/es/components/pisellCamera/index.js +228 -0
  61. package/es/components/pisellCamera/index.less +131 -0
  62. package/es/components/pisellEmpty/index.d.ts +19 -0
  63. package/es/components/pisellInput/index.d.ts +1 -0
  64. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  65. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  66. package/es/components/pisellModal/components/index.d.ts +1 -0
  67. package/es/components/pisellQRScanner/index.d.ts +0 -13
  68. package/es/components/pisellQRScanner/index.js +0 -8
  69. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  70. package/es/components/pisellWalletPassCard/index.d.ts +136 -0
  71. package/es/components/pisellWalletPassCard/index.js +6 -3
  72. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  73. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  74. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  75. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +1 -0
  76. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +73 -5
  77. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +39 -0
  78. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  79. package/es/components/productCard/cartSkuCard/index.js +2 -11
  80. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  81. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  82. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  83. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  84. package/es/components/productCard/components/Time/index.d.ts +3 -0
  85. package/es/components/select-time/index.d.ts +1 -0
  86. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  87. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  88. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  89. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  90. package/es/components/table/Actions/index.d.ts +1 -0
  91. package/es/components/table/Actions/index.js +4 -1
  92. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  93. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  94. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  95. package/es/components/table/Gallery/index.d.ts +5 -0
  96. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  97. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  98. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  99. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  100. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  101. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  102. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  103. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  104. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  105. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  106. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  107. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  108. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  109. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  110. package/es/components/table/Table/index.d.ts +4 -0
  111. package/es/components/table/Table/utils.d.ts +161 -0
  112. package/es/components/table/Table/utils.js +22 -1
  113. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  114. package/es/components/table/hooks/useTableSetting.js +113 -5
  115. package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
  116. package/es/components/table/index.js +14 -3
  117. package/es/components/table/types.d.ts +268 -0
  118. package/es/components/translation/index.d.ts +14 -0
  119. package/es/components/versionModal/index.d.ts +23 -0
  120. package/es/components/versionSelect/index.d.ts +1 -0
  121. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  122. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +21 -7
  123. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  124. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  125. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +44 -25
  126. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  127. package/es/components/virtualInput/BaseVirtualInput/index.js +163 -0
  128. package/es/components/virtualInput/BaseVirtualInput/index.less +77 -0
  129. package/es/components/virtualInput/index.d.ts +24 -0
  130. package/es/components/virtualInput/index.js +60 -0
  131. package/es/components/virtualInput/index.less +42 -0
  132. package/es/components/walletCard/index.d.ts +71 -0
  133. package/es/index.d.ts +144 -0
  134. package/es/index.js +4 -1
  135. package/es/locales/en-US.d.ts +307 -0
  136. package/es/locales/en-US.js +29 -1
  137. package/es/locales/zh-CN.d.ts +302 -0
  138. package/es/locales/zh-CN.js +29 -1
  139. package/es/locales/zh-TW.d.ts +302 -0
  140. package/es/locales/zh-TW.js +29 -1
  141. package/es/utils/platform.d.ts +1 -1
  142. package/lib/components/appVersionControl/index.d.ts +4 -0
  143. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  144. package/lib/components/auto-resize-text/auto-text-size-standalone.js +273 -0
  145. package/lib/components/auto-resize-text/index.d.ts +6 -0
  146. package/lib/components/auto-resize-text/index.js +71 -0
  147. package/lib/components/cardPro/index.d.ts +3 -0
  148. package/lib/components/cardPro/index.js +3 -2
  149. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  150. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  151. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  152. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +8 -2
  153. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  154. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +7 -2
  155. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  156. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  157. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  158. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +22 -7
  159. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +2 -1
  160. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +78 -7
  161. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  162. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +10 -0
  163. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +10 -0
  164. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  165. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  166. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
  167. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  168. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +168 -5
  169. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +6 -0
  170. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.js +95 -0
  171. package/lib/components/dataSourceComponents/fields/Upload/index.js +2 -1
  172. package/lib/components/dataSourceComponents/fields/Upload/index.less +35 -3
  173. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  174. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  175. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  176. package/lib/components/date-picker/index.d.ts +1 -0
  177. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  178. package/lib/components/filter/index.d.ts +0 -1
  179. package/lib/components/filter/types.d.ts +3 -0
  180. package/lib/components/iconfont/index.d.ts +8 -0
  181. package/lib/components/iconfont/index.js +1 -1
  182. package/lib/components/keyboard/index.d.ts +22 -0
  183. package/lib/components/keyboard/index.js +223 -0
  184. package/lib/components/keyboard/index.less +44 -0
  185. package/lib/components/list/index.d.ts +0 -1
  186. package/lib/components/login-and-register/index.d.ts +82 -0
  187. package/lib/components/page/index.d.ts +1 -0
  188. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  189. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  190. package/lib/components/pisellCamera/index.d.ts +4 -0
  191. package/lib/components/pisellCamera/index.js +222 -0
  192. package/lib/components/pisellCamera/index.less +131 -0
  193. package/lib/components/pisellEmpty/index.d.ts +19 -0
  194. package/lib/components/pisellInput/index.d.ts +1 -0
  195. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  196. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  197. package/lib/components/pisellModal/components/index.d.ts +1 -0
  198. package/lib/components/pisellQRScanner/index.d.ts +0 -13
  199. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  200. package/lib/components/pisellWalletPassCard/index.d.ts +136 -0
  201. package/lib/components/pisellWalletPassCard/index.js +7 -2
  202. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  203. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  204. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  205. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +1 -0
  206. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +45 -11
  207. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +39 -0
  208. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  209. package/lib/components/productCard/cartSkuCard/index.js +2 -13
  210. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  211. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  212. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  213. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  214. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  215. package/lib/components/select-time/index.d.ts +1 -0
  216. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  217. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  218. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  219. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  220. package/lib/components/table/Actions/index.d.ts +1 -0
  221. package/lib/components/table/Actions/index.js +4 -1
  222. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  223. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  224. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  225. package/lib/components/table/Gallery/index.d.ts +5 -0
  226. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  227. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  228. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  229. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  230. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  231. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  232. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  233. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  234. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  235. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  236. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  237. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  238. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  239. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  240. package/lib/components/table/Table/index.d.ts +4 -0
  241. package/lib/components/table/Table/utils.d.ts +161 -0
  242. package/lib/components/table/Table/utils.js +18 -1
  243. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  244. package/lib/components/table/hooks/useTableSetting.js +114 -4
  245. package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
  246. package/lib/components/table/index.js +12 -1
  247. package/lib/components/table/types.d.ts +268 -0
  248. package/lib/components/translation/index.d.ts +14 -0
  249. package/lib/components/versionModal/index.d.ts +23 -0
  250. package/lib/components/versionSelect/index.d.ts +1 -0
  251. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  252. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +19 -2
  253. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  254. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  255. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +45 -27
  256. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  257. package/lib/components/virtualInput/BaseVirtualInput/index.js +179 -0
  258. package/lib/components/virtualInput/BaseVirtualInput/index.less +77 -0
  259. package/lib/components/virtualInput/index.d.ts +24 -0
  260. package/lib/components/virtualInput/index.js +102 -0
  261. package/lib/components/virtualInput/index.less +42 -0
  262. package/lib/components/walletCard/index.d.ts +71 -0
  263. package/lib/index.d.ts +144 -0
  264. package/lib/index.js +9 -0
  265. package/lib/locales/en-US.d.ts +307 -0
  266. package/lib/locales/en-US.js +25 -1
  267. package/lib/locales/zh-CN.d.ts +302 -0
  268. package/lib/locales/zh-CN.js +25 -1
  269. package/lib/locales/zh-TW.d.ts +302 -0
  270. package/lib/locales/zh-TW.js +25 -1
  271. package/lib/utils/platform.d.ts +1 -1
  272. package/lowcode/auto-resize-text/meta.ts +47 -0
  273. package/lowcode/data-source-table/meta.ts +358 -66
  274. package/lowcode/form-item-upload/meta.ts +20 -5
  275. package/lowcode/table/meta.ts +104 -0
  276. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["dataSource", "columns", "dispatch", "style", "filter", "sort", "buttons", "actionButtons", "title", "showTitle", "subTitle", "showSubTitle", "summary", "onValuesChange", "columnSetting", "dataSourceGroup", "view", "gallery", "currentSettingKey", "exportImport", "currentComponentId", "tabs"];
2
+ var _excluded = ["dataSource", "columns", "dispatch", "style", "filter", "sort", "buttons", "actionButtons", "title", "showTitle", "subTitle", "showSubTitle", "summary", "onValuesChange", "columnSetting", "dataSourceGroup", "localSettings", "view", "gallery", "currentSettingKey", "exportImport", "currentComponentId", "tabs"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -24,7 +24,7 @@ import useEngineContext from "../../hooks/useEngineContext";
24
24
  import Actions from "./Actions";
25
25
  import Header from "./Header";
26
26
  import Summary from "./Summary";
27
- import { clearTableSettingToLocalStorage, getCurrentViewModeFromLocalStorage, getHash, getTableSettingFromLocalStorage, mergeColumnSetting, omit, stringify } from "./Table/utils";
27
+ import { clearTableSettingToLocalStorage, getCurrentViewModeFromLocalStorage, getTableSettingByCurrentViewMode, getHash, getTableSettingFromLocalStorage, mergeColumnSetting, omit, stringify } from "./Table/utils";
28
28
  import View from "./View";
29
29
  import useTableSetting from "./hooks/useTableSetting";
30
30
  import useTransDataSourceGroupSetting from "./hooks/useTransDataSourceGroupSetting";
@@ -58,6 +58,7 @@ var GridView = Provider( /*#__PURE__*/forwardRef(function (props, ref) {
58
58
  _onValuesChange = props.onValuesChange,
59
59
  columnSetting = props.columnSetting,
60
60
  propsDataSourceGroup = props.dataSourceGroup,
61
+ _localSettings = props.localSettings,
61
62
  _props$view = props.view,
62
63
  view = _props$view === void 0 ? defaultView : _props$view,
63
64
  gallery = props.gallery,
@@ -162,7 +163,8 @@ var GridView = Provider( /*#__PURE__*/forwardRef(function (props, ref) {
162
163
  view: view,
163
164
  currentViewMode: currentViewMode,
164
165
  gallery: gallery,
165
- currentSettingHash: currentSettingHash
166
+ currentSettingHash: currentSettingHash,
167
+ localSettings: _localSettings
166
168
  }),
167
169
  setTableSetting = _useTableSetting.setTableSetting,
168
170
  tableSetting = _useTableSetting.tableSetting;
@@ -246,6 +248,15 @@ var GridView = Provider( /*#__PURE__*/forwardRef(function (props, ref) {
246
248
  useImperativeHandle(ref, function () {
247
249
  if (wrapRef.current) {
248
250
  wrapRef.current.formInstance = form;
251
+ wrapRef.current.getCachedFilters = function () {
252
+ try {
253
+ if (!tableId) return {};
254
+ var setting = getTableSettingByCurrentViewMode(tableId, currentViewMode);
255
+ return (setting === null || setting === void 0 ? void 0 : setting.filters) || {};
256
+ } catch (e) {
257
+ return {};
258
+ }
259
+ };
249
260
  }
250
261
  // forwardRef 后需要返回元素才能选中
251
262
  return wrapRef.current;
@@ -0,0 +1,268 @@
1
+ import { FilterType } from "../filter/types";
2
+ import { SortItemProps } from "../sort/types";
3
+ import React from "react";
4
+ export declare type StorageMode = "" | "localStorage";
5
+ /**
6
+ * 排序总配置
7
+ */
8
+ export declare type SortType = {
9
+ /** 排序是否展示 */
10
+ show: boolean;
11
+ /** 排序存储模式 */
12
+ storageMode: StorageMode;
13
+ list: SortItemProps[];
14
+ };
15
+ /**
16
+ * 列展示总配置
17
+ */
18
+ export declare type ColumnSettingType = {
19
+ /** 列设置是否展示 */
20
+ show: boolean;
21
+ /** 列设置存储模式 */
22
+ storageMode: StorageMode;
23
+ };
24
+ declare type DataSourceListItemType = {
25
+ isCustom: boolean;
26
+ columnKey?: string;
27
+ label?: string;
28
+ name?: string | string[];
29
+ isHidden?: boolean;
30
+ };
31
+ /**
32
+ * 数据源分组总配置
33
+ */
34
+ export declare type DataSourceGroupType = {
35
+ /** 分组设置是否展示 */
36
+ show: boolean;
37
+ /** 分组设置存储模式 */
38
+ storageMode: StorageMode;
39
+ /** */
40
+ list: DataSourceListItemType[];
41
+ };
42
+ /**
43
+ * Gallery封面总配置
44
+ */
45
+ declare type GalleryCoverType = {
46
+ /** 封面是否展示 */
47
+ show: boolean;
48
+ /**
49
+ * 封面图片可以使用的字段
50
+ */
51
+ fields: string[];
52
+ /**
53
+ * 封面高度
54
+ */
55
+ height: number;
56
+ /** 图片裁剪方式 */
57
+ objectFit: "fill" | "cover";
58
+ };
59
+ /**
60
+ * Gallery标题总配置
61
+ */
62
+ declare type GalleryTitleType = {
63
+ /** 标题使用的字段 */
64
+ field: string;
65
+ /** 标题行数 */
66
+ line: number;
67
+ };
68
+ /**
69
+ * Gallery头部区域总配置
70
+ */
71
+ declare type GalleryHeaderType = {
72
+ /** 头部区域插槽 */
73
+ slot?: (record: Record<string, any>, index: number) => React.ReactNode;
74
+ /** 头部区域其他字段设置 */
75
+ fields: {
76
+ /** 头部区域其他字段是否展示 */
77
+ show: boolean;
78
+ /** 头部区域其他字段 */
79
+ list: string[];
80
+ };
81
+ };
82
+ /**
83
+ * Gallery内容区域总配置
84
+ */
85
+ declare type GalleryContentType = {
86
+ /** 内容区域字段配置 */
87
+ fields: {
88
+ columnKey: string;
89
+ show: boolean;
90
+ }[];
91
+ };
92
+ export declare type GallerySettingValueType = {
93
+ coverField: string | "noCover";
94
+ coverObjectFit: "fill" | "cover";
95
+ compactMode: "default" | "compact";
96
+ isShowLabel: boolean;
97
+ };
98
+ /**
99
+ * Gallery底部区域总配置
100
+ */
101
+ declare type GalleryFooterType = {
102
+ /** 底部区域自定义渲染 */
103
+ render: (record: Record<string, any>, index: number) => React.ReactNode;
104
+ /** 底部区域高度 */
105
+ height: number;
106
+ };
107
+ /**
108
+ * Gallery模式总配置
109
+ */
110
+ export declare type GallerySettingType = {
111
+ /** 卡片最小宽度 */
112
+ cardMinWidth: number;
113
+ /** 卡片最大宽度 */
114
+ cardMaxWidth: number;
115
+ /** 水平间隔 */
116
+ horizontalGutter: number;
117
+ /** 垂直间隔 */
118
+ verticalGutter: number;
119
+ /** 封面配置 */
120
+ cover: GalleryCoverType;
121
+ /** 标题配置 */
122
+ title: GalleryTitleType;
123
+ /** 头部区域 */
124
+ header: GalleryHeaderType;
125
+ /** 内容区域 */
126
+ content: GalleryContentType;
127
+ /** 固定高度 */
128
+ fixedHeight: boolean;
129
+ /** 固定的卡片高度 */
130
+ cardHeight: number;
131
+ /** 固定顶部 */
132
+ fixedHeader: boolean;
133
+ /** 固定底部 */
134
+ fixedFooter: boolean;
135
+ /** 底部区域 */
136
+ footer: GalleryFooterType;
137
+ /** 卡片点击时间 */
138
+ onItem: (record: Record<string, any>, index: number) => void;
139
+ };
140
+ /** 视图模式 */
141
+ export declare type ModeType = "grid" | "gallery" | "kanban";
142
+ /**
143
+ * 视图模式总配置
144
+ */
145
+ export declare type GridViewType = {
146
+ /** 默认视图模式 */
147
+ defaultViewMode: ModeType;
148
+ /** 开启多视图模式可进行页面内转换 */
149
+ multiple: boolean;
150
+ /** 当前可用的视图模式列表 */
151
+ modeList: ModeType[];
152
+ };
153
+ declare type SortDetail = {
154
+ fromIndex: number;
155
+ toIndex: number;
156
+ dataSource: Record<string, any>[];
157
+ fromId: number | string;
158
+ toId: number | string;
159
+ fromItem: Record<string, any>;
160
+ toItem: Record<string, any>;
161
+ };
162
+ /** 导入导出模式 */
163
+ export declare type ExportImportModeType = "import" | "export" | "export_file" | "import_log";
164
+ /**
165
+ * @title: 导出导入api
166
+ * @description:
167
+ * @return {*}
168
+ * @Author: WangHan
169
+ * @Date: 2024-09-11 15:44
170
+ */
171
+ export declare type ApiProps = {
172
+ export?: string;
173
+ import?: string;
174
+ export_file: string;
175
+ import_log?: string;
176
+ template?: string;
177
+ };
178
+ /**
179
+ * 导入导出配置
180
+ */
181
+ export declare type ExportImportType = {
182
+ /** 是否展示 */
183
+ show: boolean;
184
+ /** 当前所选项 */
185
+ selectLists: string[];
186
+ /** 导入模版链接 */
187
+ templateFileUrl: string;
188
+ /** 标题 */
189
+ title: string;
190
+ hiddenKeys?: string[];
191
+ apiUrl?: ApiProps;
192
+ otherParams?: any;
193
+ };
194
+ /**
195
+ * 设置记忆范围
196
+ */
197
+ export declare type LocalSettingsScope = "filters" | "sorting" | "columns";
198
+ /**
199
+ * 本地记忆设置
200
+ */
201
+ export declare type LocalSettingsType = {
202
+ /** 启用设置记忆 */
203
+ enable: boolean;
204
+ /** 记忆范围 */
205
+ scope: LocalSettingsScope[];
206
+ /** 不需要记忆的筛选字段(当 scope 包含 filters 时生效) */
207
+ excludedFilterFields?: string[];
208
+ };
209
+ export declare type GridViewProps = {
210
+ columns: any;
211
+ dataSource: any[];
212
+ dispatch: any;
213
+ /**
214
+ * 画册模式的配置
215
+ */
216
+ gallery: GallerySettingType;
217
+ /**
218
+ * 视图设置
219
+ */
220
+ view: GridViewType;
221
+ style: React.CSSProperties;
222
+ pagination: any;
223
+ filter: FilterType;
224
+ buttons: React.ReactNode | any[];
225
+ actionButtons: any;
226
+ sort: SortType;
227
+ title?: React.ReactNode | (() => React.ReactNode);
228
+ showTitle?: boolean;
229
+ subTitle?: React.ReactNode | (() => React.ReactNode);
230
+ showSubTitle?: boolean;
231
+ exportImport: ExportImportType;
232
+ onValuesChange: (changedValues: any, values: any) => void;
233
+ summary: any;
234
+ utils: any;
235
+ rowKey: ((record: Record<string, any>) => string) | string;
236
+ columnSetting?: ColumnSettingType;
237
+ dataSourceGroup?: DataSourceGroupType;
238
+ loading: boolean;
239
+ dragSort: boolean;
240
+ onSortChange?: (detail: SortDetail) => boolean;
241
+ __id?: string;
242
+ __designMode?: "design";
243
+ /**
244
+ * 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
245
+ */
246
+ currentSettingKey?: string;
247
+ /**
248
+ * 当前本地配置的唯一值, 不填默认使用currentSettingKey
249
+ */
250
+ currentComponentId?: string;
251
+ /**
252
+ * 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
253
+ * @param currentDataSource
254
+ */
255
+ onDataSourceChange?: (currentDataSource: Record<string, any>[]) => void;
256
+ tabs: {
257
+ show: boolean;
258
+ type: 'default' | 'button' | 'buttonGroup' | 'dropdown';
259
+ items: {
260
+ name: string;
261
+ filterBy?: Record<string, any>;
262
+ sortBy?: string;
263
+ }[];
264
+ };
265
+ /** 本地记忆设置 */
266
+ localSettings?: LocalSettingsType;
267
+ };
268
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare type Value = {
4
+ en: string;
5
+ 'zh-CN': string;
6
+ 'zh-HK': string;
7
+ };
8
+ interface TranslationProps {
9
+ value: Value;
10
+ onChange: (value: Value) => void;
11
+ maxLength?: number;
12
+ }
13
+ declare const Translation: React.FC<TranslationProps>;
14
+ export default Translation;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { Version } from '../versionSelect';
3
+ import './index.less';
4
+ interface PublishVersionModalProps {
5
+ visible: boolean;
6
+ currentVersion: string;
7
+ onCancel: () => void;
8
+ onConfirm: (data: VersionData) => void;
9
+ isShowNote?: boolean;
10
+ confirmLoading?: boolean;
11
+ versions?: Version[];
12
+ isShowBasedOn?: boolean;
13
+ isShowCurrentVersion?: boolean;
14
+ isValidateVersion?: boolean;
15
+ }
16
+ interface VersionData {
17
+ version: string;
18
+ note: string;
19
+ baseVersion?: string;
20
+ versionType?: string;
21
+ }
22
+ declare const PublishVersionModal: React.FC<PublishVersionModalProps>;
23
+ export default PublishVersionModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface Version {
@@ -1,7 +1,11 @@
1
- import "./Presets.less";
1
+ import React from 'react';
2
+ import './Presets.less';
2
3
  export declare type PresetsItem = {
3
4
  label: string;
4
5
  value: number | string;
6
+ style?: React.CSSProperties;
7
+ onClick?: (item: PresetsItem, _next: () => void) => void;
8
+ render?: (item: PresetsItem) => React.ReactNode;
5
9
  };
6
10
  export interface PresetsProps {
7
11
  presets?: PresetsItem[];
@@ -3,20 +3,34 @@ import "./Presets.less";
3
3
  var Presets = function Presets(props) {
4
4
  var presets = props.presets,
5
5
  onChange = props.onChange;
6
+ var handleItemClick = function handleItemClick(item) {
7
+ if (item.onClick) {
8
+ var _next2 = function _next2() {
9
+ return onChange("".concat(item.value));
10
+ };
11
+ item.onClick(item, _next2);
12
+ } else {
13
+ onChange("".concat(item.value));
14
+ }
15
+ };
6
16
  return useMemo(function () {
7
17
  if (!(presets !== null && presets !== void 0 && presets.length)) {
8
18
  return null;
9
19
  }
10
20
  return /*#__PURE__*/React.createElement("div", {
11
21
  className: "pisell-virtual-keyboard-preset"
12
- }, presets.map(function (item) {
13
- return /*#__PURE__*/React.createElement("div", {
22
+ }, presets.map(function (item, index) {
23
+ var _item$render;
24
+ var itemProps = {
25
+ key: index,
26
+ className: 'pisell-virtual-keyboard-preset-item',
27
+ style: item.style,
14
28
  onClick: function onClick() {
15
- return onChange("".concat(item.value));
16
- },
17
- className: "pisell-virtual-keyboard-preset-item"
18
- }, item.label);
29
+ return handleItemClick(item);
30
+ }
31
+ };
32
+ return /*#__PURE__*/React.createElement("div", itemProps, ((_item$render = item.render) === null || _item$render === void 0 ? void 0 : _item$render.call(item, item)) || item.label);
19
33
  }));
20
- }, [presets]);
34
+ }, [presets, onChange]);
21
35
  };
22
36
  export default Presets;
@@ -1,18 +1,22 @@
1
1
  .pisell-virtual-keyboard-preset {
2
- display: flex;
2
+ display: grid;
3
+ grid-template-columns: repeat(4, 1fr);
3
4
  gap: 7px;
4
- flex-wrap: wrap;
5
5
  margin-bottom: 8px;
6
+
6
7
  .pisell-virtual-keyboard-preset-item {
7
8
  display: flex;
8
- flex: 1;
9
9
  padding: 12px 20px;
10
10
  align-items: center;
11
11
  justify-content: center;
12
- height: 48px;
12
+ height: 40px;
13
13
  border-radius: 8px;
14
- border: 1px solid var(--Gray-300, #D0D5DD);
14
+ border: 1px solid var(--Gray-300, #E9D7FE);
15
15
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
16
16
  background: var(--Primary-25, #FCFAFF);
17
+ font-weight: 600;
18
+ color: #6941C6;
19
+ cursor: pointer;
20
+ position: relative;
17
21
  }
18
22
  }
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PresetsProps } from './Presets';
3
+ import { KeyboardProps } from '../Keyboard';
3
4
  import { RightItemsStyleProps } from '../Amount';
4
5
  import './index.less';
5
6
  export interface BaseNumberKeyboardProps {
@@ -16,6 +17,9 @@ export interface BaseNumberKeyboardProps {
16
17
  presets?: PresetsProps['presets'];
17
18
  defaultSelect?: boolean;
18
19
  rightItemsStyle?: RightItemsStyleProps;
20
+ customDisplay?: React.ReactNode | ((props: any) => React.ReactNode);
21
+ keyboardProps?: KeyboardProps;
22
+ style?: React.CSSProperties;
19
23
  }
20
24
  declare const BaseNumberKeyboard: (props: BaseNumberKeyboardProps) => JSX.Element;
21
25
  export default BaseNumberKeyboard;
@@ -1,4 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -93,7 +94,9 @@ var BaseNumberKeyboard = function BaseNumberKeyboard(props) {
93
94
  onEnter = props.onEnter,
94
95
  presets = props.presets,
95
96
  defaultSelect = props.defaultSelect,
96
- rightItemsStyle = props.rightItemsStyle;
97
+ rightItemsStyle = props.rightItemsStyle,
98
+ customDisplay = props.customDisplay,
99
+ style = props.style;
97
100
  var _useControllableValue = useControllableValue(props, {
98
101
  defaultValue: defaultValue
99
102
  }),
@@ -173,6 +176,8 @@ var BaseNumberKeyboard = function BaseNumberKeyboard(props) {
173
176
  }
174
177
  };
175
178
  var handleChangeValue = function handleChangeValue(val) {
179
+ var _val;
180
+ val = typeof val === 'string' ? val : ((_val = val) === null || _val === void 0 || (_val = _val.target) === null || _val === void 0 ? void 0 : _val.value) || '';
176
181
  var detail = checkValue(val);
177
182
  if (detail) return;
178
183
  setValue(val);
@@ -205,37 +210,51 @@ var BaseNumberKeyboard = function BaseNumberKeyboard(props) {
205
210
  var handleKeyboardChange = useMemoizedFn(function (val) {
206
211
  return (actions[val] || actions.default)(val);
207
212
  });
208
- return /*#__PURE__*/React.createElement("div", {
209
- className: "pisell-virtual-keyboard-base"
210
- }, /*#__PURE__*/React.createElement(VirtualKeyInput, {
211
- value: value,
212
- onChange: function onChange(e) {
213
- return handleChangeValue(e.target.value);
214
- },
215
- renderInput: function renderInput(props) {
216
- if (isUndefined(props.value) || props.value === '') {
217
- return /*#__PURE__*/React.createElement(VirtualInput, {
218
- autoFocus: true,
219
- placeholder: placeholder,
220
- value: props.value
213
+ var renderDisplayField = function renderDisplayField() {
214
+ if (customDisplay) {
215
+ if (typeof customDisplay === 'function') {
216
+ return customDisplay({
217
+ value: value,
218
+ onChange: handleChangeValue,
219
+ onValueSelect: setSelect
221
220
  });
222
221
  }
223
- return (format === null || format === void 0 ? void 0 : format(props.value)) || props.value;
224
- },
225
- showDelete: false,
226
- onValueSelect: setSelect,
227
- defaultSelect: defaultSelect,
228
- style: {
229
- backgroundColor: (rightItemsStyle === null || rightItemsStyle === void 0 ? void 0 : rightItemsStyle.buttonBackgroundColor) || '#fff',
230
- color: (rightItemsStyle === null || rightItemsStyle === void 0 ? void 0 : rightItemsStyle.textColor) || '#000000'
222
+ return customDisplay;
231
223
  }
232
- }), /*#__PURE__*/React.createElement(Presets, {
224
+ return /*#__PURE__*/React.createElement(VirtualKeyInput, {
225
+ value: value,
226
+ onChange: function onChange(e) {
227
+ return handleChangeValue(e.target.value);
228
+ },
229
+ renderInput: function renderInput(props) {
230
+ if (isUndefined(props.value) || props.value === '') {
231
+ return /*#__PURE__*/React.createElement(VirtualInput, {
232
+ autoFocus: true,
233
+ placeholder: placeholder,
234
+ value: props.value
235
+ });
236
+ }
237
+ return (format === null || format === void 0 ? void 0 : format(props.value)) || props.value;
238
+ },
239
+ showDelete: false,
240
+ onValueSelect: setSelect,
241
+ defaultSelect: defaultSelect,
242
+ style: {
243
+ backgroundColor: (rightItemsStyle === null || rightItemsStyle === void 0 ? void 0 : rightItemsStyle.buttonBackgroundColor) || '#fff',
244
+ color: (rightItemsStyle === null || rightItemsStyle === void 0 ? void 0 : rightItemsStyle.textColor) || '#000000'
245
+ }
246
+ });
247
+ };
248
+ return /*#__PURE__*/React.createElement("div", {
249
+ className: "pisell-virtual-keyboard-base",
250
+ style: style
251
+ }, renderDisplayField(), /*#__PURE__*/React.createElement(Presets, {
233
252
  presets: presets,
234
253
  onChange: handleChangeValue
235
- }), /*#__PURE__*/React.createElement(Keyboard, {
254
+ }), /*#__PURE__*/React.createElement(Keyboard, _extends({
236
255
  items: itemsWithStyle,
237
256
  rightItems: rightItems,
238
257
  onChange: handleKeyboardChange
239
- }));
258
+ }, props.keyboardProps || {})));
240
259
  };
241
260
  export default BaseNumberKeyboard;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface BaseVirtualInputProps {
4
+ /** 输入值 */
5
+ value?: string | React.ReactNode;
6
+ /** 占位符 */
7
+ placeholder?: string;
8
+ /** 是否自动聚焦 */
9
+ autoFocus?: boolean;
10
+ /** 是否禁用 */
11
+ disabled?: boolean;
12
+ /** 组件高度,默认60px */
13
+ height?: number | string;
14
+ /** 字体大小,默认48px,如果不设置会根据高度自动计算 */
15
+ fontSize?: number | string;
16
+ /** 聚焦回调 */
17
+ onFocus?: () => void;
18
+ /** 失焦回调 */
19
+ onBlur?: () => void;
20
+ /** 文字位置 */
21
+ textAlign?: 'start' | 'center' | 'end';
22
+ /** 自定义样式 */
23
+ style?: React.CSSProperties;
24
+ /** 自定义类名 */
25
+ className?: string;
26
+ /** showCursor */
27
+ showCursor?: boolean;
28
+ /** 防止失焦的元素选择器或ref */
29
+ preventBlurElements?: Array<string | React.RefObject<HTMLElement>>;
30
+ /** 是否聚焦(受控模式) */
31
+ focused?: boolean;
32
+ }
33
+ export interface BaseVirtualInputRef {
34
+ /** 手动聚焦 */
35
+ focus: () => void;
36
+ /** 手动失焦 */
37
+ blur: () => void;
38
+ }
39
+ declare const BaseVirtualInput: React.ForwardRefExoticComponent<BaseVirtualInputProps & React.RefAttributes<BaseVirtualInputRef>>;
40
+ export default BaseVirtualInput;