@pisell/materials 3.3.85 → 3.3.86

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 (384) 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/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  16. package/es/components/dataSourceComponents/fields/index.d.ts +2 -3
  17. package/es/components/filter/components/Dropdown/index.js +6 -2
  18. package/es/components/filter/components/FilterButton/index.js +19 -4
  19. package/es/components/filter/components/FilterButton/types.d.ts +8 -0
  20. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
  21. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +90 -0
  22. package/es/components/filter/components/FilterItem/index.d.ts +3 -3
  23. package/es/components/filter/components/FilterItem/index.js +138 -7
  24. package/es/components/filter/components/FilterItem/index.less +90 -0
  25. package/es/components/filter/types.d.ts +4 -2
  26. package/es/components/pisellBatchActionBar/PisellBatchActionBar.js +38 -29
  27. package/es/components/pisellCurrency/PisellCurrency.less +163 -25
  28. package/es/components/pisellCurrency/PisellCurrency.stories.js +1 -1
  29. package/es/components/pisellCurrency/index.d.ts +2 -1
  30. package/es/components/pisellCurrency/index.js +16 -1
  31. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
  32. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +30 -3
  33. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
  34. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +68 -0
  35. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
  36. package/es/components/pisellDataSourceContainer/components/Table/index.js +5 -3
  37. package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
  38. package/es/components/pisellDataSourceContainer/components/Table/useColumns.js +37 -15
  39. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +21 -15
  40. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
  41. package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +6 -4
  42. package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
  43. package/es/components/pisellDateTimeDisplay/utils/localeUtils.js +15 -4
  44. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -0
  45. package/es/components/pisellDateTimeDisplay/utils/relativeDay.js +4 -2
  46. package/es/components/pisellEmail/PisellEmail.less +119 -10
  47. package/es/components/pisellEmail/PisellEmail.stories.js +1 -1
  48. package/es/components/pisellEmail/index.d.ts +3 -1
  49. package/es/components/pisellEmail/index.js +17 -1
  50. package/es/components/pisellFilter/index.js +76 -10
  51. package/es/components/pisellFind/index.js +11 -2
  52. package/es/components/pisellGridPro/ToolBar/index.less +23 -0
  53. package/es/components/pisellGridPro/index.d.ts +4 -0
  54. package/es/components/pisellLongText/PisellLongText.less +72 -4
  55. package/es/components/pisellLongText/PisellLongText.stories.js +1 -1
  56. package/es/components/pisellLongText/index.d.ts +2 -1
  57. package/es/components/pisellLongText/index.js +16 -1
  58. package/es/components/pisellLookup/PisellLookup.js +18 -9
  59. package/es/components/pisellLookup/PisellLookup.less +39 -16
  60. package/es/components/pisellLookup/components/LookupTrigger.js +14 -4
  61. package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
  62. package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
  63. package/es/components/pisellMultipleSelect/components/EditView.js +8 -2
  64. package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
  65. package/es/components/pisellMultipleSelect/components/ReadOnlyView.js +15 -11
  66. package/es/components/pisellMultipleSelect/index.d.ts +2 -1
  67. package/es/components/pisellMultipleSelect/index.js +16 -1
  68. package/es/components/pisellNumber/PisellNumber.less +135 -17
  69. package/es/components/pisellNumber/PisellNumber.stories.js +1 -1
  70. package/es/components/pisellNumber/index.d.ts +2 -1
  71. package/es/components/pisellNumber/index.js +16 -1
  72. package/es/components/pisellPercent/PisellPercent.less +142 -24
  73. package/es/components/pisellPercent/PisellPercent.stories.js +1 -1
  74. package/es/components/pisellPercent/index.d.ts +2 -1
  75. package/es/components/pisellPercent/index.js +16 -1
  76. package/es/components/pisellPhone/PisellPhone.less +122 -27
  77. package/es/components/pisellPhone/PisellPhone.stories.js +1 -1
  78. package/es/components/pisellPhone/components/EditView.js +1 -1
  79. package/es/components/pisellPhone/components/ReadOnlyView.js +15 -6
  80. package/es/components/pisellPhone/index.d.ts +2 -1
  81. package/es/components/pisellPhone/index.js +16 -1
  82. package/es/components/pisellRating/PisellRating.less +20 -12
  83. package/es/components/pisellRating/PisellRating.stories.js +1 -1
  84. package/es/components/pisellRating/index.d.ts +2 -1
  85. package/es/components/pisellRating/index.js +16 -1
  86. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +8 -0
  87. package/es/components/pisellRecordBoard/PisellRecordBoard.js +243 -0
  88. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
  89. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +2358 -0
  90. package/es/components/pisellRecordBoard/context/RecordBoardContext.js +2 -0
  91. package/es/components/pisellRecordBoard/context/RecordBoardProvider.js +13 -0
  92. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.js +29 -0
  93. package/es/components/pisellRecordBoard/index.d.ts +35 -0
  94. package/es/components/pisellRecordBoard/index.js +23 -0
  95. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.js +36 -0
  96. package/es/components/pisellRecordBoard/layouts/CardLayout/index.js +20 -0
  97. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  98. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +242 -0
  99. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
  100. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  101. package/es/components/pisellRecordBoard/layouts/GridLayout/index.js +20 -0
  102. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  103. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +90 -0
  104. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  105. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +138 -0
  106. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  107. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +66 -0
  108. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
  109. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  110. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +66 -0
  111. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
  112. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  113. package/es/components/pisellRecordBoard/shellFrame/Search/index.js +41 -0
  114. package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
  115. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +11 -0
  116. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +215 -0
  117. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
  118. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +77 -0
  119. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  120. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +65 -0
  121. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
  122. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
  123. package/es/components/pisellRecordBoard/shellFrame/index.js +104 -0
  124. package/es/components/pisellRecordBoard/types.js +1 -0
  125. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
  126. package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +508 -0
  127. package/es/components/pisellRecordBoard/utils/withRecordBoard.js +27 -0
  128. package/es/components/pisellShellFrame/PisellShellFrame.js +107 -0
  129. package/es/components/pisellShellFrame/PisellShellFrame.less +78 -0
  130. package/es/components/pisellShellFrame/PisellShellFrame.stories.js +195 -0
  131. package/es/components/pisellShellFrame/index.js +1 -0
  132. package/es/components/pisellShellFrame/types.js +1 -0
  133. package/es/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
  134. package/es/components/pisellSingleLineText/index.d.ts +2 -1
  135. package/es/components/pisellSingleLineText/index.js +16 -1
  136. package/es/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
  137. package/es/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
  138. package/es/components/pisellSingleSelect/components/EditView.js +8 -2
  139. package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
  140. package/es/components/pisellSingleSelect/components/ReadOnlyView.js +10 -6
  141. package/es/components/pisellSingleSelect/index.d.ts +2 -1
  142. package/es/components/pisellSingleSelect/index.js +16 -1
  143. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -3
  144. package/es/components/pisellUrl/PisellUrl.less +120 -11
  145. package/es/components/pisellUrl/PisellUrl.stories.js +1 -1
  146. package/es/components/pisellUrl/index.d.ts +3 -1
  147. package/es/components/pisellUrl/index.js +17 -1
  148. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  149. package/es/components/select/index.less +18 -2
  150. package/es/components/sort/index.js +25 -3
  151. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  152. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  153. package/es/components/table/Table/utils.d.ts +1 -1
  154. package/es/index.d.ts +6 -2
  155. package/es/index.js +2 -0
  156. package/es/locales/en-US.d.ts +36 -0
  157. package/es/locales/en-US.js +50 -2
  158. package/es/locales/index.js +2 -2
  159. package/es/locales/ja.d.ts +2 -0
  160. package/es/locales/ja.js +2 -0
  161. package/es/locales/pt.d.ts +2 -0
  162. package/es/locales/pt.js +2 -0
  163. package/es/locales/zh-CN.d.ts +36 -0
  164. package/es/locales/zh-CN.js +54 -6
  165. package/es/locales/zh-TW.d.ts +36 -0
  166. package/es/locales/zh-TW.js +54 -6
  167. package/es/utils/tagColor.js +39 -0
  168. package/lib/components/Pagination/index.d.ts +4 -5
  169. package/lib/components/Pagination/index.js +44 -21
  170. package/lib/components/Pagination/index.less +13 -7
  171. package/lib/components/PisellFields/index.d.ts +2 -2
  172. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  173. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -3
  174. package/lib/components/filter/components/Dropdown/index.js +9 -2
  175. package/lib/components/filter/components/FilterButton/index.js +14 -3
  176. package/lib/components/filter/components/FilterButton/types.d.ts +8 -0
  177. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
  178. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +69 -0
  179. package/lib/components/filter/components/FilterItem/index.d.ts +3 -3
  180. package/lib/components/filter/components/FilterItem/index.js +133 -4
  181. package/lib/components/filter/components/FilterItem/index.less +90 -0
  182. package/lib/components/filter/types.d.ts +4 -2
  183. package/lib/components/pisellBatchActionBar/PisellBatchActionBar.js +26 -23
  184. package/lib/components/pisellCurrency/PisellCurrency.less +163 -25
  185. package/lib/components/pisellCurrency/PisellCurrency.stories.js +1 -1
  186. package/lib/components/pisellCurrency/index.d.ts +2 -1
  187. package/lib/components/pisellCurrency/index.js +7 -0
  188. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
  189. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +18 -2
  190. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
  191. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +81 -0
  192. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
  193. package/lib/components/pisellDataSourceContainer/components/Table/index.js +3 -1
  194. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
  195. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.js +25 -14
  196. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +17 -11
  197. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
  198. package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +7 -1
  199. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
  200. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.js +10 -2
  201. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -0
  202. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.js +2 -1
  203. package/lib/components/pisellEmail/PisellEmail.less +119 -10
  204. package/lib/components/pisellEmail/PisellEmail.stories.js +1 -1
  205. package/lib/components/pisellEmail/index.d.ts +3 -1
  206. package/lib/components/pisellEmail/index.js +10 -2
  207. package/lib/components/pisellFilter/index.js +79 -8
  208. package/lib/components/pisellFind/index.js +11 -2
  209. package/lib/components/pisellGridPro/ToolBar/index.less +23 -0
  210. package/lib/components/pisellGridPro/index.d.ts +4 -0
  211. package/lib/components/pisellLongText/PisellLongText.less +72 -4
  212. package/lib/components/pisellLongText/PisellLongText.stories.js +1 -1
  213. package/lib/components/pisellLongText/index.d.ts +2 -1
  214. package/lib/components/pisellLongText/index.js +7 -0
  215. package/lib/components/pisellLookup/PisellLookup.js +12 -6
  216. package/lib/components/pisellLookup/PisellLookup.less +39 -16
  217. package/lib/components/pisellLookup/components/LookupTrigger.js +9 -3
  218. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
  219. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
  220. package/lib/components/pisellMultipleSelect/components/EditView.js +4 -1
  221. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
  222. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.js +29 -1
  223. package/lib/components/pisellMultipleSelect/index.d.ts +2 -1
  224. package/lib/components/pisellMultipleSelect/index.js +7 -0
  225. package/lib/components/pisellNumber/PisellNumber.less +135 -17
  226. package/lib/components/pisellNumber/PisellNumber.stories.js +1 -1
  227. package/lib/components/pisellNumber/index.d.ts +2 -1
  228. package/lib/components/pisellNumber/index.js +7 -0
  229. package/lib/components/pisellPercent/PisellPercent.less +142 -24
  230. package/lib/components/pisellPercent/PisellPercent.stories.js +1 -1
  231. package/lib/components/pisellPercent/index.d.ts +2 -1
  232. package/lib/components/pisellPercent/index.js +7 -0
  233. package/lib/components/pisellPhone/PisellPhone.less +122 -27
  234. package/lib/components/pisellPhone/PisellPhone.stories.js +1 -1
  235. package/lib/components/pisellPhone/components/EditView.js +1 -1
  236. package/lib/components/pisellPhone/components/ReadOnlyView.js +18 -4
  237. package/lib/components/pisellPhone/index.d.ts +2 -1
  238. package/lib/components/pisellPhone/index.js +7 -0
  239. package/lib/components/pisellRating/PisellRating.less +20 -12
  240. package/lib/components/pisellRating/PisellRating.stories.js +1 -1
  241. package/lib/components/pisellRating/index.d.ts +2 -1
  242. package/lib/components/pisellRating/index.js +7 -0
  243. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +8 -0
  244. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +263 -0
  245. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
  246. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +1673 -0
  247. package/lib/components/pisellRecordBoard/context/RecordBoardContext.js +30 -0
  248. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.js +46 -0
  249. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.js +47 -0
  250. package/lib/components/pisellRecordBoard/index.d.ts +35 -0
  251. package/lib/components/pisellRecordBoard/index.js +59 -0
  252. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.js +46 -0
  253. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.js +46 -0
  254. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  255. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +264 -0
  256. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
  257. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  258. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.js +46 -0
  259. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  260. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +108 -0
  261. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  262. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +173 -0
  263. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  264. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +100 -0
  265. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
  266. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  267. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +90 -0
  268. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
  269. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  270. package/lib/components/pisellRecordBoard/shellFrame/Search/index.js +53 -0
  271. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
  272. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +11 -0
  273. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +247 -0
  274. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
  275. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +93 -0
  276. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  277. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +85 -0
  278. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
  279. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
  280. package/lib/components/pisellRecordBoard/shellFrame/index.js +137 -0
  281. package/lib/components/pisellRecordBoard/types.js +17 -0
  282. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
  283. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.js +365 -0
  284. package/lib/components/pisellRecordBoard/utils/withRecordBoard.js +49 -0
  285. package/lib/components/pisellShellFrame/PisellShellFrame.js +113 -0
  286. package/lib/components/pisellShellFrame/PisellShellFrame.less +78 -0
  287. package/lib/components/pisellShellFrame/PisellShellFrame.stories.js +129 -0
  288. package/lib/components/pisellShellFrame/index.js +40 -0
  289. package/lib/components/pisellShellFrame/types.js +17 -0
  290. package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
  291. package/lib/components/pisellSingleLineText/index.d.ts +2 -1
  292. package/lib/components/pisellSingleLineText/index.js +7 -0
  293. package/lib/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
  294. package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
  295. package/lib/components/pisellSingleSelect/components/EditView.js +4 -1
  296. package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
  297. package/lib/components/pisellSingleSelect/components/ReadOnlyView.js +12 -9
  298. package/lib/components/pisellSingleSelect/index.d.ts +2 -1
  299. package/lib/components/pisellSingleSelect/index.js +7 -0
  300. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -2
  301. package/lib/components/pisellUrl/PisellUrl.less +120 -11
  302. package/lib/components/pisellUrl/PisellUrl.stories.js +1 -1
  303. package/lib/components/pisellUrl/index.d.ts +3 -1
  304. package/lib/components/pisellUrl/index.js +10 -2
  305. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  306. package/lib/components/select/index.less +18 -2
  307. package/lib/components/sort/index.js +13 -3
  308. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  309. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  310. package/lib/components/table/Table/utils.d.ts +1 -1
  311. package/lib/index.d.ts +6 -2
  312. package/lib/index.js +6 -0
  313. package/lib/locales/en-US.d.ts +36 -0
  314. package/lib/locales/en-US.js +42 -2
  315. package/lib/locales/index.js +2 -2
  316. package/lib/locales/ja.d.ts +2 -0
  317. package/lib/locales/ja.js +2 -0
  318. package/lib/locales/pt.d.ts +2 -0
  319. package/lib/locales/pt.js +2 -0
  320. package/lib/locales/zh-CN.d.ts +36 -0
  321. package/lib/locales/zh-CN.js +46 -6
  322. package/lib/locales/zh-TW.d.ts +36 -0
  323. package/lib/locales/zh-TW.js +46 -6
  324. package/lib/utils/tagColor.js +60 -0
  325. package/lowcode/auto-resize-text/meta.ts +1 -1
  326. package/package.json +3 -3
  327. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  328. package/es/components/PisellProcedure/index.d.ts +0 -5
  329. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  330. package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
  331. package/es/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
  332. package/es/components/pisellDateTimeDisplay/types.d.ts +0 -347
  333. package/es/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
  334. package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
  335. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  336. package/es/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
  337. package/es/components/pisellLookup/components/HotWords.d.ts +0 -7
  338. package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
  339. package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  340. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  341. package/es/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  342. package/es/components/pisellLookup/components/SuggestWords.d.ts +0 -7
  343. package/es/components/pisellLookup/components/index.d.ts +0 -9
  344. package/es/components/pisellLookup/hooks/index.d.ts +0 -6
  345. package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
  346. package/es/components/pisellLookup/index.d.ts +0 -6
  347. package/es/components/pisellLookup/types.d.ts +0 -666
  348. package/es/components/pisellLookup/utils/index.d.ts +0 -5
  349. package/es/components/pisellLookup/utils/trigger.d.ts +0 -42
  350. package/es/components/pisellSort/type.d.ts +0 -7
  351. package/es/components/pisellTimeRangeDisplay/types.d.ts +0 -137
  352. package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
  353. package/es/components/sort/types.d.ts +0 -20
  354. package/es/components/virtualInput/index.d.ts +0 -29
  355. package/es/hooks/useThemeTokens.d.ts +0 -7
  356. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  357. package/lib/components/PisellProcedure/index.d.ts +0 -5
  358. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  359. package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
  360. package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
  361. package/lib/components/pisellDateTimeDisplay/types.d.ts +0 -347
  362. package/lib/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
  363. package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
  364. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  365. package/lib/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
  366. package/lib/components/pisellLookup/components/HotWords.d.ts +0 -7
  367. package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
  368. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  369. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  370. package/lib/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  371. package/lib/components/pisellLookup/components/SuggestWords.d.ts +0 -7
  372. package/lib/components/pisellLookup/components/index.d.ts +0 -9
  373. package/lib/components/pisellLookup/hooks/index.d.ts +0 -6
  374. package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
  375. package/lib/components/pisellLookup/index.d.ts +0 -6
  376. package/lib/components/pisellLookup/types.d.ts +0 -666
  377. package/lib/components/pisellLookup/utils/index.d.ts +0 -5
  378. package/lib/components/pisellLookup/utils/trigger.d.ts +0 -42
  379. package/lib/components/pisellSort/type.d.ts +0 -7
  380. package/lib/components/pisellTimeRangeDisplay/types.d.ts +0 -137
  381. package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
  382. package/lib/components/sort/types.d.ts +0 -20
  383. package/lib/components/virtualInput/index.d.ts +0 -29
  384. package/lib/hooks/useThemeTokens.d.ts +0 -7
