@pisell/materials 2.2.114 → 2.2.115

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 (283) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +3 -3
  6. package/build/lowcode/preview.js +144 -165
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +31 -40
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +36 -45
  11. package/es/components/batch-editor/index.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  13. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/index.d.ts +9 -9
  15. package/es/components/date-picker/index.d.ts +1 -0
  16. package/es/components/filter/index.d.ts +0 -1
  17. package/es/components/page/index.d.ts +1 -0
  18. package/es/components/pisellText/components/Editable/index.js +130 -0
  19. package/es/components/pisellText/components/Editable/index.less +40 -0
  20. package/es/components/pisellText/index.js +2 -0
  21. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  22. package/es/components/select/index.js +4 -2
  23. package/es/components/sortableList/index.js +2 -1
  24. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -1
  25. package/es/components/table/Actions/component/ExportImport/index.js +55 -27
  26. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  27. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  28. package/es/components/table/Table/fields/index.d.ts +3 -2
  29. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  30. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  31. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  32. package/es/components/table/serve.js +8 -0
  33. package/es/components/tabs/index.js +9 -0
  34. package/es/components/walletCard/index.js +51 -40
  35. package/es/locales/en-US.js +2 -2
  36. package/es/locales/zh-CN.js +1 -1
  37. package/es/locales/zh-TW.js +1 -1
  38. package/es/typings.d.ts +7 -1
  39. package/es/utils/index.d.ts +1 -1
  40. package/es/utils/platform.d.ts +1 -1
  41. package/lib/components/batch-editor/index.d.ts +0 -1
  42. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  43. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  44. package/lib/components/dataSourceComponents/fields/index.d.ts +9 -9
  45. package/lib/components/date-picker/index.d.ts +1 -0
  46. package/lib/components/filter/index.d.ts +0 -1
  47. package/lib/components/page/index.d.ts +1 -0
  48. package/lib/components/pisellText/components/Editable/index.js +139 -0
  49. package/lib/components/pisellText/components/Editable/index.less +40 -0
  50. package/lib/components/pisellText/index.js +2 -0
  51. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  52. package/lib/components/select/index.js +7 -2
  53. package/lib/components/sortableList/index.js +2 -2
  54. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.js +7 -1
  55. package/lib/components/table/Actions/component/ExportImport/index.js +37 -25
  56. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  57. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  58. package/lib/components/table/Table/fields/index.d.ts +3 -2
  59. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  60. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  61. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  62. package/lib/components/table/serve.js +8 -0
  63. package/lib/components/tabs/index.js +5 -0
  64. package/lib/components/walletCard/index.js +47 -29
  65. package/lib/locales/en-US.js +2 -2
  66. package/lib/locales/zh-CN.js +1 -1
  67. package/lib/locales/zh-TW.js +1 -1
  68. package/lib/typings.d.ts +7 -1
  69. package/lib/utils/index.d.ts +1 -1
  70. package/lib/utils/platform.d.ts +1 -1
  71. package/lowcode/pisell-text.editable/meta.ts +115 -0
  72. package/lowcode/pisell-text.editable/snippets.ts +15 -0
  73. package/lowcode/sortable-list/meta.ts +1 -1
  74. package/lowcode/wallet-card/meta.ts +23 -3
  75. package/package.json +11 -11
  76. package/es/components/appVersionControl/index.d.ts +0 -4
  77. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +0 -20
  78. package/es/components/auto-resize-text/index.d.ts +0 -6
  79. package/es/components/cardPro/index.d.ts +0 -3
  80. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  81. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  82. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -28
  83. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  84. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
  85. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  86. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  87. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
  88. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  89. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  90. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  91. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  92. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  93. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
  94. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  95. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  96. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  97. package/es/components/drag-sort-tree/index.d.ts +0 -4
  98. package/es/components/filter/types.d.ts +0 -46
  99. package/es/components/iconfont/index.d.ts +0 -8
  100. package/es/components/keyboard/index.d.ts +0 -22
  101. package/es/components/login-and-register/index.d.ts +0 -82
  102. package/es/components/pisell-config-provider/context.d.ts +0 -22
  103. package/es/components/pisell-config-provider/index.d.ts +0 -13
  104. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  105. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  106. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  107. package/es/components/pisellCamera/index.d.ts +0 -4
  108. package/es/components/pisellCardList/index.d.ts +0 -103
  109. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  110. package/es/components/pisellEmpty/index.d.ts +0 -19
  111. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  112. package/es/components/pisellText/index.d.ts +0 -8
  113. package/es/components/pisellToast/index.d.ts +0 -17
  114. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  115. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  116. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  117. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  118. package/es/components/pisellWalletPassCard/index.d.ts +0 -136
  119. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  120. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  121. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  122. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  123. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  124. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  125. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  126. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  127. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  128. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  129. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  130. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  131. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  132. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  133. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  134. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
  135. package/es/components/productCard/components/Action/index.d.ts +0 -3
  136. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  137. package/es/components/productCard/components/Header/index.d.ts +0 -3
  138. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  139. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  140. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  141. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  142. package/es/components/productCard/components/Time/index.d.ts +0 -3
  143. package/es/components/productCard/locales.d.ts +0 -84
  144. package/es/components/select/index.d.ts +0 -9
  145. package/es/components/sortableList/index.d.ts +0 -11
  146. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  147. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  148. package/es/components/table/Actions/index.d.ts +0 -17
  149. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  150. package/es/components/table/Gallery/index.d.ts +0 -5
  151. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  152. package/es/components/table/Table/index.d.ts +0 -4
  153. package/es/components/table/Table/utils.d.ts +0 -161
  154. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  155. package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
  156. package/es/components/table/index.d.ts +0 -4
  157. package/es/components/table/serve.d.ts +0 -13
  158. package/es/components/table/types.d.ts +0 -268
  159. package/es/components/tabs/index.d.ts +0 -16
  160. package/es/components/translation/index.d.ts +0 -14
  161. package/es/components/versionModal/index.d.ts +0 -23
  162. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  163. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  164. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  165. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  166. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  167. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  168. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  169. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  170. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  171. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  172. package/es/components/virtual-keyboard/index.d.ts +0 -25
  173. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +0 -40
  174. package/es/components/virtualInput/index.d.ts +0 -24
  175. package/es/components/walletCard/index.d.ts +0 -71
  176. package/es/index.d.ts +0 -144
  177. package/es/locales/en-US.d.ts +0 -307
  178. package/es/locales/zh-CN.d.ts +0 -302
  179. package/es/locales/zh-TW.d.ts +0 -302
  180. package/lib/components/appVersionControl/index.d.ts +0 -4
  181. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +0 -20
  182. package/lib/components/auto-resize-text/index.d.ts +0 -6
  183. package/lib/components/cardPro/index.d.ts +0 -3
  184. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  185. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  186. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -28
  187. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  188. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
  189. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  190. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  191. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
  192. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  193. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  194. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  195. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  196. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  197. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
  198. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  199. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  200. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  201. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  202. package/lib/components/filter/types.d.ts +0 -46
  203. package/lib/components/iconfont/index.d.ts +0 -8
  204. package/lib/components/keyboard/index.d.ts +0 -22
  205. package/lib/components/login-and-register/index.d.ts +0 -82
  206. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  207. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  208. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  209. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  210. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  211. package/lib/components/pisellCamera/index.d.ts +0 -4
  212. package/lib/components/pisellCardList/index.d.ts +0 -103
  213. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  214. package/lib/components/pisellEmpty/index.d.ts +0 -19
  215. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  216. package/lib/components/pisellText/index.d.ts +0 -8
  217. package/lib/components/pisellToast/index.d.ts +0 -17
  218. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  219. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  220. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  221. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  222. package/lib/components/pisellWalletPassCard/index.d.ts +0 -136
  223. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  224. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  225. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  226. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  227. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  228. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  229. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  230. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  231. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  232. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  233. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  234. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  235. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  236. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  237. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  238. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
  239. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  240. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  241. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  242. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  243. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  244. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  245. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  246. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  247. package/lib/components/productCard/locales.d.ts +0 -84
  248. package/lib/components/select/index.d.ts +0 -9
  249. package/lib/components/sortableList/index.d.ts +0 -11
  250. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  251. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  252. package/lib/components/table/Actions/index.d.ts +0 -17
  253. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  254. package/lib/components/table/Gallery/index.d.ts +0 -5
  255. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  256. package/lib/components/table/Table/index.d.ts +0 -4
  257. package/lib/components/table/Table/utils.d.ts +0 -161
  258. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  259. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
  260. package/lib/components/table/index.d.ts +0 -4
  261. package/lib/components/table/serve.d.ts +0 -13
  262. package/lib/components/table/types.d.ts +0 -268
  263. package/lib/components/tabs/index.d.ts +0 -16
  264. package/lib/components/translation/index.d.ts +0 -14
  265. package/lib/components/versionModal/index.d.ts +0 -23
  266. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  267. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  268. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  269. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  270. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  271. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  272. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  273. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  274. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  275. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  276. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  277. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +0 -40
  278. package/lib/components/virtualInput/index.d.ts +0 -24
  279. package/lib/components/walletCard/index.d.ts +0 -71
  280. package/lib/index.d.ts +0 -144
  281. package/lib/locales/en-US.d.ts +0 -307
  282. package/lib/locales/zh-CN.d.ts +0 -302
  283. package/lib/locales/zh-TW.d.ts +0 -302
