@pisell/materials 3.3.85 → 3.3.87

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 (392) 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 +6 -6
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +21 -21
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +21 -21
  11. package/es/components/Pagination/index.d.ts +4 -5
  12. package/es/components/Pagination/index.js +77 -59
  13. package/es/components/Pagination/index.less +13 -7
  14. package/es/components/PisellFields/index.d.ts +2 -2
  15. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  19. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  20. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  21. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
  22. package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
  23. package/es/components/filter/components/Dropdown/index.js +6 -2
  24. package/es/components/filter/components/FilterButton/index.js +19 -4
  25. package/es/components/filter/components/FilterButton/types.d.ts +8 -0
  26. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
  27. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +90 -0
  28. package/es/components/filter/components/FilterItem/index.d.ts +3 -3
  29. package/es/components/filter/components/FilterItem/index.js +138 -7
  30. package/es/components/filter/components/FilterItem/index.less +90 -0
  31. package/es/components/filter/types.d.ts +4 -2
  32. package/es/components/pisellBatchActionBar/PisellBatchActionBar.js +38 -29
  33. package/es/components/pisellCurrency/PisellCurrency.less +163 -25
  34. package/es/components/pisellCurrency/PisellCurrency.stories.js +1 -1
  35. package/es/components/pisellCurrency/index.d.ts +2 -1
  36. package/es/components/pisellCurrency/index.js +16 -1
  37. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
  38. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +30 -3
  39. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
  40. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +68 -0
  41. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
  42. package/es/components/pisellDataSourceContainer/components/Table/index.js +5 -3
  43. package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
  44. package/es/components/pisellDataSourceContainer/components/Table/useColumns.js +37 -15
  45. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  46. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +21 -15
  47. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
  48. package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +6 -4
  49. package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
  50. package/es/components/pisellDateTimeDisplay/utils/localeUtils.js +15 -4
  51. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -0
  52. package/es/components/pisellDateTimeDisplay/utils/relativeDay.js +4 -2
  53. package/es/components/pisellEmail/PisellEmail.less +119 -10
  54. package/es/components/pisellEmail/PisellEmail.stories.js +1 -1
  55. package/es/components/pisellEmail/index.d.ts +3 -1
  56. package/es/components/pisellEmail/index.js +17 -1
  57. package/es/components/pisellFilter/index.js +76 -10
  58. package/es/components/pisellFind/index.js +11 -2
  59. package/es/components/pisellGridPro/ToolBar/index.less +23 -0
  60. package/es/components/pisellGridPro/index.d.ts +4 -0
  61. package/es/components/pisellLongText/PisellLongText.less +72 -4
  62. package/es/components/pisellLongText/PisellLongText.stories.js +1 -1
  63. package/es/components/pisellLongText/index.d.ts +2 -1
  64. package/es/components/pisellLongText/index.js +16 -1
  65. package/es/components/pisellLookup/PisellLookup.js +18 -9
  66. package/es/components/pisellLookup/PisellLookup.less +39 -16
  67. package/es/components/pisellLookup/components/LookupTrigger.js +14 -4
  68. package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
  69. package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
  70. package/es/components/pisellMultipleSelect/components/EditView.js +8 -2
  71. package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
  72. package/es/components/pisellMultipleSelect/components/ReadOnlyView.js +15 -11
  73. package/es/components/pisellMultipleSelect/index.d.ts +2 -1
  74. package/es/components/pisellMultipleSelect/index.js +16 -1
  75. package/es/components/pisellNumber/PisellNumber.less +135 -17
  76. package/es/components/pisellNumber/PisellNumber.stories.js +1 -1
  77. package/es/components/pisellNumber/index.d.ts +2 -1
  78. package/es/components/pisellNumber/index.js +16 -1
  79. package/es/components/pisellPercent/PisellPercent.less +142 -24
  80. package/es/components/pisellPercent/PisellPercent.stories.js +1 -1
  81. package/es/components/pisellPercent/index.d.ts +2 -1
  82. package/es/components/pisellPercent/index.js +16 -1
  83. package/es/components/pisellPhone/PisellPhone.less +122 -27
  84. package/es/components/pisellPhone/PisellPhone.stories.js +1 -1
  85. package/es/components/pisellPhone/components/EditView.js +1 -1
  86. package/es/components/pisellPhone/components/ReadOnlyView.js +15 -6
  87. package/es/components/pisellPhone/index.d.ts +2 -1
  88. package/es/components/pisellPhone/index.js +16 -1
  89. package/es/components/pisellRating/PisellRating.less +20 -12
  90. package/es/components/pisellRating/PisellRating.stories.js +1 -1
  91. package/es/components/pisellRating/index.d.ts +2 -1
  92. package/es/components/pisellRating/index.js +16 -1
  93. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +8 -0
  94. package/es/components/pisellRecordBoard/PisellRecordBoard.js +243 -0
  95. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
  96. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +2358 -0
  97. package/es/components/pisellRecordBoard/context/RecordBoardContext.js +2 -0
  98. package/es/components/pisellRecordBoard/context/RecordBoardProvider.js +13 -0
  99. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.js +29 -0
  100. package/es/components/pisellRecordBoard/index.d.ts +35 -0
  101. package/es/components/pisellRecordBoard/index.js +23 -0
  102. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.js +36 -0
  103. package/es/components/pisellRecordBoard/layouts/CardLayout/index.js +20 -0
  104. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  105. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +242 -0
  106. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
  107. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  108. package/es/components/pisellRecordBoard/layouts/GridLayout/index.js +20 -0
  109. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  110. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +90 -0
  111. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  112. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +138 -0
  113. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  114. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +66 -0
  115. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
  116. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  117. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +66 -0
  118. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
  119. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  120. package/es/components/pisellRecordBoard/shellFrame/Search/index.js +41 -0
  121. package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
  122. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +11 -0
  123. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +215 -0
  124. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
  125. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +77 -0
  126. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  127. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +65 -0
  128. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
  129. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
  130. package/es/components/pisellRecordBoard/shellFrame/index.js +104 -0
  131. package/es/components/pisellRecordBoard/types.js +1 -0
  132. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
  133. package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +508 -0
  134. package/es/components/pisellRecordBoard/utils/withRecordBoard.js +27 -0
  135. package/es/components/pisellShellFrame/PisellShellFrame.js +107 -0
  136. package/es/components/pisellShellFrame/PisellShellFrame.less +78 -0
  137. package/es/components/pisellShellFrame/PisellShellFrame.stories.js +195 -0
  138. package/es/components/pisellShellFrame/index.js +1 -0
  139. package/es/components/pisellShellFrame/types.js +1 -0
  140. package/es/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
  141. package/es/components/pisellSingleLineText/index.d.ts +2 -1
  142. package/es/components/pisellSingleLineText/index.js +16 -1
  143. package/es/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
  144. package/es/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
  145. package/es/components/pisellSingleSelect/components/EditView.js +8 -2
  146. package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
  147. package/es/components/pisellSingleSelect/components/ReadOnlyView.js +10 -6
  148. package/es/components/pisellSingleSelect/index.d.ts +2 -1
  149. package/es/components/pisellSingleSelect/index.js +16 -1
  150. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -3
  151. package/es/components/pisellUrl/PisellUrl.less +120 -11
  152. package/es/components/pisellUrl/PisellUrl.stories.js +1 -1
  153. package/es/components/pisellUrl/index.d.ts +3 -1
  154. package/es/components/pisellUrl/index.js +17 -1
  155. package/es/components/pisellWalletPassCard/index.js +1 -1
  156. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  157. package/es/components/select/index.less +18 -2
  158. package/es/components/sort/index.js +25 -3
  159. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  160. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  161. package/es/components/table/Table/utils.d.ts +1 -1
  162. package/es/index.d.ts +6 -2
  163. package/es/index.js +2 -0
  164. package/es/locales/en-US.d.ts +36 -0
  165. package/es/locales/en-US.js +50 -2
  166. package/es/locales/index.js +2 -2
  167. package/es/locales/ja.d.ts +2 -0
  168. package/es/locales/ja.js +2 -0
  169. package/es/locales/pt.d.ts +2 -0
  170. package/es/locales/pt.js +2 -0
  171. package/es/locales/zh-CN.d.ts +36 -0
  172. package/es/locales/zh-CN.js +54 -6
  173. package/es/locales/zh-TW.d.ts +36 -0
  174. package/es/locales/zh-TW.js +54 -6
  175. package/es/utils/tagColor.js +39 -0
  176. package/lib/components/Pagination/index.d.ts +4 -5
  177. package/lib/components/Pagination/index.js +44 -21
  178. package/lib/components/Pagination/index.less +13 -7
  179. package/lib/components/PisellFields/index.d.ts +2 -2
  180. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  181. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  182. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  183. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  184. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  185. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  186. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
  187. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
  188. package/lib/components/filter/components/Dropdown/index.js +9 -2
  189. package/lib/components/filter/components/FilterButton/index.js +14 -3
  190. package/lib/components/filter/components/FilterButton/types.d.ts +8 -0
  191. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
  192. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +69 -0
  193. package/lib/components/filter/components/FilterItem/index.d.ts +3 -3
  194. package/lib/components/filter/components/FilterItem/index.js +133 -4
  195. package/lib/components/filter/components/FilterItem/index.less +90 -0
  196. package/lib/components/filter/types.d.ts +4 -2
  197. package/lib/components/pisellBatchActionBar/PisellBatchActionBar.js +26 -23
  198. package/lib/components/pisellCurrency/PisellCurrency.less +163 -25
  199. package/lib/components/pisellCurrency/PisellCurrency.stories.js +1 -1
  200. package/lib/components/pisellCurrency/index.d.ts +2 -1
  201. package/lib/components/pisellCurrency/index.js +7 -0
  202. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
  203. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +18 -2
  204. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
  205. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +81 -0
  206. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
  207. package/lib/components/pisellDataSourceContainer/components/Table/index.js +3 -1
  208. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
  209. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.js +25 -14
  210. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  211. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +17 -11
  212. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
  213. package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +7 -1
  214. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
  215. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.js +10 -2
  216. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -0
  217. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.js +2 -1
  218. package/lib/components/pisellEmail/PisellEmail.less +119 -10
  219. package/lib/components/pisellEmail/PisellEmail.stories.js +1 -1
  220. package/lib/components/pisellEmail/index.d.ts +3 -1
  221. package/lib/components/pisellEmail/index.js +10 -2
  222. package/lib/components/pisellFilter/index.js +79 -8
  223. package/lib/components/pisellFind/index.js +11 -2
  224. package/lib/components/pisellGridPro/ToolBar/index.less +23 -0
  225. package/lib/components/pisellGridPro/index.d.ts +4 -0
  226. package/lib/components/pisellLongText/PisellLongText.less +72 -4
  227. package/lib/components/pisellLongText/PisellLongText.stories.js +1 -1
  228. package/lib/components/pisellLongText/index.d.ts +2 -1
  229. package/lib/components/pisellLongText/index.js +7 -0
  230. package/lib/components/pisellLookup/PisellLookup.js +12 -6
  231. package/lib/components/pisellLookup/PisellLookup.less +39 -16
  232. package/lib/components/pisellLookup/components/LookupTrigger.js +9 -3
  233. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
  234. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
  235. package/lib/components/pisellMultipleSelect/components/EditView.js +4 -1
  236. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
  237. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.js +29 -1
  238. package/lib/components/pisellMultipleSelect/index.d.ts +2 -1
  239. package/lib/components/pisellMultipleSelect/index.js +7 -0
  240. package/lib/components/pisellNumber/PisellNumber.less +135 -17
  241. package/lib/components/pisellNumber/PisellNumber.stories.js +1 -1
  242. package/lib/components/pisellNumber/index.d.ts +2 -1
  243. package/lib/components/pisellNumber/index.js +7 -0
  244. package/lib/components/pisellPercent/PisellPercent.less +142 -24
  245. package/lib/components/pisellPercent/PisellPercent.stories.js +1 -1
  246. package/lib/components/pisellPercent/index.d.ts +2 -1
  247. package/lib/components/pisellPercent/index.js +7 -0
  248. package/lib/components/pisellPhone/PisellPhone.less +122 -27
  249. package/lib/components/pisellPhone/PisellPhone.stories.js +1 -1
  250. package/lib/components/pisellPhone/components/EditView.js +1 -1
  251. package/lib/components/pisellPhone/components/ReadOnlyView.js +18 -4
  252. package/lib/components/pisellPhone/index.d.ts +2 -1
  253. package/lib/components/pisellPhone/index.js +7 -0
  254. package/lib/components/pisellRating/PisellRating.less +20 -12
  255. package/lib/components/pisellRating/PisellRating.stories.js +1 -1
  256. package/lib/components/pisellRating/index.d.ts +2 -1
  257. package/lib/components/pisellRating/index.js +7 -0
  258. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +8 -0
  259. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +263 -0
  260. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
  261. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +1673 -0
  262. package/lib/components/pisellRecordBoard/context/RecordBoardContext.js +30 -0
  263. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.js +46 -0
  264. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.js +47 -0
  265. package/lib/components/pisellRecordBoard/index.d.ts +35 -0
  266. package/lib/components/pisellRecordBoard/index.js +59 -0
  267. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.js +46 -0
  268. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.js +46 -0
  269. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  270. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +264 -0
  271. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
  272. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  273. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.js +46 -0
  274. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  275. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +108 -0
  276. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  277. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +173 -0
  278. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  279. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +100 -0
  280. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
  281. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  282. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +90 -0
  283. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
  284. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  285. package/lib/components/pisellRecordBoard/shellFrame/Search/index.js +53 -0
  286. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
  287. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +11 -0
  288. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +247 -0
  289. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
  290. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +93 -0
  291. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  292. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +85 -0
  293. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
  294. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
  295. package/lib/components/pisellRecordBoard/shellFrame/index.js +137 -0
  296. package/lib/components/pisellRecordBoard/types.js +17 -0
  297. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
  298. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.js +365 -0
  299. package/lib/components/pisellRecordBoard/utils/withRecordBoard.js +49 -0
  300. package/lib/components/pisellShellFrame/PisellShellFrame.js +113 -0
  301. package/lib/components/pisellShellFrame/PisellShellFrame.less +78 -0
  302. package/lib/components/pisellShellFrame/PisellShellFrame.stories.js +129 -0
  303. package/lib/components/pisellShellFrame/index.js +40 -0
  304. package/lib/components/pisellShellFrame/types.js +17 -0
  305. package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
  306. package/lib/components/pisellSingleLineText/index.d.ts +2 -1
  307. package/lib/components/pisellSingleLineText/index.js +7 -0
  308. package/lib/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
  309. package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
  310. package/lib/components/pisellSingleSelect/components/EditView.js +4 -1
  311. package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
  312. package/lib/components/pisellSingleSelect/components/ReadOnlyView.js +12 -9
  313. package/lib/components/pisellSingleSelect/index.d.ts +2 -1
  314. package/lib/components/pisellSingleSelect/index.js +7 -0
  315. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -2
  316. package/lib/components/pisellUrl/PisellUrl.less +120 -11
  317. package/lib/components/pisellUrl/PisellUrl.stories.js +1 -1
  318. package/lib/components/pisellUrl/index.d.ts +3 -1
  319. package/lib/components/pisellUrl/index.js +10 -2
  320. package/lib/components/pisellWalletPassCard/index.js +9 -2
  321. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  322. package/lib/components/select/index.less +18 -2
  323. package/lib/components/sort/index.js +13 -3
  324. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  325. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  326. package/lib/components/table/Table/utils.d.ts +1 -1
  327. package/lib/index.d.ts +6 -2
  328. package/lib/index.js +6 -0
  329. package/lib/locales/en-US.d.ts +36 -0
  330. package/lib/locales/en-US.js +42 -2
  331. package/lib/locales/index.js +2 -2
  332. package/lib/locales/ja.d.ts +2 -0
  333. package/lib/locales/ja.js +2 -0
  334. package/lib/locales/pt.d.ts +2 -0
  335. package/lib/locales/pt.js +2 -0
  336. package/lib/locales/zh-CN.d.ts +36 -0
  337. package/lib/locales/zh-CN.js +46 -6
  338. package/lib/locales/zh-TW.d.ts +36 -0
  339. package/lib/locales/zh-TW.js +46 -6
  340. package/lib/utils/tagColor.js +60 -0
  341. package/lowcode/auto-resize-text/meta.ts +1 -1
  342. package/package.json +3 -3
  343. package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
  344. package/es/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
  345. package/es/components/pisellDateTimeDisplay/types.d.ts +0 -347
  346. package/es/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
  347. package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
  348. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  349. package/es/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
  350. package/es/components/pisellLookup/components/HotWords.d.ts +0 -7
  351. package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
  352. package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  353. package/es/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  354. package/es/components/pisellLookup/components/SuggestWords.d.ts +0 -7
  355. package/es/components/pisellLookup/components/index.d.ts +0 -9
  356. package/es/components/pisellLookup/hooks/index.d.ts +0 -6
  357. package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
  358. package/es/components/pisellLookup/index.d.ts +0 -6
  359. package/es/components/pisellLookup/types.d.ts +0 -666
  360. package/es/components/pisellLookup/utils/index.d.ts +0 -5
  361. package/es/components/pisellLookup/utils/trigger.d.ts +0 -42
  362. package/es/components/pisellSort/type.d.ts +0 -7
  363. package/es/components/pisellTimeRangeDisplay/types.d.ts +0 -137
  364. package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
  365. package/es/components/sort/types.d.ts +0 -20
  366. package/es/components/virtualInput/index.d.ts +0 -29
  367. package/es/hooks/useThemeTokens.d.ts +0 -7
  368. package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
  369. package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
  370. package/lib/components/pisellDateTimeDisplay/types.d.ts +0 -347
  371. package/lib/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
  372. package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
  373. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  374. package/lib/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
  375. package/lib/components/pisellLookup/components/HotWords.d.ts +0 -7
  376. package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
  377. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  378. package/lib/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  379. package/lib/components/pisellLookup/components/SuggestWords.d.ts +0 -7
  380. package/lib/components/pisellLookup/components/index.d.ts +0 -9
  381. package/lib/components/pisellLookup/hooks/index.d.ts +0 -6
  382. package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
  383. package/lib/components/pisellLookup/index.d.ts +0 -6
  384. package/lib/components/pisellLookup/types.d.ts +0 -666
  385. package/lib/components/pisellLookup/utils/index.d.ts +0 -5
  386. package/lib/components/pisellLookup/utils/trigger.d.ts +0 -42
  387. package/lib/components/pisellSort/type.d.ts +0 -7
  388. package/lib/components/pisellTimeRangeDisplay/types.d.ts +0 -137
  389. package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
  390. package/lib/components/sort/types.d.ts +0 -20
  391. package/lib/components/virtualInput/index.d.ts +0 -29
  392. package/lib/hooks/useThemeTokens.d.ts +0 -7