@@ -39,12 +39,14 @@ var zh_CN_default = {
39
39
  "sort-button-text": "排序",
40
40
  "sort-oldest-to-newest": "从旧到新",
41
41
  "sort-newest-to-oldest": "从新到旧",
42
- "sort-a-z": "A Z",
43
- "sort-z-a": "Z A",
42
+ "sort-a-z": "A Z",
43
+ "sort-z-a": "Z A",
44
44
  "sort-from-morning-to-night": "从早到晚",
45
45
  "sort-from-evening-to-morning": "从晚到早",
46
- "sort-0-9": "0 ~ 9",
47
- "sort-9-0": "9 ~ 0",
46
+ "sort-0-9": "0 9",
47
+ "sort-9-0": "9 0",
48
+ "sort-first-last": "First → Last",
49
+ "sort-last-first": "Last → First",
48
50
  "table-action-filter-button": "筛选",
49
51
  "table-action-filter-quick-filter": "快捷筛选",
50
52
  "table-action-filter-quick-filter-tip": (count) => `在页面上直接启用快速筛选,以便进行方便的筛选操作,最多允许使用${count}个筛选器。`,
@@ -55,8 +57,12 @@ var zh_CN_default = {
55
57
  "table-action-column-title": "表头设置",
56
58
  "table-column-group-records": "条记录",
57
59
  "table-column-group-lock-tip": "固定列不可移动顺序",
60
+ "record-board-uniform-summary-empty": "-",
61
+ "record-board-uniform-summary-same": "重复数据",
58
62
  "table-column-drag-sort-disabled-tip": "已开启自动排序,无法手动拖拽",
59
63
  "table-action-filter-no-filter": "没有可用的筛选器。",
64
+ "table-action-range-picker-placeholder-start": "开始日期",
65
+ "table-action-range-picker-placeholder-end": "结束日期",
60
66
  "table-action-range-picker-presets-today": "今天",
61
67
  "table-action-range-picker-presets-yesterday": "昨天",
62
68
  "table-action-range-picker-presets-last-3-day": "过去3天",
@@ -71,7 +77,7 @@ var zh_CN_default = {
71
77
  "pisell-lookup-placeholder": "请输入搜索内容",
72
78
  "pisell-lookup-button-text": "搜索",
73
79
  "pisell-lookup-confirm-button-text": "Lookup",
74
- "pisell-lookup-clear": "Clear",
80
+ "pisell-lookup-clear": "清空",
75
81
  "pisell-lookup-close": "Close",
76
82
  "pisell-lookup-search-history": "搜索历史",
77
83
  "pisell-lookup-clear-history": "清空",
@@ -80,8 +86,10 @@ var zh_CN_default = {
80
86
  "pisell-lookup-loading": "加载中...",
81
87
  "pisell-lookup-no-data": "暂无数据",
82
88
  // PisellFind
83
- "pisell-find-button-text": "Find",
89
+ "pisell-find-button-text": "搜索",
84
90
  "pisell-find-placeholder": "请输入搜索内容",
91
+ // PisellExport
92
+ "pisell-export-button-text": "导出",
85
93
  "batch-editor-actions": "操作",
86
94
  "batch-editor-remove": "移除",
87
95
  "batch-editor-price": "价格",
@@ -105,6 +113,38 @@ var zh_CN_default = {
105
113
  "batch-action-bar-delete-confirm-content": (count) => `确定要删除选中的 ${count} 项吗?`,
106
114
  "batch-action-bar-delete-confirm-ok": "确定",
107
115
  "batch-action-bar-delete-confirm-cancel": "取消",
116
+ // RecordBoard 工具栏
117
+ "record-board-toolbar-reset": "重置",
118
+ "record-board-toolbar-default-filter-status": "状态",
119
+ "record-board-toolbar-default-filter-all": "全部",
120
+ "record-board-toolbar-default-filter-enabled": "启用",
121
+ "record-board-toolbar-default-filter-disabled": "禁用",
122
+ "record-board-toolbar-default-filter-keyword": "关键词",
123
+ "record-board-toolbar-default-placeholder": "请输入",
124
+ // RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
125
+ "pisell2.recordBoard.toolbar.find": "搜索",
126
+ "pisell2.recordBoard.toolbar.findPlaceholder": "请输入搜索内容",
127
+ "pisell2.recordBoard.toolbar.sort": "排序",
128
+ "pisell2.recordBoard.toolbar.filter": "筛选",
129
+ "pisell2.recordBoard.toolbar.reset": "重置",
130
+ "pisell2.salesManagement.pagination.previous": "上一页",
131
+ "pisell2.salesManagement.pagination.next": "下一页",
132
+ "pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 条`,
133
+ "pisell2.salesManagement.pagination.total": (current, max) => `${current} / ${max}`,
134
+ "pisell2.salesManagement.batchActionBar.selectedCount": (count) => `已选择 ${count} 项`,
135
+ "pisell2.salesManagement.batchActionBar.more": "更多",
136
+ "pisell2.salesManagement.batchActionBar.selectAll": "全选",
137
+ "pisell2.salesManagement.batchActionBar.invert": "反选",
138
+ "pisell2.salesManagement.batchActionBar.clear": "取消选择",
139
+ "pisell2.salesManagement.batchActionBar.delete": "删除",
140
+ "pisell2.salesManagement.batchActionBar.confirmTitle": "确认操作",
141
+ "pisell2.salesManagement.batchActionBar.deleteConfirmTitle": "确认删除",
142
+ "pisell2.salesManagement.batchActionBar.deleteConfirmContent": (count) => `确定要删除选中的 ${count} 项吗?`,
143
+ "pisell2.salesManagement.batchActionBar.deleteConfirmOk": "确定",
144
+ "pisell2.salesManagement.batchActionBar.deleteConfirmCancel": "取消",
145
+ // ShellFrame 统计区折叠
146
+ "shell-frame-statistic-expand": "展开统计",
147
+ "shell-frame-statistic-collapse": "收起统计",
108
148
  // 导出
109
149
  "table-action-export-import-export-success": "导出成功!",
110
150
  "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;
@@ -39,12 +39,14 @@ var zh_TW_default = {
39
39
  "sort-button-text": "排序",
40
40
  "sort-oldest-to-newest": "從舊到新",
41
41
  "sort-newest-to-oldest": "從新到舊",
42
- "sort-a-z": "A Z",
43
- "sort-z-a": "Z A",
42
+ "sort-a-z": "A Z",
43
+ "sort-z-a": "Z A",
44
44
  "sort-from-morning-to-night": "從早到晚",
45
45
  "sort-from-evening-to-morning": "從晚到早",
46
- "sort-0-9": "0 ~ 9",
47
- "sort-9-0": "9 ~ 0",
46
+ "sort-0-9": "0 9",
47
+ "sort-9-0": "9 0",
48
+ "sort-first-last": "First → Last",
49
+ "sort-last-first": "Last → First",
48
50
  "table-action-filter-button": "篩選",
49
51
  "table-action-filter-quick-filter": "快速篩選",
50
52
  "table-action-filter-quick-filter-tip": (count) => `在頁面上直接啟用快速篩選,以便進行方便的篩選操作,最多允許使用${count}個篩選器。`,
@@ -55,8 +57,12 @@ var zh_TW_default = {
55
57
  "table-action-column-title": "表頭設置",
56
58
  "table-column-group-records": "條記錄",
57
59
  "table-column-group-lock-tip": "固定列不可移動順序",
60
+ "record-board-uniform-summary-empty": "-",
61
+ "record-board-uniform-summary-same": "重複數據",
58
62
  "table-column-drag-sort-disabled-tip": "已開啟自動排序,無法手動拖曳",
59
63
  "table-action-filter-no-filter": "沒有可用的篩選器。",
64
+ "table-action-range-picker-placeholder-start": "開始日期",
65
+ "table-action-range-picker-placeholder-end": "結束日期",
60
66
  "table-action-range-picker-presets-today": "今天",
61
67
  "table-action-range-picker-presets-yesterday": "昨天",
62
68
  "table-action-range-picker-presets-last-3-day": "過去3天",
@@ -71,7 +77,7 @@ var zh_TW_default = {
71
77
  "pisell-lookup-placeholder": "請輸入搜索內容",
72
78
  "pisell-lookup-button-text": "搜索",
73
79
  "pisell-lookup-confirm-button-text": "Lookup",
74
- "pisell-lookup-clear": "Clear",
80
+ "pisell-lookup-clear": "清空",
75
81
  "pisell-lookup-close": "Close",
76
82
  "pisell-lookup-search-history": "搜索歷史",
77
83
  "pisell-lookup-clear-history": "清空",
@@ -80,8 +86,10 @@ var zh_TW_default = {
80
86
  "pisell-lookup-loading": "加載中...",
81
87
  "pisell-lookup-no-data": "暫無數據",
82
88
  // PisellFind
83
- "pisell-find-button-text": "Find",
89
+ "pisell-find-button-text": "搜尋",
84
90
  "pisell-find-placeholder": "請輸入搜索內容",
91
+ // PisellExport
92
+ "pisell-export-button-text": "導出",
85
93
  "batch-editor-actions": "操作",
86
94
  "batch-editor-remove": "移除",
87
95
  "batch-editor-price": "價格",
@@ -105,6 +113,38 @@ var zh_TW_default = {
105
113
  "batch-action-bar-delete-confirm-content": (count) => `確定要刪除選中的 ${count} 項嗎?`,
106
114
  "batch-action-bar-delete-confirm-ok": "確定",
107
115
  "batch-action-bar-delete-confirm-cancel": "取消",
116
+ // RecordBoard 工具欄
117
+ "record-board-toolbar-reset": "重置",
118
+ "record-board-toolbar-default-filter-status": "狀態",
119
+ "record-board-toolbar-default-filter-all": "全部",
120
+ "record-board-toolbar-default-filter-enabled": "啟用",
121
+ "record-board-toolbar-default-filter-disabled": "禁用",
122
+ "record-board-toolbar-default-filter-keyword": "關鍵詞",
123
+ "record-board-toolbar-default-placeholder": "請輸入",
124
+ // RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
125
+ "pisell2.recordBoard.toolbar.find": "搜尋",
126
+ "pisell2.recordBoard.toolbar.findPlaceholder": "請輸入搜尋內容",
127
+ "pisell2.recordBoard.toolbar.sort": "排序",
128
+ "pisell2.recordBoard.toolbar.filter": "篩選",
129
+ "pisell2.recordBoard.toolbar.reset": "重置",
130
+ "pisell2.salesManagement.pagination.previous": "上一頁",
131
+ "pisell2.salesManagement.pagination.next": "下一頁",
132
+ "pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 條`,
133
+ "pisell2.salesManagement.pagination.total": (current, max) => `${current} / ${max}`,
134
+ "pisell2.salesManagement.batchActionBar.selectedCount": (count) => `已選擇 ${count} 項`,
135
+ "pisell2.salesManagement.batchActionBar.more": "更多",
136
+ "pisell2.salesManagement.batchActionBar.selectAll": "全選",
137
+ "pisell2.salesManagement.batchActionBar.invert": "反選",
138
+ "pisell2.salesManagement.batchActionBar.clear": "取消選擇",
139
+ "pisell2.salesManagement.batchActionBar.delete": "刪除",
140
+ "pisell2.salesManagement.batchActionBar.confirmTitle": "確認操作",
141
+ "pisell2.salesManagement.batchActionBar.deleteConfirmTitle": "確認刪除",
142
+ "pisell2.salesManagement.batchActionBar.deleteConfirmContent": (count) => `確定要刪除選中的 ${count} 項嗎?`,
143
+ "pisell2.salesManagement.batchActionBar.deleteConfirmOk": "確定",
144
+ "pisell2.salesManagement.batchActionBar.deleteConfirmCancel": "取消",
145
+ // ShellFrame 統計區摺疊
146
+ "shell-frame-statistic-expand": "展開統計",
147
+ "shell-frame-statistic-collapse": "收起統計",
108
148
  // 导出
109
149
  "table-action-export-import-export-success": "導出成功!",
110
150
  "table-action-export-import-button": "匯出",
@@ -0,0 +1,60 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/utils/tagColor.ts
20
+ var tagColor_exports = {};
21
+ __export(tagColor_exports, {
22
+ getDefaultTagColor: () => getDefaultTagColor
23
+ });
24
+ module.exports = __toCommonJS(tagColor_exports);
25
+ var PRESET_TAG_COLORS = [
26
+ "blue",
27
+ // #1677ff
28
+ "green",
29
+ // #52c41a
30
+ "orange",
31
+ // #fa8c16
32
+ "purple",
33
+ // #722ed1
34
+ "cyan",
35
+ // #13c2c2
36
+ "magenta",
37
+ // #eb2f96
38
+ "gold",
39
+ // #faad14
40
+ "lime",
41
+ // #a0d911
42
+ "geekblue",
43
+ // #2f54eb
44
+ "volcano"
45
+ // #fa541c
46
+ ];
47
+ function getDefaultTagColor(value, index) {
48
+ const key = value !== null && value !== void 0 && typeof value === "object" ? JSON.stringify(value) : String(value ?? "");
49
+ let hash = 0;
50
+ for (let i = 0; i < key.length; i++) {
51
+ hash = (hash << 5) - hash + key.charCodeAt(i);
52
+ hash |= 0;
53
+ }
54
+ const idx = Math.abs(hash) % PRESET_TAG_COLORS.length;
55
+ return PRESET_TAG_COLORS[idx];
56
+ }
57
+ // Annotate the CommonJS export names for ESM import in node:
58
+ 0 && (module.exports = {
59
+ getDefaultTagColor
60
+ });
@@ -9,7 +9,7 @@ const AutoResizeTextMeta: ComponentMetadata = {
9
9
  "devMode": "proCode",
10
10
  "npm": {
11
11
  "package": "@pisell/materials",
12
- "version": "3.3.84",
12
+ "version": "3.3.85",
13
13
  "exportName": "AutoResizeText",
14
14
  "main": "src/index.tsx",
15
15
  "destructuring": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "3.3.85",
3
+ "version": "3.3.86",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -89,9 +89,9 @@
89
89
  "styled-components": "^6.0.0-rc.3",
90
90
  "swiper": "^8.4.7",
91
91
  "vod-js-sdk-v6": "^1.4.11",
92
+ "@pisell/icon": "0.0.11",
92
93
  "@pisell/utils": "3.0.2",
93
- "@pisell/date-picker": "3.0.4",
94
- "@pisell/icon": "0.0.11"
94
+ "@pisell/date-picker": "3.0.4"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "react": "^18.0.0",
@@ -1,163 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import PisellProcedure from './PisellProcedure';
3
- /**
4
- * PisellProcedure 流程容器组件
5
- *
6
- * 用于管理多步骤流程的复合容器组件,基于 PisellLayout 实现三段式布局
7
- * 包含头部区域(步骤条)、主体区域(内容区+信息区)、底部区域(操作按钮)
8
- */
9
- declare const meta: Meta<typeof PisellProcedure>;
10
- export default meta;
11
- declare type Story = StoryObj<typeof PisellProcedure>;
12
- /**
13
- * 基础用法
14
- * @description 默认流程容器,包含头部、主体、底部三个区域
15
- */
16
- export declare const Default: Story;
17
- /**
18
- * 页面模式
19
- * @description 默认模式,支持响应式和移动端适配
20
- */
21
- export declare const PageMode: Story;
22
- /**
23
- * 弹窗模式
24
- * @description 用于弹窗场景,不应用移动端适配
25
- */
26
- export declare const ModalMode: Story;
27
- /**
28
- * 步骤控制
29
- * @description 使用 onStepsChange 监听步骤变化
30
- */
31
- export declare const StepControl: Story;
32
- /**
33
- * 步骤拦截
34
- * @description 通过 onNext/onPrev 返回 false 阻止步骤切换
35
- */
36
- export declare const StepIntercept: Story;
37
- /**
38
- * 无侧边栏
39
- */
40
- export declare const WithoutSidebar: Story;
41
- /**
42
- * 无头部
43
- */
44
- export declare const WithoutHeader: Story;
45
- /**
46
- * 无底部
47
- */
48
- export declare const WithoutFooter: Story;
49
- /**
50
- * 最小配置
51
- * @description 仅显示主体内容
52
- */
53
- export declare const MinimalConfig: Story;
54
- /**
55
- * 头部插槽顺序 - 默认
56
- * @description left 在左,right 在右
57
- */
58
- export declare const HeaderSlotDefault: Story;
59
- /**
60
- * 头部插槽顺序 - 反转
61
- * @description left 在右,right 在左
62
- */
63
- export declare const HeaderSlotReverse: Story;
64
- /**
65
- * 隐藏步骤条
66
- * @description 仅显示头部插槽,不显示步骤条
67
- */
68
- export declare const HideSteps: Story;
69
- /**
70
- * 第一步显示返回按钮
71
- * @description 通过 showBackOnFirstStep 控制
72
- */
73
- export declare const ShowBackOnFirstStep: Story;
74
- /**
75
- * 返回确认弹窗
76
- * @description 点击返回时弹出确认弹窗
77
- */
78
- export declare const BackConfirmModal: Story;
79
- /**
80
- * 关闭确认弹窗
81
- * @description 点击关闭时弹出确认弹窗
82
- */
83
- export declare const CloseConfirmModal: Story;
84
- /**
85
- * 主体布局 - 比例布局
86
- * @description 使用比例分配内容区和侧边栏宽度
87
- */
88
- export declare const BodyRatioLayout: Story;
89
- /**
90
- * 主体布局 - 固定宽度
91
- * @description 侧边栏使用固定宽度
92
- */
93
- export declare const BodyFixedLayout: Story;
94
- /**
95
- * 主体布局 - 垂直布局
96
- * @description 内容区和侧边栏上下排列
97
- */
98
- export declare const BodyVerticalLayout: Story;
99
- /**
100
- * 主体布局 - 内容顺序反转
101
- * @description 侧边栏在左/上,内容区在右/下
102
- */
103
- export declare const BodyContentOrderReverse: Story;
104
- /**
105
- * 底部位置 - 悬浮在侧边栏
106
- * @description 默认位置,底部悬浮在侧边栏区域
107
- */
108
- export declare const FooterFloatSidebar: Story;
109
- /**
110
- * 底部位置 - 固定在整体底部
111
- */
112
- export declare const FooterFixedBottom: Story;
113
- /**
114
- * 底部位置 - 悬浮在整体区域
115
- * @description 移动端默认使用此模式
116
- */
117
- export declare const FooterFloatAll: Story;
118
- /**
119
- * 底部位置 - 悬浮在内容区
120
- */
121
- export declare const FooterFloatContent: Story;
122
- /**
123
- * 底部位置 - 内嵌在内容区底部
124
- */
125
- export declare const FooterFixedContentBottom: Story;
126
- /**
127
- * 底部位置 - 内嵌在侧边栏底部
128
- */
129
- export declare const FooterFixedSidebarBottom: Story;
130
- /**
131
- * 移动端总结按钮
132
- * @description 移动端显示总结按钮,点击可查看侧边栏内容
133
- */
134
- export declare const MobileSummaryButton: Story;
135
- /**
136
- * 溢出收纳功能
137
- * @description 当宽度不足时,按钮会被收纳到 More 菜单中
138
- */
139
- export declare const OverflowActions: Story;
140
- /**
141
- * 禁用溢出收纳
142
- * @description 不启用溢出收纳,按钮会换行显示
143
- */
144
- export declare const DisableOverflow: Story;
145
- /**
146
- * 完整示例 - 购物流程
147
- * @description 模拟真实的购物流程
148
- */
149
- export declare const ShoppingFlow: Story;
150
- /**
151
- * 完整示例 - 注册流程
152
- * @description 模拟用户注册流程
153
- */
154
- export declare const RegistrationFlow: Story;
155
- /**
156
- * 完整示例 - 表单向导
157
- * @description 多步表单向导
158
- */
159
- export declare const FormWizard: Story;
160
- /**
161
- * 交互测试 - 组件渲染
162
- */
163
- export declare const InteractionTest: Story;
@@ -1,5 +0,0 @@
1
- /**
2
- * PisellProcedure 组件导出
3
- */
4
- export { default } from './PisellProcedure';
5
- export type { PisellProcedureProps, PisellProcedureRef, ProcedureHeaderProps, ProcedureBodyProps, ProcedureFooterProps, FooterPositionMode, BackConfirmModalConfig, BodyLayoutMode, BodyLayoutRatio, BodyDirection, StepItem, StepChangeResult, } from './types';
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import './PisellSteps.less';
3
- import type { PisellStepsProps } from './types';
4
- /**
5
- * PisellSteps 步骤条组件
6
- *
7
- * 基于 Ant Design Steps 组件进行二次封装和增强
8
- * 支持多种展示样式、布局方式和丰富的交互功能
9
- *
10
- * @author Pisell Team
11
- * @version 1.0.0
12
- */
13
- declare const PisellSteps: React.FC<PisellStepsProps>;
14
- export default PisellSteps;
@@ -1,7 +0,0 @@
1
- import type { DateTimeDisplayFormatPreset } from '../types';
2
- /**
3
- * PisellDateTimeDisplay 按语言预设的格式
4
- * - zh-cn:完整日期 - 时间 星期(如 2025-12-31 - 2:00 周四);默认不展示相对日,可传 dateFormat.showRelativeDay: true 开启
5
- * - en:时间 星期, 日期(如 2:00 Sat, 21 Mar, 2026);默认不展示相对日,可传 dateFormat.showRelativeDay: true 开启
6
- */
7
- export declare const DATETIME_DISPLAY_FORMATS: Record<string, Partial<DateTimeDisplayFormatPreset>>;
@@ -1 +0,0 @@
1
- export { DATETIME_DISPLAY_FORMATS } from './dateTimeDisplayFormats';