@@ -1,302 +0,0 @@
1
- declare const _default: {
2
- 'table-filter-search': string;
3
- 'table-filter-clear': string;
4
- 'table-filter-filter': string;
5
- 'table-filter-min': string;
6
- 'table-filter-max': string;
7
- 'table-pagination-previous': string;
8
- 'table-pagination-next': string;
9
- 'table-pagination-total': (current: string, total: string) => string;
10
- 'select-dropdown-render-select-all': string;
11
- 'select-dropdown-render-search': string;
12
- 'sort-button-text': string;
13
- 'sort-oldest-to-newest': string;
14
- 'sort-newest-to-oldest': string;
15
- 'sort-a-z': string;
16
- 'sort-z-a': string;
17
- 'sort-from-morning-to-night': string;
18
- 'sort-from-evening-to-morning': string;
19
- 'sort-0-9': string;
20
- 'sort-9-0': string;
21
- 'table-action-filter-button': string;
22
- 'table-action-filter-quick-filter': string;
23
- 'table-action-filter-quick-filter-tip': (count: number) => string;
24
- 'table-action-filter-other-filter': string;
25
- 'table-action-filter-other-filter-tip': () => string;
26
- 'table-action-group-by-title': string;
27
- 'table-action-group-by-title-tip': string;
28
- 'table-action-column-title': string;
29
- 'table-column-group-records': string;
30
- 'table-column-group-lock-tip': string;
31
- 'table-column-drag-sort-disabled-tip': string;
32
- 'table-action-filter-no-filter': string;
33
- 'table-action-range-picker-presets-today': string;
34
- 'table-action-range-picker-presets-yesterday': string;
35
- 'table-action-range-picker-presets-last-3-day': string;
36
- 'table-action-range-picker-presets-last-7-day': string;
37
- 'table-action-range-picker-presets-last-14-day': string;
38
- 'table-action-range-picker-presets-last-30-day': string;
39
- 'table-action-range-picker-presets-last-90-day': string;
40
- 'virtual-keyboard-time-now': string;
41
- 'virtual-keyboard-time-ok': string;
42
- 'batch-editor-batch-edit': string;
43
- 'batch-editor-actions': string;
44
- 'batch-editor-remove': string;
45
- 'batch-editor-price': string;
46
- 'batch-editor-cancel': string;
47
- 'batch-editor-search': string;
48
- 'batch-editor-confirm': string;
49
- 'batch-editor-batch-remove': string;
50
- 'batch-editor-what-price': string;
51
- 'batch-editor-quick-edit': string;
52
- 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
- 'batch-editor-quick-edit-title-2': (product: string) => string;
54
- 'table-action-export-import-export-success': string;
55
- 'table-action-export-import-button': string;
56
- 'table-action-export-import-export-range': string;
57
- 'table-action-export-import-current-page': string;
58
- 'table-action-export-import-all-records': string;
59
- 'table-action-export-import-selected-records': string;
60
- 'table-action-export-import-selected': string;
61
- 'table-action-export-import-item': (length: number) => string;
62
- 'table-action-export-import-product': string;
63
- 'table-action-export-import-table-text-input-title': string;
64
- 'table-action-export-import-table-text-input-describe': string;
65
- 'table-action-export-import-table-error-file': string;
66
- 'table-action-export-import-import-success': string;
67
- 'table-action-export-import-import-phone': string;
68
- 'table-action-export-import-table-success-download': string;
69
- 'table-action-export-import-table-textimport-product': string;
70
- 'table-action-export-import-table-text-product-template': string;
71
- 'table-action-export-import-table-text-click-download': string;
72
- 'table-action-export-import-table-text-edit-file': string;
73
- 'table-action-export-import-button-import': string;
74
- 'table-action-export-import-cancel': string;
75
- 'table-action-export-import-file-completed': string;
76
- 'table-action-export-import-file-processing': string;
77
- 'table-action-export-import-file-pending': string;
78
- 'table-action-export-import-file-refresh': string;
79
- 'table-action-export-import-export-title': string;
80
- 'table-action-export-import-file-hint': string;
81
- 'table-action-export-import-file-name': string;
82
- 'table-action-export-import-file-content': string;
83
- 'table-action-export-import-file-content-all': string;
84
- 'table-action-export-import-file-content-part': string;
85
- 'table-action-export-import-file-status': string;
86
- 'table-action-export-import-file-account': string;
87
- 'table-action-export-import-file-created': string;
88
- 'table-action-export-import-file-record': (length: number) => string;
89
- 'table-action-export-import-import-title': string;
90
- 'table-action-export-import-log-hint': string;
91
- 'table-action-export-import-log-name': string;
92
- 'table-action-export-import-log-result': string;
93
- 'table-action-export-import-log-ok': (num: number) => string;
94
- 'table-action-export-import-log-err': (num: number) => string;
95
- 'table-action-export-import-log-check': string;
96
- 'table-action-export-import-log-detail-title': string;
97
- 'table-action-export-import-log-err-log': string;
98
- 'table-action-export-import-log-copy': string;
99
- 'table-action-export-import-table-success-copy': string;
100
- 'drag-sort-tree-unavailable-today-tip': string;
101
- 'date-picker-today': string;
102
- 'date-picker-yesterday': string;
103
- 'date-picker-tomorrow': string;
104
- 'date-picker-next_monday': string;
105
- 'date-picker-last_friday': string;
106
- 'date-picker-first_day_of_this_month': string;
107
- 'date-picker-last_day_of_this_month': string;
108
- 'date-picker-first_day_of_next_month': string;
109
- 'date-picker-last_day_of_last_month': string;
110
- 'date-picker-invalid-date': string;
111
- 'date-picker-apply': string;
112
- 'date-picker-shortcut-custom': string;
113
- 'pisell-input-copy-success': string;
114
- 'pisell-input-copy': string;
115
- 'pisell-empty-description-no-data': string;
116
- 'pisell-information-entry-input-search': string;
117
- 'pisell-information-entry-input-confirm': string;
118
- 'pisell-information-entry-scan-exit': string;
119
- 'pisell-wallet-pass-card-detail': string;
120
- 'pisell-wallet-pass-card-edit': string;
121
- 'pisell-wallet-pass-card-name': string;
122
- 'pisell-wallet-pass-card-store-name': string;
123
- 'pisell-wallet-pass-card-balance': string;
124
- 'pisell-wallet-pass-card-redeem': string;
125
- 'pisell-wallet-pass-card-code': string;
126
- 'pisell-wallet-pass-card-valid-to': string;
127
- 'pisell-wallet-pass-card-confirm': string;
128
- 'pisell-wallet-pass-card-cancel': string;
129
- 'pisell-wallet-pass-card-required': string;
130
- 'pisell-wallet-pass-card-expireDate': string;
131
- 'pisell-adjust-price-price-override': string;
132
- 'pisell-adjust-price-discount': string;
133
- 'pisell-adjust-price-discount-amount': string;
134
- 'pisell-adjust-price-discount-percentage': string;
135
- 'pisell-adjust-price-total-after-discount': string;
136
- 'pisell-adjust-price-discount-can-be-maximum': string;
137
- 'pisell-discount-card-title': string;
138
- 'pisell-discount-card-unit': string;
139
- 'pisell-discount-card-fixed-amount-prefix': string;
140
- 'pisell-data-source-table-add': string;
141
- 'pisell-data-source-table-edit': string;
142
- 'pisell-data-source-table-detail': string;
143
- 'pisell-data-source-table-delete': string;
144
- 'pisell-record-view-available': string;
145
- 'pisell-record-view-unavailable': string;
146
- 'pisell-data-source-form-required-message': string;
147
- 'pisell-data-source-form-email-message': string;
148
- 'pisell-data-source-form-domain-message': string;
149
- 'pisell-data-source-form-url-message': string;
150
- 'pisell-data-source-form-phone-message': string;
151
- 'pisell-data-source-form-min-length-message': (minLength: number) => string;
152
- 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
153
- 'pisell-data-source-form-min-value-message': (minValue: number) => string;
154
- 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
155
- 'pisell-data-source-form-mobile-message': string;
156
- 'pisell-number-format-thousand': string;
157
- 'pisell-number-format-million': string;
158
- 'pisell-number-format-billion': string;
159
- 'walletCard-done': string;
160
- 'walletCard-qrcode': string;
161
- 'walletCard-barcode': string;
162
- 'walletCard-viewPin': string;
163
- 'pisell-upload-button': string;
164
- 'pisell-upload-setting-size-error': (maxSize: number) => string;
165
- 'pisell-upload-setting-type-error': (type: string) => string;
166
- 'pisell-upload-count-error': (count: number) => string;
167
- 'pisell-upload-error': (name: string) => string;
168
- 'pisell-upload-multilingual-title': string;
169
- 'pisell-upload-multilingual-item-title-original': string;
170
- 'pisell-upload-multilingual-item-title-en': string;
171
- 'pisell-upload-multilingual-item-title-zh-CN': string;
172
- 'pisell-upload-multilingual-item-title-zh-HK': string;
173
- 'pisell-color-picker-default': string;
174
- 'pisell-action-get-data': string;
175
- 'pisell-action-delete-success': string;
176
- 'pisell-action-delete-failed': string;
177
- 'walletCard-piont': string;
178
- 'walletCard-rechargeable': string;
179
- 'walletCard-voucher': string;
180
- 'walletCard-discount': string;
181
- 'pisellQrcode-done': string;
182
- 'pisellQrcode-qrcode': string;
183
- 'pisell-delete-confirm-title': string;
184
- 'pisell-delete-confirm-content': string;
185
- 'pisell-delete-confirm-ok': string;
186
- 'pisell-delete-confirm-cancel': string;
187
- 'pisell-design-mode-action-disabled': string;
188
- 'pisell-translation-original': string;
189
- 'pisell-version-modal-title': string;
190
- 'pisell-version-modal-current-version': string;
191
- 'pisell-version-modal-version': string;
192
- 'pisell-version-modal-update-notes': string;
193
- 'pisell-version-modal-patch': string;
194
- 'pisell-version-modal-minor': string;
195
- 'pisell-version-modal-major': string;
196
- 'pisell-version-modal-custom': string;
197
- 'pisell-version-modal-cancel': string;
198
- 'pisell-version-modal-confirm': string;
199
- 'pisell-version-modal-describe-update-notes': string;
200
- 'pisell-version-modal-version-error': string;
201
- 'pisell-version-modal-version-required': string;
202
- 'pisell-version-modal-based-on-version': string;
203
- 'subdomain-error-too-short': string;
204
- 'subdomain-error-too-long': string;
205
- 'subdomain-error-pattern': string;
206
- 'subdomain-error-numbers-only': string;
207
- 'subdomain-error-hyphen-ends': string;
208
- 'subdomain-error-consecutive-hyphens': string;
209
- 'pisell-icon-select-placeholder': string;
210
- 'pisell-icon-select-outlined': string;
211
- 'pisell-icon-select-filled': string;
212
- 'pisell-icon-select-two-tone': string;
213
- 'pisell-icon-select-iconfont': string;
214
- 'pisell-icon-select-search': string;
215
- 'pisell-icon-select-select': string;
216
- 'pisell-lowcode-app-version-control-live': string;
217
- 'pisell-lowcode-app-version-control-draft': string;
218
- 'pisell-lowcode-app-version-control-deprecated': string;
219
- 'pisell-lowcode-app-version-control-new-version': string;
220
- 'pisell-lowcode-app-version-control-promote-to-live': string;
221
- 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
222
- 'pisell-lowcode-app-version-control-promote-version-describe': string;
223
- 'pisell-lowcode-app-version-control-promote-version-ok': string;
224
- 'pisell-lowcode-app-version-control-promote-version-cancel': string;
225
- 'pisell-lowcode-app-version-control-version-exists': string;
226
- 'pisell-lowcode-drop-sort-add': string;
227
- 'pisell-lowcode-navigation-menu-add-sub-menu': string;
228
- 'pisell-lowcode-navigation-menu-add-page': string;
229
- 'pisell-lowcode-navigation-menu-add-page-tip': string;
230
- 'pisell-lowcode-navigation-menu-tag-base': string;
231
- 'pisell-lowcode-navigation-menu-tag-proCode': string;
232
- 'pisell-lowcode-navigation-menu-tag-pisell1': string;
233
- 'pisell-lowcode-navigation-menu-tag-group': string;
234
- 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
235
- 'pisell-lowcode-navigation-menu-tag-custom': string;
236
- 'pisell-data-source-form-app-identifier-pattern': string;
237
- 'pisell-data-source-form-app-identifier-start-with-letter': string;
238
- 'pisell-data-source-form-app-identifier-special-ends': string;
239
- 'pisell-data-source-form-app-identifier-consecutive-special': string;
240
- 'qrscanner-loading': string;
241
- 'qrscanner-success': string;
242
- 'qrscanner-success-qrcode': string;
243
- 'qrscanner-success-barcode': string;
244
- 'qrscanner-error-upload-image': string;
245
- 'qrscanner-error-load-failed': string;
246
- 'qrscanner-error-no-code': string;
247
- 'qrscanner-error-camera-init': string;
248
- 'qrscanner-error-process-image': string;
249
- 'pisell-login-and-register-title': string;
250
- 'pisell-login-and-register-subtitle': string;
251
- 'pisell-login-and-register-email-label': string;
252
- 'pisell-login-and-register-email-placeholder': string;
253
- 'pisell-login-and-register-password-label': string;
254
- 'pisell-login-and-register-password-placeholder': string;
255
- 'pisell-login-and-register-email-error': string;
256
- 'pisell-login-and-register-email-error-valid': string;
257
- 'pisell-login-and-register-password-error': string;
258
- 'pisell-login-and-register-login': string;
259
- 'pisell-login-and-register-google': string;
260
- 'pisell-login-and-register-facebook': string;
261
- 'pisell-login-and-register-apple': string;
262
- 'pisell-login-and-register-sign-up': string;
263
- 'pisell-login-and-register-login-tab': string;
264
- 'pisell-login-and-register-register-tab': string;
265
- 'pisell-login-and-register-register-email-placeholder': string;
266
- 'pisell-login-and-register-register-password-placeholder': string;
267
- 'pisell-login-and-register-register-button-text': string;
268
- 'pisell-login-and-register-remember-me': string;
269
- 'pisell-login-and-register-forgot-password': string;
270
- 'pisell2.text.goodpass.product-vouchers': string;
271
- 'pisell2.text.goodpass.last-settlement': string;
272
- 'pisell2.text.goodpass.view-more': string;
273
- 'pisell2.text.goodpass.save': string;
274
- 'pisell-wallet-pass-card-status-used': string;
275
- 'pisell-wallet-pass-card-status-expired': string;
276
- 'pisell-wallet-pass-card-status-disabled': string;
277
- 'pisell-wallet-pass-card-status-conflict': string;
278
- 'pisell-wallet-pass-card-status-lastPayment': string;
279
- 'pisell-wallet-pass-card-reset': string;
280
- 'pisell-wallet-pass-card-done': string;
281
- 'pisell-camera-no-camera-accessible': string;
282
- 'pisell-camera-permission-denied': string;
283
- 'pisell-camera-switch-camera': string;
284
- 'pisell-camera-canvas': string;
285
- 'pisell-camera-checking': string;
286
- 'pisell-camera-no-camera-desc': string;
287
- 'pisell-upload-camera-local-files': string;
288
- 'pisell-upload-camera-capture': string;
289
- 'pisell-upload-camera-retake': string;
290
- 'pisell-upload-camera-use': string;
291
- 'pisell-list-tab-group-default': string;
292
- 'pisell-list-empty-text-default': string;
293
- 'pisell-list-load-more': string;
294
- 'pisell-list-view-less': string;
295
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
296
- 'pisell-list-scroll-down': string;
297
- 'pisell-list-scroll-right': string;
298
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
299
- 'pisell-list-pagination-previous': string;
300
- 'pisell-list-pagination-next': string;
301
- };
302
- export default _default;
@@ -1,4 +0,0 @@
1
- import { AppVersionControlProps } from './types';
2
- import './index.less';
3
- declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
4
- export default AppVersionControl;
@@ -1,20 +0,0 @@
1
- export declare type Options = {
2
- mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined;
3
- minFontSizePx?: number | undefined;
4
- maxFontSizePx?: number | undefined;
5
- fontSizePrecisionPx?: number | undefined;
6
- scrollToEnd?: boolean | undefined;
7
- };
8
- export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
9
- innerEl: HTMLElement;
10
- containerEl: HTMLElement;
11
- }): void;
12
- declare type DisconnectableFunction = {
13
- (): void;
14
- disconnect: () => void;
15
- };
16
- export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
17
- innerEl: HTMLElement;
18
- containerEl: HTMLElement;
19
- }): DisconnectableFunction;
20
- export {};
@@ -1,6 +0,0 @@
1
- import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
- import { Options } from './auto-text-size-standalone';
3
- export default function AutoResizeText({ mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, as: Comp, children, ...rest }: Options & {
4
- as?: keyof ReactHTML | React.ComponentType<any>;
5
- children?: React.ReactNode;
6
- } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
@@ -1,56 +0,0 @@
1
- import React from 'react';
2
- import { FormInstance } from 'antd';
3
- import { ModeType } from './type';
4
- import './style.less';
5
- export interface WithModeProps {
6
- renderMode?: ModeType;
7
- value?: any;
8
- onChange?: (value: any) => void;
9
- [key: string]: any;
10
- }
11
- /**
12
- * @title: 增加renderMode属性
13
- * @description: 基于renderMode属性控制渲染模式
14
- * @return: *
15
- * @Author: shengjie.zuo
16
- * @Date: 2024-11-23 17:13:18
17
- */
18
- export declare const withMode: <P extends object>(FieldComponent: React.ComponentType<P>, ReadPrettyComponent?: React.ComponentType<P & {
19
- renderMode: ModeType;
20
- }> | undefined, transformProps?: ((props: P, renderMode: ModeType) => P) | undefined) => React.FC<P & WithModeProps>;
21
- export interface WithFormItemProps {
22
- name: string;
23
- label?: string;
24
- mode?: ModeType;
25
- [key: string]: any;
26
- }
27
- export declare const formItemNameReplace: (name: string) => string;
28
- export declare const formItemNameReverse: (name: string) => string;
29
- export declare const isValidDomain: (value: string) => boolean;
30
- /**
31
- * @title: 追加formItem层
32
- * @description:
33
- * @return: *
34
- * @Author: shengjie.zuo
35
- * @Date: 2024-11-23 17:14:25
36
- */
37
- export declare const withFormItem: <P extends object>(WrappedComponent: React.ComponentType<P>, overlayProps?: {
38
- otherFormItemProps?: Record<string, any> | ((props: Record<string, any>, others?: Record<string, any>) => Record<string, any>) | undefined;
39
- innerProps?: Record<string, any> | undefined;
40
- } | undefined) => React.FC<P & WithFormItemProps>;
41
- export declare const withDataSource: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
42
- dataSource?: any;
43
- }) => JSX.Element;
44
- export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
- options?: any;
46
- optionSourceType?: "default" | "custom" | "api" | undefined;
47
- labelField: string;
48
- valueField: string;
49
- extraParams?: Record<string, any> | undefined;
50
- }) => JSX.Element;
51
- export declare const getNestedValue: (obj: Record<string, any>, path: string) => Record<string, any>;
52
- export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) => JSX.Element | null;
53
- export declare function toArr(str: string | number | (string | number)[]): (string | number)[];
54
- export declare const filterSystemFields: (params: Record<string, any>) => Record<string, any>;
55
- export declare const transformFormObjToArrayWithUntouched: (obj: Record<string, any>) => any[];
56
- export declare const setFormFieldsUntouched: (form: FormInstance) => void;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from './type';
3
- export interface TableRef {
4
- refreshCurrentPage: () => void;
5
- refreshData: () => void;
6
- }
7
- declare const _default: React.ForwardRefExoticComponent<DataSourceTableProps & React.RefAttributes<TableRef>>;
8
- export default _default;
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- interface BaseFilterItem {
4
- name?: string;
5
- value: string;
6
- label?: string;
7
- type?: string;
8
- isHidden: boolean;
9
- isCustom?: boolean;
10
- }
11
- interface FilterProps {
12
- componentId: string;
13
- filterBy: Record<string, any>;
14
- quickFilterMaxLength?: number;
15
- sortButtonShow?: boolean;
16
- mode?: 'simple' | 'complex';
17
- items: BaseFilterItem[];
18
- handleValuesChange: (changedFields: any, allFields: any) => void;
19
- show: boolean;
20
- search: {
21
- show: boolean;
22
- placeholder: string;
23
- key: string;
24
- };
25
- getInitialValues?: () => Record<string, any>;
26
- }
27
- declare const Filter: (props: FilterProps) => JSX.Element;
28
- export default Filter;
@@ -1,38 +0,0 @@
1
- import { Drawer } from 'antd';
2
- import { OperationItem } from '../type';
3
- declare const useDrawerState: (operationContent?: {
4
- [key: string]: import("react").ReactNode;
5
- } | undefined) => {
6
- drawerVisible: boolean;
7
- setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
- openDrawer: (item: OperationItem) => void;
9
- closeDrawer: () => void;
10
- drawerContent: import("react").ReactNode;
11
- Container: {
12
- (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
13
- confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
14
- destroy: () => void;
15
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
16
- };
17
- info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
18
- destroy: () => void;
19
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
- };
21
- error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
22
- destroy: () => void;
23
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
24
- };
25
- warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
26
- warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
27
- destroy: () => void;
28
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
29
- };
30
- success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
31
- destroy: () => void;
32
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
33
- };
34
- Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
35
- } | typeof Drawer;
36
- containerProps: {};
37
- };
38
- export default useDrawerState;
@@ -1,100 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from '../type';
3
- import { OperationItem } from '../type';
4
- interface UseTablePropsProps {
5
- data: any;
6
- originProps: DataSourceTableProps;
7
- openDrawer: (type: OperationItem) => void;
8
- closeDrawer: () => void;
9
- refreshData: () => void;
10
- handleFilterChange: (changedFields: any, allFields: any) => void;
11
- tableRef: any;
12
- getInitialValues: () => Record<string, any>;
13
- }
14
- /**
15
- * 处理table的props
16
- * 转换title
17
- * @param props
18
- * @returns
19
- */
20
- declare const useTableProps: (props: UseTablePropsProps) => {
21
- currentComponentId: any;
22
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
23
- pagination: {
24
- total: number;
25
- current: number;
26
- pageSize: number;
27
- size: string;
28
- showSizeChanger: boolean;
29
- };
30
- columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
32
- buttons: any[] | null;
33
- filter: {
34
- dom: any;
35
- items: any;
36
- } | null;
37
- onRow: (record: any) => any;
38
- actionButtons: any[] | null;
39
- __id?: string | undefined;
40
- currentSettingKey?: string | undefined;
41
- titleButtons?: {
42
- show: boolean;
43
- maxCount: number;
44
- items: OperationItem[];
45
- } | undefined;
46
- tableButtons?: {
47
- show: boolean;
48
- maxCount: number;
49
- items: OperationItem[];
50
- } | undefined;
51
- operation?: {
52
- show: boolean;
53
- title: string;
54
- width: number;
55
- align: "center" | "left" | "right";
56
- fixed: false | "left" | "right";
57
- type: "link" | "button";
58
- items: OperationItem[];
59
- } | undefined;
60
- operationContent?: {
61
- [key: string]: React.ReactNode;
62
- } | undefined;
63
- dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
64
- search?: {
65
- show: boolean;
66
- placeholder: string;
67
- } | undefined;
68
- __designMode: string;
69
- componentId: string;
70
- clickToDetail?: {
71
- show: boolean;
72
- useCustomAction: boolean;
73
- actionType: string;
74
- openMode: "modal" | "drawer";
75
- openContentSize: "small" | "large" | "middle";
76
- openTitle: string;
77
- key: string;
78
- } | undefined;
79
- filterBy?: Record<string, any> | undefined;
80
- sortBy: string;
81
- tabs?: {
82
- show: boolean;
83
- type: string;
84
- items: {
85
- name: string;
86
- filterBy: Record<string, any>;
87
- sortBy: string;
88
- }[];
89
- } | undefined;
90
- onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
91
- extraParams?: {
92
- list?: Record<string, any> | undefined;
93
- get?: Record<string, any> | undefined;
94
- update?: Record<string, any> | undefined;
95
- create?: Record<string, any> | undefined;
96
- destroy?: Record<string, any> | undefined;
97
- } | undefined;
98
- localSettings?: import("../../../table/types").LocalSettingsType | undefined;
99
- };
100
- export default useTableProps;
@@ -1,33 +0,0 @@
1
- import { DataSourceTableProps } from '../type';
2
- declare type Params = {
3
- pagination?: {
4
- page: number;
5
- size: number;
6
- };
7
- order_by?: string;
8
- tabs?: {
9
- name: string;
10
- filterBy: Record<string, any>;
11
- sortBy: string;
12
- };
13
- };
14
- declare const useTableQuery: (props: DataSourceTableProps, currentSettingHash: string) => {
15
- queryPageConfig: {
16
- page: number;
17
- pageSize: number;
18
- filter: Record<string, any>;
19
- sort: string;
20
- };
21
- setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
- page: number;
23
- pageSize: number;
24
- filter: Record<string, any>;
25
- sort: string;
26
- }>>;
27
- handleValuesChange: (params: Params, allParams: Params) => void;
28
- refreshData: () => void;
29
- handleFilterChange: (changedFields: any, allFields: any) => void;
30
- refreshCurrentPage: () => void;
31
- getInitialValues: () => Record<string, any>;
32
- };
33
- export default useTableQuery;