@@ -21,6 +21,8 @@ declare const _default: {
21
21
  'sort-from-evening-to-morning': string;
22
22
  'sort-0-9': string;
23
23
  'sort-9-0': string;
24
+ 'sort-first-last': string;
25
+ 'sort-last-first': string;
24
26
  'table-action-filter-button': string;
25
27
  'table-action-filter-quick-filter': string;
26
28
  'table-action-filter-quick-filter-tip': (count: number) => string;
@@ -31,8 +33,12 @@ declare const _default: {
31
33
  'table-action-column-title': string;
32
34
  'table-column-group-records': string;
33
35
  'table-column-group-lock-tip': string;
36
+ 'record-board-uniform-summary-empty': string;
37
+ 'record-board-uniform-summary-same': string;
34
38
  'table-column-drag-sort-disabled-tip': string;
35
39
  'table-action-filter-no-filter': string;
40
+ 'table-action-range-picker-placeholder-start': string;
41
+ 'table-action-range-picker-placeholder-end': string;
36
42
  'table-action-range-picker-presets-today': string;
37
43
  'table-action-range-picker-presets-yesterday': string;
38
44
  'table-action-range-picker-presets-last-3-day': string;
@@ -56,6 +62,7 @@ declare const _default: {
56
62
  'pisell-lookup-no-data': string;
57
63
  'pisell-find-button-text': string;
58
64
  'pisell-find-placeholder': string;
65
+ 'pisell-export-button-text': string;
59
66
  'batch-editor-actions': string;
60
67
  'batch-editor-remove': string;
61
68
  'batch-editor-price': string;
@@ -78,6 +85,35 @@ declare const _default: {
78
85
  'batch-action-bar-delete-confirm-content': (count: number) => string;
79
86
  'batch-action-bar-delete-confirm-ok': string;
80
87
  'batch-action-bar-delete-confirm-cancel': string;
88
+ 'record-board-toolbar-reset': string;
89
+ 'record-board-toolbar-default-filter-status': string;
90
+ 'record-board-toolbar-default-filter-all': string;
91
+ 'record-board-toolbar-default-filter-enabled': string;
92
+ 'record-board-toolbar-default-filter-disabled': string;
93
+ 'record-board-toolbar-default-filter-keyword': string;
94
+ 'record-board-toolbar-default-placeholder': string;
95
+ 'pisell2.recordBoard.toolbar.find': string;
96
+ 'pisell2.recordBoard.toolbar.findPlaceholder': string;
97
+ 'pisell2.recordBoard.toolbar.sort': string;
98
+ 'pisell2.recordBoard.toolbar.filter': string;
99
+ 'pisell2.recordBoard.toolbar.reset': string;
100
+ 'pisell2.salesManagement.pagination.previous': string;
101
+ 'pisell2.salesManagement.pagination.next': string;
102
+ 'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
103
+ 'pisell2.salesManagement.pagination.total': (current: number, max: number) => string;
104
+ 'pisell2.salesManagement.batchActionBar.selectedCount': (count: number) => string;
105
+ 'pisell2.salesManagement.batchActionBar.more': string;
106
+ 'pisell2.salesManagement.batchActionBar.selectAll': string;
107
+ 'pisell2.salesManagement.batchActionBar.invert': string;
108
+ 'pisell2.salesManagement.batchActionBar.clear': string;
109
+ 'pisell2.salesManagement.batchActionBar.delete': string;
110
+ 'pisell2.salesManagement.batchActionBar.confirmTitle': string;
111
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': string;
112
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmContent': (count: number) => string;
113
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmOk': string;
114
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': string;
115
+ 'shell-frame-statistic-expand': string;
116
+ 'shell-frame-statistic-collapse': string;
81
117
  'table-action-export-import-export-success': string;
82
118
  'table-action-export-import-button': string;
83
119
  'table-action-export-import-export-range': string;
@@ -17,12 +17,14 @@ export default {
17
17
  'sort-button-text': '排序',
18
18
  'sort-oldest-to-newest': '从旧到新',
19
19
  'sort-newest-to-oldest': '从新到旧',
20
- 'sort-a-z': 'A Z',
21
- 'sort-z-a': 'Z A',
20
+ 'sort-a-z': 'A Z',
21
+ 'sort-z-a': 'Z A',
22
22
  'sort-from-morning-to-night': '从早到晚',
23
23
  'sort-from-evening-to-morning': '从晚到早',
24
- 'sort-0-9': '0 ~ 9',
25
- 'sort-9-0': '9 ~ 0',
24
+ 'sort-0-9': '0 9',
25
+ 'sort-9-0': '9 0',
26
+ 'sort-first-last': 'First → Last',
27
+ 'sort-last-first': 'Last → First',
26
28
  'table-action-filter-button': '筛选',
27
29
  'table-action-filter-quick-filter': '快捷筛选',
28
30
  'table-action-filter-quick-filter-tip': function tableActionFilterQuickFilterTip(count) {
@@ -37,8 +39,12 @@ export default {
37
39
  'table-action-column-title': '表头设置',
38
40
  'table-column-group-records': '条记录',
39
41
  'table-column-group-lock-tip': '固定列不可移动顺序',
42
+ 'record-board-uniform-summary-empty': '-',
43
+ 'record-board-uniform-summary-same': '重复数据',
40
44
  'table-column-drag-sort-disabled-tip': '已开启自动排序,无法手动拖拽',
41
45
  'table-action-filter-no-filter': '没有可用的筛选器。',
46
+ 'table-action-range-picker-placeholder-start': '开始日期',
47
+ 'table-action-range-picker-placeholder-end': '结束日期',
42
48
  'table-action-range-picker-presets-today': '今天',
43
49
  'table-action-range-picker-presets-yesterday': '昨天',
44
50
  'table-action-range-picker-presets-last-3-day': '过去3天',
@@ -53,7 +59,7 @@ export default {
53
59
  'pisell-lookup-placeholder': '请输入搜索内容',
54
60
  'pisell-lookup-button-text': '搜索',
55
61
  'pisell-lookup-confirm-button-text': 'Lookup',
56
- 'pisell-lookup-clear': 'Clear',
62
+ 'pisell-lookup-clear': '清空',
57
63
  'pisell-lookup-close': 'Close',
58
64
  'pisell-lookup-search-history': '搜索历史',
59
65
  'pisell-lookup-clear-history': '清空',
@@ -62,8 +68,10 @@ export default {
62
68
  'pisell-lookup-loading': '加载中...',
63
69
  'pisell-lookup-no-data': '暂无数据',
64
70
  // PisellFind
65
- 'pisell-find-button-text': 'Find',
71
+ 'pisell-find-button-text': '搜索',
66
72
  'pisell-find-placeholder': '请输入搜索内容',
73
+ // PisellExport
74
+ 'pisell-export-button-text': '导出',
67
75
  'batch-editor-actions': '操作',
68
76
  'batch-editor-remove': '移除',
69
77
  'batch-editor-price': '价格',
@@ -95,6 +103,46 @@ export default {
95
103
  },
96
104
  'batch-action-bar-delete-confirm-ok': '确定',
97
105
  'batch-action-bar-delete-confirm-cancel': '取消',
106
+ // RecordBoard 工具栏
107
+ 'record-board-toolbar-reset': '重置',
108
+ 'record-board-toolbar-default-filter-status': '状态',
109
+ 'record-board-toolbar-default-filter-all': '全部',
110
+ 'record-board-toolbar-default-filter-enabled': '启用',
111
+ 'record-board-toolbar-default-filter-disabled': '禁用',
112
+ 'record-board-toolbar-default-filter-keyword': '关键词',
113
+ 'record-board-toolbar-default-placeholder': '请输入',
114
+ // RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
115
+ 'pisell2.recordBoard.toolbar.find': '搜索',
116
+ 'pisell2.recordBoard.toolbar.findPlaceholder': '请输入搜索内容',
117
+ 'pisell2.recordBoard.toolbar.sort': '排序',
118
+ 'pisell2.recordBoard.toolbar.filter': '筛选',
119
+ 'pisell2.recordBoard.toolbar.reset': '重置',
120
+ 'pisell2.salesManagement.pagination.previous': '上一页',
121
+ 'pisell2.salesManagement.pagination.next': '下一页',
122
+ 'pisell2.salesManagement.pagination.showTotal': function pisell2SalesManagementPaginationShowTotal(start, end) {
123
+ return "\u7B2C ".concat(start, "-").concat(end, " \u6761");
124
+ },
125
+ 'pisell2.salesManagement.pagination.total': function pisell2SalesManagementPaginationTotal(current, max) {
126
+ return "".concat(current, " / ").concat(max);
127
+ },
128
+ 'pisell2.salesManagement.batchActionBar.selectedCount': function pisell2SalesManagementBatchActionBarSelectedCount(count) {
129
+ return "\u5DF2\u9009\u62E9 ".concat(count, " \u9879");
130
+ },
131
+ 'pisell2.salesManagement.batchActionBar.more': '更多',
132
+ 'pisell2.salesManagement.batchActionBar.selectAll': '全选',
133
+ 'pisell2.salesManagement.batchActionBar.invert': '反选',
134
+ 'pisell2.salesManagement.batchActionBar.clear': '取消选择',
135
+ 'pisell2.salesManagement.batchActionBar.delete': '删除',
136
+ 'pisell2.salesManagement.batchActionBar.confirmTitle': '确认操作',
137
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': '确认删除',
138
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmContent': function pisell2SalesManagementBatchActionBarDeleteConfirmContent(count) {
139
+ return "\u786E\u5B9A\u8981\u5220\u9664\u9009\u4E2D\u7684 ".concat(count, " \u9879\u5417\uFF1F");
140
+ },
141
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmOk': '确定',
142
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': '取消',
143
+ // ShellFrame 统计区折叠
144
+ 'shell-frame-statistic-expand': '展开统计',
145
+ 'shell-frame-statistic-collapse': '收起统计',
98
146
  // 导出
99
147
  'table-action-export-import-export-success': '导出成功!',
100
148
  'table-action-export-import-button': '导出',
@@ -21,6 +21,8 @@ declare const _default: {
21
21
  'sort-from-evening-to-morning': string;
22
22
  'sort-0-9': string;
23
23
  'sort-9-0': string;
24
+ 'sort-first-last': string;
25
+ 'sort-last-first': string;
24
26
  'table-action-filter-button': string;
25
27
  'table-action-filter-quick-filter': string;
26
28
  'table-action-filter-quick-filter-tip': (count: number) => string;
@@ -31,8 +33,12 @@ declare const _default: {
31
33
  'table-action-column-title': string;
32
34
  'table-column-group-records': string;
33
35
  'table-column-group-lock-tip': string;
36
+ 'record-board-uniform-summary-empty': string;
37
+ 'record-board-uniform-summary-same': string;
34
38
  'table-column-drag-sort-disabled-tip': string;
35
39
  'table-action-filter-no-filter': string;
40
+ 'table-action-range-picker-placeholder-start': string;
41
+ 'table-action-range-picker-placeholder-end': string;
36
42
  'table-action-range-picker-presets-today': string;
37
43
  'table-action-range-picker-presets-yesterday': string;
38
44
  'table-action-range-picker-presets-last-3-day': string;
@@ -56,6 +62,7 @@ declare const _default: {
56
62
  'pisell-lookup-no-data': string;
57
63
  'pisell-find-button-text': string;
58
64
  'pisell-find-placeholder': string;
65
+ 'pisell-export-button-text': string;
59
66
  'batch-editor-actions': string;
60
67
  'batch-editor-remove': string;
61
68
  'batch-editor-price': string;
@@ -78,6 +85,35 @@ declare const _default: {
78
85
  'batch-action-bar-delete-confirm-content': (count: number) => string;
79
86
  'batch-action-bar-delete-confirm-ok': string;
80
87
  'batch-action-bar-delete-confirm-cancel': string;
88
+ 'record-board-toolbar-reset': string;
89
+ 'record-board-toolbar-default-filter-status': string;
90
+ 'record-board-toolbar-default-filter-all': string;
91
+ 'record-board-toolbar-default-filter-enabled': string;
92
+ 'record-board-toolbar-default-filter-disabled': string;
93
+ 'record-board-toolbar-default-filter-keyword': string;
94
+ 'record-board-toolbar-default-placeholder': string;
95
+ 'pisell2.recordBoard.toolbar.find': string;
96
+ 'pisell2.recordBoard.toolbar.findPlaceholder': string;
97
+ 'pisell2.recordBoard.toolbar.sort': string;
98
+ 'pisell2.recordBoard.toolbar.filter': string;
99
+ 'pisell2.recordBoard.toolbar.reset': string;
100
+ 'pisell2.salesManagement.pagination.previous': string;
101
+ 'pisell2.salesManagement.pagination.next': string;
102
+ 'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
103
+ 'pisell2.salesManagement.pagination.total': (current: number, max: number) => string;
104
+ 'pisell2.salesManagement.batchActionBar.selectedCount': (count: number) => string;
105
+ 'pisell2.salesManagement.batchActionBar.more': string;
106
+ 'pisell2.salesManagement.batchActionBar.selectAll': string;
107
+ 'pisell2.salesManagement.batchActionBar.invert': string;
108
+ 'pisell2.salesManagement.batchActionBar.clear': string;
109
+ 'pisell2.salesManagement.batchActionBar.delete': string;
110
+ 'pisell2.salesManagement.batchActionBar.confirmTitle': string;
111
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': string;
112
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmContent': (count: number) => string;
113
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmOk': string;
114
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': string;
115
+ 'shell-frame-statistic-expand': string;
116
+ 'shell-frame-statistic-collapse': string;
81
117
  'table-action-export-import-export-success': string;
82
118
  'table-action-export-import-button': string;
83
119
  'table-action-export-import-export-range': string;
@@ -17,12 +17,14 @@ export default {
17
17
  'sort-button-text': '排序',
18
18
  'sort-oldest-to-newest': '從舊到新',
19
19
  'sort-newest-to-oldest': '從新到舊',
20
- 'sort-a-z': 'A Z',
21
- 'sort-z-a': 'Z A',
20
+ 'sort-a-z': 'A Z',
21
+ 'sort-z-a': 'Z A',
22
22
  'sort-from-morning-to-night': '從早到晚',
23
23
  'sort-from-evening-to-morning': '從晚到早',
24
- 'sort-0-9': '0 ~ 9',
25
- 'sort-9-0': '9 ~ 0',
24
+ 'sort-0-9': '0 9',
25
+ 'sort-9-0': '9 0',
26
+ 'sort-first-last': 'First → Last',
27
+ 'sort-last-first': 'Last → First',
26
28
  'table-action-filter-button': '篩選',
27
29
  'table-action-filter-quick-filter': '快速篩選',
28
30
  'table-action-filter-quick-filter-tip': function tableActionFilterQuickFilterTip(count) {
@@ -37,8 +39,12 @@ export default {
37
39
  'table-action-column-title': '表頭設置',
38
40
  'table-column-group-records': '條記錄',
39
41
  'table-column-group-lock-tip': '固定列不可移動順序',
42
+ 'record-board-uniform-summary-empty': '-',
43
+ 'record-board-uniform-summary-same': '重複數據',
40
44
  'table-column-drag-sort-disabled-tip': '已開啟自動排序,無法手動拖曳',
41
45
  'table-action-filter-no-filter': '沒有可用的篩選器。',
46
+ 'table-action-range-picker-placeholder-start': '開始日期',
47
+ 'table-action-range-picker-placeholder-end': '結束日期',
42
48
  'table-action-range-picker-presets-today': '今天',
43
49
  'table-action-range-picker-presets-yesterday': '昨天',
44
50
  'table-action-range-picker-presets-last-3-day': '過去3天',
@@ -53,7 +59,7 @@ export default {
53
59
  'pisell-lookup-placeholder': '請輸入搜索內容',
54
60
  'pisell-lookup-button-text': '搜索',
55
61
  'pisell-lookup-confirm-button-text': 'Lookup',
56
- 'pisell-lookup-clear': 'Clear',
62
+ 'pisell-lookup-clear': '清空',
57
63
  'pisell-lookup-close': 'Close',
58
64
  'pisell-lookup-search-history': '搜索歷史',
59
65
  'pisell-lookup-clear-history': '清空',
@@ -62,8 +68,10 @@ export default {
62
68
  'pisell-lookup-loading': '加載中...',
63
69
  'pisell-lookup-no-data': '暫無數據',
64
70
  // PisellFind
65
- 'pisell-find-button-text': 'Find',
71
+ 'pisell-find-button-text': '搜尋',
66
72
  'pisell-find-placeholder': '請輸入搜索內容',
73
+ // PisellExport
74
+ 'pisell-export-button-text': '導出',
67
75
  'batch-editor-actions': '操作',
68
76
  'batch-editor-remove': '移除',
69
77
  'batch-editor-price': '價格',
@@ -95,6 +103,46 @@ export default {
95
103
  },
96
104
  'batch-action-bar-delete-confirm-ok': '確定',
97
105
  'batch-action-bar-delete-confirm-cancel': '取消',
106
+ // RecordBoard 工具欄
107
+ 'record-board-toolbar-reset': '重置',
108
+ 'record-board-toolbar-default-filter-status': '狀態',
109
+ 'record-board-toolbar-default-filter-all': '全部',
110
+ 'record-board-toolbar-default-filter-enabled': '啟用',
111
+ 'record-board-toolbar-default-filter-disabled': '禁用',
112
+ 'record-board-toolbar-default-filter-keyword': '關鍵詞',
113
+ 'record-board-toolbar-default-placeholder': '請輸入',
114
+ // RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
115
+ 'pisell2.recordBoard.toolbar.find': '搜尋',
116
+ 'pisell2.recordBoard.toolbar.findPlaceholder': '請輸入搜尋內容',
117
+ 'pisell2.recordBoard.toolbar.sort': '排序',
118
+ 'pisell2.recordBoard.toolbar.filter': '篩選',
119
+ 'pisell2.recordBoard.toolbar.reset': '重置',
120
+ 'pisell2.salesManagement.pagination.previous': '上一頁',
121
+ 'pisell2.salesManagement.pagination.next': '下一頁',
122
+ 'pisell2.salesManagement.pagination.showTotal': function pisell2SalesManagementPaginationShowTotal(start, end) {
123
+ return "\u7B2C ".concat(start, "-").concat(end, " \u689D");
124
+ },
125
+ 'pisell2.salesManagement.pagination.total': function pisell2SalesManagementPaginationTotal(current, max) {
126
+ return "".concat(current, " / ").concat(max);
127
+ },
128
+ 'pisell2.salesManagement.batchActionBar.selectedCount': function pisell2SalesManagementBatchActionBarSelectedCount(count) {
129
+ return "\u5DF2\u9078\u64C7 ".concat(count, " \u9805");
130
+ },
131
+ 'pisell2.salesManagement.batchActionBar.more': '更多',
132
+ 'pisell2.salesManagement.batchActionBar.selectAll': '全選',
133
+ 'pisell2.salesManagement.batchActionBar.invert': '反選',
134
+ 'pisell2.salesManagement.batchActionBar.clear': '取消選擇',
135
+ 'pisell2.salesManagement.batchActionBar.delete': '刪除',
136
+ 'pisell2.salesManagement.batchActionBar.confirmTitle': '確認操作',
137
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': '確認刪除',
138
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmContent': function pisell2SalesManagementBatchActionBarDeleteConfirmContent(count) {
139
+ return "\u78BA\u5B9A\u8981\u522A\u9664\u9078\u4E2D\u7684 ".concat(count, " \u9805\u55CE\uFF1F");
140
+ },
141
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmOk': '確定',
142
+ 'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': '取消',
143
+ // ShellFrame 統計區摺疊
144
+ 'shell-frame-statistic-expand': '展開統計',
145
+ 'shell-frame-statistic-collapse': '收起統計',
98
146
  // 导出
99
147
  'table-action-export-import-export-success': '導出成功!',
100
148
  'table-action-export-import-button': '匯出',
@@ -0,0 +1,39 @@
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
+ /**
3
+ * 只读态 Tag 未传 color 时使用的预设色板(按索引稳定分配)
4
+ */
5
+
6
+ var PRESET_TAG_COLORS = ['blue',
7
+ // #1677ff
8
+ 'green',
9
+ // #52c41a
10
+ 'orange',
11
+ // #fa8c16
12
+ 'purple',
13
+ // #722ed1
14
+ 'cyan',
15
+ // #13c2c2
16
+ 'magenta',
17
+ // #eb2f96
18
+ 'gold',
19
+ // #faad14
20
+ 'lime',
21
+ // #a0d911
22
+ 'geekblue',
23
+ // #2f54eb
24
+ 'volcano' // #fa541c
25
+ ];
26
+
27
+ /**
28
+ * 根据 value 或索引从预设色板取一个稳定颜色(未传 option.color 时使用)
29
+ */
30
+ export function getDefaultTagColor(value, index) {
31
+ var key = value !== null && value !== undefined && _typeof(value) === 'object' ? JSON.stringify(value) : String(value !== null && value !== void 0 ? value : '');
32
+ var hash = 0;
33
+ for (var i = 0; i < key.length; i++) {
34
+ hash = (hash << 5) - hash + key.charCodeAt(i);
35
+ hash |= 0;
36
+ }
37
+ var idx = Math.abs(hash) % PRESET_TAG_COLORS.length;
38
+ return PRESET_TAG_COLORS[idx];
39
+ }
@@ -1,14 +1,13 @@
1
- import React from "react";
2
- import { PaginationProps } from "antd";
3
- import "./index.less";
1
+ import React from 'react';
2
+ import { PaginationProps } from 'antd';
3
+ import './index.less';
4
+ declare const Pagination: (props: PaginationProps) => React.JSX.Element | null;
4
5
  export declare const paginationConfig: {
5
6
  className: string;
6
7
  defaultCurrent: number;
7
8
  showTotal: (total: number, range: [number, number]) => string;
8
- itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
9
9
  responsive: boolean;
10
10
  size: string;
11
11
  };
12
- declare const Pagination: (props: PaginationProps) => React.JSX.Element | null;
13
12
  export default Pagination;
14
13
  export declare const FormPagination: ({ value, onChange, page, pageSize, ...other }: any) => React.JSX.Element;
@@ -40,30 +40,43 @@ var import_ArrowLeft = __toESM(require("@pisell/icon/es/ArrowLeft"));
40
40
  var import_antd = require("antd");
41
41
  var import_classnames = __toESM(require("classnames"));
42
42
  var import_index = require("./index.less");
43
+ var import_utils = require("@pisell/utils");
43
44
  var import_locales = require("../../locales");
44
45
  var import_useIsMobileTable = __toESM(require("../table/hooks/useIsMobileTable"));
45
- var itemRender = (_, type, originalElement) => {
46
- if (type === "prev") {
47
- return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("paginator-page-btn", "left") }, /* @__PURE__ */ import_react.default.createElement(import_ArrowLeft.default, { className: "paginator-page-btn-left-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "paginator-page-btn-text" }, (0, import_locales.getText)("table-pagination-previous")));
48
- }
49
- if (type === "next") {
50
- return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("paginator-page-btn", "right") }, /* @__PURE__ */ import_react.default.createElement("span", { className: "paginator-page-btn-text" }, (0, import_locales.getText)("table-pagination-next")), /* @__PURE__ */ import_react.default.createElement(import_ArrowRight.default, { className: "paginator-page-btn-right-icon" }));
51
- }
52
- return originalElement;
53
- };
54
- var paginationConfig = {
55
- className: "materials-grid-paginator",
56
- defaultCurrent: 1,
57
- showTotal: (total, range) => `Page ${range[0]} of ${range[1]}`,
58
- itemRender,
59
- responsive: true,
60
- size: "small"
61
- };
46
+ function getPaginationText(key) {
47
+ const fullKey = `pisell2.salesManagement.pagination.${key}`;
48
+ const fromUtils = import_utils.locales.getText(fullKey);
49
+ if (fromUtils !== fullKey) return fromUtils;
50
+ return (0, import_locales.getText)(fullKey) ?? (0, import_locales.getText)(`table-pagination-${key}`);
51
+ }
62
52
  var Pagination = (props) => {
63
53
  const show = (0, import_react.useMemo)(() => {
64
54
  return Object.keys(props).length;
65
55
  }, [props]);
66
56
  const isMiniPagination = (0, import_useIsMobileTable.default)();
57
+ const effectiveConfig = (0, import_react.useMemo)(() => {
58
+ const prevText = getPaginationText("previous");
59
+ const nextText = getPaginationText("next");
60
+ const showTotalFn = getPaginationText("showTotal");
61
+ const itemRenderFn = (_, type, originalElement) => {
62
+ if (type === "prev") {
63
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("paginator-page-btn", "left") }, /* @__PURE__ */ import_react.default.createElement(import_ArrowLeft.default, { className: "paginator-page-btn-left-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "paginator-page-btn-text" }, prevText));
64
+ }
65
+ if (type === "next") {
66
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("paginator-page-btn", "right") }, /* @__PURE__ */ import_react.default.createElement("span", { className: "paginator-page-btn-text" }, nextText), /* @__PURE__ */ import_react.default.createElement(import_ArrowRight.default, { className: "paginator-page-btn-right-icon" }));
67
+ }
68
+ return originalElement;
69
+ };
70
+ const showTotal = typeof showTotalFn === "function" ? (total, range) => showTotalFn(range[0], range[1]) : (total, range) => `Page ${range[0]} of ${range[1]}`;
71
+ return {
72
+ className: "materials-grid-paginator",
73
+ defaultCurrent: 1,
74
+ showTotal,
75
+ itemRender: itemRenderFn,
76
+ responsive: true,
77
+ size: "small"
78
+ };
79
+ }, []);
67
80
  const content = (0, import_react.useMemo)(() => {
68
81
  if (!show) {
69
82
  return null;
@@ -72,10 +85,17 @@ var Pagination = (props) => {
72
85
  if (isMiniPagination) {
73
86
  Com = MiniPagination;
74
87
  }
75
- return /* @__PURE__ */ import_react.default.createElement(Com, { ...paginationConfig, ...props });
76
- }, [show, paginationConfig, props, isMiniPagination]);
88
+ return /* @__PURE__ */ import_react.default.createElement(Com, { ...effectiveConfig, ...props });
89
+ }, [show, effectiveConfig, props, isMiniPagination]);
77
90
  return content;
78
91
  };
92
+ var paginationConfig = {
93
+ className: "materials-grid-paginator",
94
+ defaultCurrent: 1,
95
+ showTotal: (total, range) => `Page ${range[0]} of ${range[1]}`,
96
+ responsive: true,
97
+ size: "small"
98
+ };
79
99
  var Pagination_default = Pagination;
80
100
  var MiniPagination = (props) => {
81
101
  const { current = 1, pageSize = 10, total = 0 } = props;
@@ -95,7 +115,7 @@ var MiniPagination = (props) => {
95
115
  }
96
116
  props.onChange && props.onChange(currentPage, pageSize || 10);
97
117
  };
98
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "materials-grid-paginator materials-grid-paginator-mini" }, /* @__PURE__ */ import_react.default.createElement(
118
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "materials-grid-paginator" }, /* @__PURE__ */ import_react.default.createElement(
99
119
  "div",
100
120
  {
101
121
  className: "pisell-lowcode-pagination-prev",
@@ -107,7 +127,10 @@ var MiniPagination = (props) => {
107
127
  }
108
128
  },
109
129
  /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("paginator-page-btn", "left") }, /* @__PURE__ */ import_react.default.createElement(import_ArrowLeft.default, { className: "paginator-page-btn-left-icon" }))
110
- ), /* @__PURE__ */ import_react.default.createElement("div", { className: "materials-grid-paginator-center" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "materials-grid-paginator-center-text" }, (0, import_locales.getText)("table-pagination-total")(current, MAX))), /* @__PURE__ */ import_react.default.createElement(
130
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "materials-grid-paginator-center" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "materials-grid-paginator-center-text" }, (() => {
131
+ const totalFn = getPaginationText("total");
132
+ return typeof totalFn === "function" ? totalFn(current, MAX) : `${current} / ${MAX}`;
133
+ })())), /* @__PURE__ */ import_react.default.createElement(
111
134
  "div",
112
135
  {
113
136
  className: "pisell-lowcode-pagination-next",
@@ -24,7 +24,6 @@
24
24
 
25
25
  .pisell-lowcode-pagination-item {
26
26
  position: relative;
27
- border: none;
28
27
  margin: 0;
29
28
  border-radius: 0;
30
29
  border: 1px solid #D0D5DD;
@@ -36,6 +35,7 @@
36
35
  margin: 0;
37
36
  border-radius: 0;
38
37
  border-right: none;
38
+ height: 100%;
39
39
  }
40
40
 
41
41
  .pisell-lowcode-pagination-jump-next {
@@ -45,22 +45,28 @@
45
45
  border-right: none;
46
46
  }
47
47
 
48
- .pisell-lowcode-pagination-item-link:hover {
49
- font-weight: 450 !important;
50
- color: rgba(0, 0, 0, 0.88) !important;
48
+ .pisell-lowcode-pagination-item-link {
49
+ width: 100%;
51
50
 
52
- .pisell-lowcode-pagination-item-link-icon {
51
+ &:hover {
53
52
  font-weight: 450 !important;
54
53
  color: rgba(0, 0, 0, 0.88) !important;
54
+
55
+ .pisell-lowcode-pagination-item-link-icon {
56
+ font-weight: 450 !important;
57
+ color: rgba(0, 0, 0, 0.88) !important;
58
+ }
55
59
  }
56
60
  }
57
61
 
62
+
58
63
  .pisell-lowcode-pagination-disabled {
59
64
  cursor: not-allowed;
60
- color: rgba(0,0,0,.25);
65
+ color: rgba(0, 0, 0, .25);
66
+
61
67
  .paginator-page-btn {
62
68
  cursor: not-allowed;
63
- color: rgba(0,0,0,.25);
69
+ color: rgba(0, 0, 0, .25);
64
70
  }
65
71
  }
66
72
 
@@ -17,8 +17,8 @@ declare const PisellFields: {
17
17
  Currency: import("react").NamedExoticComponent<import("../pisellCurrency").PisellCurrencyProps>;
18
18
  Percent: import("react").NamedExoticComponent<import("../pisellPercent").PisellPercentProps>;
19
19
  Phone: import("react").NamedExoticComponent<import("../pisellPhone").PisellPhoneProps>;
20
- Email: import("react").FC<import("../pisellEmail").PisellEmailProps>;
21
- Url: import("react").FC<import("../pisellUrl").PisellUrlProps>;
20
+ Email: import("react").NamedExoticComponent<import("../pisellEmail").PisellEmailProps>;
21
+ Url: import("react").NamedExoticComponent<import("../pisellUrl").PisellUrlProps>;
22
22
  Rating: import("react").NamedExoticComponent<import("../pisellRating").PisellRatingProps>;
23
23
  SingleSelect: import("react").ForwardRefExoticComponent<import("../pisellSingleSelect").PisellSingleSelectProps<string | number> & import("react").RefAttributes<import("../pisellSingleSelect").SingleSelectRef<string | number>>>;
24
24
  MultipleSelect: import("react").ForwardRefExoticComponent<import("../pisellMultipleSelect").PisellMultipleSelectProps<string | number> & import("react").RefAttributes<import("../pisellMultipleSelect").MultipleSelectRef<string | number>>>;
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
44
44
  }) => React.JSX.Element;
45
45
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
46
46
  options?: any;
47
- optionSourceType?: "default" | "custom" | "api" | undefined;
47
+ optionSourceType?: "default" | "api" | "custom" | undefined;
48
48
  labelField: string;
49
49
  valueField: string;
50
50
  extraParams?: Record<string, any> | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
3
  dataSourceKey: string | undefined;
3
4
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "saas" | "custom" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "default" | "custom" | "api" | undefined;
4
+ optionSourceType?: "default" | "api" | "custom" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TranslationProps } from './type';
3
+ import './index.less';
4
+ declare const Translation: React.FC<TranslationProps>;
5
+ export default Translation;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface TranslationValue {
4
+ en: string;
5
+ 'zh-CN': string;
6
+ 'zh-HK': string;
7
+ 'ja': string;
8
+ 'pt': string;
9
+ original: string;
10
+ }
11
+ export interface TranslationProps {
12
+ renderMode: ModeType;
13
+ value?: TranslationValue;
14
+ onChange?: (value: TranslationValue) => void;
15
+ disabled?: boolean;
16
+ placeholder?: string;
17
+ className?: string;
18
+ type?: 'text' | 'textarea';
19
+ maxLength?: number;
20
+ inputStyle?: React.CSSProperties;
21
+ }