@zat-design/sisyphus-react 4.5.5 → 4.5.6-beta.1

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 (264) hide show
  1. package/es/FormsProvider/index.d.ts +18 -0
  2. package/es/ProAction/components/CheckModalContent/index.d.ts +8 -0
  3. package/es/ProAction/index.d.ts +7 -0
  4. package/es/ProAction/propsType.d.ts +45 -0
  5. package/es/ProConfigProvider/index.d.ts +9 -0
  6. package/es/ProConfigProvider/propsType.d.ts +82 -0
  7. package/es/ProDownload/index.d.ts +6 -0
  8. package/es/ProDownload/propsType.d.ts +71 -0
  9. package/es/ProDownload/utils.d.ts +60 -0
  10. package/es/ProDrawerForm/components/ProDrawer/index.d.ts +7 -0
  11. package/es/ProDrawerForm/components/ProModal/index.d.ts +7 -0
  12. package/es/ProDrawerForm/components/index.d.ts +2 -0
  13. package/es/ProDrawerForm/hooks/useConfirmClose.d.ts +24 -0
  14. package/es/ProDrawerForm/index.d.ts +6 -0
  15. package/es/ProDrawerForm/propsType.d.ts +111 -0
  16. package/es/ProDrawerForm/utils/index.d.ts +25 -0
  17. package/es/ProEditLabel/components/RenderProForm.d.ts +4 -0
  18. package/es/ProEditLabel/index.d.ts +4 -0
  19. package/es/ProEditLabel/propsType.d.ts +163 -0
  20. package/es/ProEditLabel/utils/index.d.ts +7 -0
  21. package/es/ProEditTable/components/ActionButton/index.d.ts +2 -0
  22. package/es/ProEditTable/components/RcTable/BaseTable.d.ts +5 -0
  23. package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +7 -0
  24. package/es/ProEditTable/components/RcTable/index.d.ts +4 -0
  25. package/es/ProEditTable/components/RenderField/ListChangedWrapper.d.ts +4 -0
  26. package/es/ProEditTable/components/RenderField/index.d.ts +3 -0
  27. package/es/ProEditTable/components/RenderField/propsType.d.ts +30 -0
  28. package/es/ProEditTable/components/RenderField/tools.d.ts +22 -0
  29. package/es/ProEditTable/components/RenderToolbar/index.d.ts +2 -0
  30. package/es/ProEditTable/components/Summary/index.d.ts +12 -0
  31. package/es/ProEditTable/components/Validator/index.d.ts +18 -0
  32. package/es/ProEditTable/components/index.d.ts +5 -0
  33. package/es/ProEditTable/index.d.ts +4 -0
  34. package/es/ProEditTable/propsType.d.ts +437 -0
  35. package/es/ProEditTable/utils/config.d.ts +25 -0
  36. package/es/ProEditTable/utils/diffOriginal.d.ts +22 -0
  37. package/es/ProEditTable/utils/getDefaultProps.d.ts +1 -0
  38. package/es/ProEditTable/utils/index.d.ts +23 -0
  39. package/es/ProEditTable/utils/tools.d.ts +133 -0
  40. package/es/ProEditTable/utils/transform.d.ts +13 -0
  41. package/es/ProEditTable/utils/useEditTableError.d.ts +7 -0
  42. package/es/ProEditTable/utils/useShouldUpdateForTable.d.ts +16 -0
  43. package/es/ProEditTable/utils/validateAll.d.ts +89 -0
  44. package/es/ProEnum/components/Group.d.ts +10 -0
  45. package/es/ProEnum/components/Tag.d.ts +7 -0
  46. package/es/ProEnum/hooks/useEnum.d.ts +29 -0
  47. package/es/ProEnum/hooks/useEnumRequest.d.ts +4 -0
  48. package/es/ProEnum/hooks/useFrequentEnumRequest.d.ts +14 -0
  49. package/es/ProEnum/index.d.ts +10 -0
  50. package/es/ProEnum/index.js +1 -1
  51. package/es/ProEnum/propsType.d.ts +320 -0
  52. package/es/ProEnum/utils/eventCenter.d.ts +1 -0
  53. package/es/ProEnum/utils/frequentEnum.d.ts +39 -0
  54. package/es/ProEnum/utils/getEnum.d.ts +47 -0
  55. package/es/ProEnum/utils/getEnumLabel.d.ts +2 -0
  56. package/es/ProEnum/utils/index.d.ts +98 -0
  57. package/es/ProForm/components/Container.d.ts +9 -0
  58. package/es/ProForm/components/FormFooter/index.d.ts +5 -0
  59. package/es/ProForm/components/FormFooter/propsType.d.ts +21 -0
  60. package/es/ProForm/components/base/Checkbox/index.d.ts +14 -0
  61. package/es/ProForm/components/base/DatePicker/index.d.ts +11 -0
  62. package/es/ProForm/components/base/Input/index.d.ts +3 -0
  63. package/es/ProForm/components/base/Input/propsType.d.ts +21 -0
  64. package/es/ProForm/components/base/InputNumber/index.d.ts +11 -0
  65. package/es/ProForm/components/base/Radio/index.d.ts +15 -0
  66. package/es/ProForm/components/base/RangePicker/index.d.ts +19 -0
  67. package/es/ProForm/components/base/RangePicker/useDateRange.d.ts +15 -0
  68. package/es/ProForm/components/base/Select/index.d.ts +11 -0
  69. package/es/ProForm/components/base/Switch/index.d.ts +10 -0
  70. package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +10 -0
  71. package/es/ProForm/components/base/TextArea/index.d.ts +11 -0
  72. package/es/ProForm/components/base/TimePicker/index.d.ts +13 -0
  73. package/es/ProForm/components/combination/Container/index.d.ts +4 -0
  74. package/es/ProForm/components/combination/Container/propsType.d.ts +13 -0
  75. package/es/ProForm/components/combination/FormList/components/ActionButton.d.ts +24 -0
  76. package/es/ProForm/components/combination/FormList/components/BlockFields.d.ts +23 -0
  77. package/es/ProForm/components/combination/FormList/components/Empty.d.ts +13 -0
  78. package/es/ProForm/components/combination/FormList/components/LineFields.d.ts +20 -0
  79. package/es/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +12 -0
  80. package/es/ProForm/components/combination/FormList/index.d.ts +4 -0
  81. package/es/ProForm/components/combination/FormList/propsType.d.ts +69 -0
  82. package/es/ProForm/components/combination/FormList/utils.d.ts +18 -0
  83. package/es/ProForm/components/combination/Group/component/AddonWrapper/index.d.ts +9 -0
  84. package/es/ProForm/components/combination/Group/component/ComRender.d.ts +28 -0
  85. package/es/ProForm/components/combination/Group/component/FlexibleGroup.d.ts +10 -0
  86. package/es/ProForm/components/combination/Group/hooks/index.d.ts +34 -0
  87. package/es/ProForm/components/combination/Group/index.d.ts +9 -0
  88. package/es/ProForm/components/combination/Group/propsType.d.ts +99 -0
  89. package/es/ProForm/components/combination/Group/utils/index.d.ts +153 -0
  90. package/es/ProForm/components/combination/ProCascader/index.d.ts +3 -0
  91. package/es/ProForm/components/combination/ProCascader/propsType.d.ts +48 -0
  92. package/es/ProForm/components/combination/ProCascader/utils/index.d.ts +14 -0
  93. package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.d.ts +33 -0
  94. package/es/ProForm/components/combination/ProModalSelect/index.d.ts +4 -0
  95. package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +106 -0
  96. package/es/ProForm/components/combination/ProModalSelect/utils/index.d.ts +15 -0
  97. package/es/ProForm/components/combination/ProNumberRange/index.d.ts +3 -0
  98. package/es/ProForm/components/combination/ProNumberRange/propsType.d.ts +85 -0
  99. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +4 -0
  100. package/es/ProForm/components/combination/ProRangeLimit/propsType.d.ts +23 -0
  101. package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +8 -0
  102. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +33 -0
  103. package/es/ProForm/components/index.d.ts +29 -0
  104. package/es/ProForm/components/render/ChangedWrapper.d.ts +17 -0
  105. package/es/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  106. package/es/ProForm/components/render/CustomComponentViewWrapper.d.ts +30 -0
  107. package/es/ProForm/components/render/Render.d.ts +4 -0
  108. package/es/ProForm/components/render/RenderFields.d.ts +26 -0
  109. package/es/ProForm/components/render/propsType.d.ts +279 -0
  110. package/es/ProForm/hooks/useControlled.d.ts +1 -0
  111. package/es/ProForm/hooks/useDeepCompareMemo.d.ts +2 -0
  112. package/es/ProForm/hooks/useFieldProps.d.ts +4 -0
  113. package/es/ProForm/hooks/useForm.d.ts +8 -0
  114. package/es/ProForm/hooks/useRules.d.ts +16 -0
  115. package/es/ProForm/hooks/useShouldUpdate.d.ts +31 -0
  116. package/es/ProForm/hooks/useWatch.d.ts +22 -0
  117. package/es/ProForm/index.d.ts +6 -0
  118. package/es/ProForm/propsType.d.ts +143 -0
  119. package/es/ProForm/utils/buildFormItemProps.d.ts +25 -0
  120. package/es/ProForm/utils/diffOriginal.d.ts +10 -0
  121. package/es/ProForm/utils/getDefaultProps.d.ts +1 -0
  122. package/es/ProForm/utils/index.d.ts +109 -0
  123. package/es/ProForm/utils/processDependencies.d.ts +29 -0
  124. package/es/ProForm/utils/reactiveValues.d.ts +33 -0
  125. package/es/ProForm/utils/rulesCreator.d.ts +7 -0
  126. package/es/ProForm/utils/transformNames.d.ts +10 -0
  127. package/es/ProForm/utils/transformValue.d.ts +6 -0
  128. package/es/ProForm/utils/valueType.d.ts +70 -0
  129. package/es/ProIcon/config/index.d.ts +19 -0
  130. package/es/ProIcon/index.d.ts +4 -0
  131. package/es/ProIcon/propsTypes.d.ts +175 -0
  132. package/es/ProIcon/utils/index.d.ts +6 -0
  133. package/es/ProLayout/components/Layout/Header/index.d.ts +4 -0
  134. package/es/ProLayout/components/Layout/Menu/FoldMenu/index.d.ts +3 -0
  135. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +3 -0
  136. package/es/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +15 -0
  137. package/es/ProLayout/components/Layout/Menu/SideMenu/index.d.ts +3 -0
  138. package/es/ProLayout/components/Layout/Menu/index.d.ts +4 -0
  139. package/es/ProLayout/components/Layout/Notice/index.d.ts +4 -0
  140. package/es/ProLayout/components/Layout/index.d.ts +3 -0
  141. package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +98 -0
  142. package/es/ProLayout/components/ProCollapse/index.d.ts +3 -0
  143. package/es/ProLayout/components/ProFooter/PropTypes.d.ts +27 -0
  144. package/es/ProLayout/components/ProFooter/index.d.ts +3 -0
  145. package/es/ProLayout/components/ProHeader/PropTypes.d.ts +206 -0
  146. package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +4 -0
  147. package/es/ProLayout/components/ProHeader/components/ProBackBtn/index.d.ts +9 -0
  148. package/es/ProLayout/components/ProHeader/components/ProBackBtn/propsType.d.ts +4 -0
  149. package/es/ProLayout/components/ProHeader/components/index.d.ts +2 -0
  150. package/es/ProLayout/components/ProHeader/index.d.ts +4 -0
  151. package/es/ProLayout/components/ProHeader/utils/index.d.ts +5 -0
  152. package/es/ProLayout/components/TabsManager/components/TabContextMenu.d.ts +7 -0
  153. package/es/ProLayout/components/TabsManager/components/TabItem.d.ts +26 -0
  154. package/es/ProLayout/components/TabsManager/components/TabsContext.d.ts +5 -0
  155. package/es/ProLayout/components/TabsManager/components/TabsHeader.d.ts +10 -0
  156. package/es/ProLayout/components/TabsManager/hooks/useActiveTab.d.ts +6 -0
  157. package/es/ProLayout/components/TabsManager/hooks/useIframeRoute.d.ts +25 -0
  158. package/es/ProLayout/components/TabsManager/hooks/useProLayoutTabs.d.ts +18 -0
  159. package/es/ProLayout/components/TabsManager/hooks/useTabsCache.d.ts +31 -0
  160. package/es/ProLayout/components/TabsManager/hooks/useTabsState.d.ts +5 -0
  161. package/es/ProLayout/components/TabsManager/index.d.ts +6 -0
  162. package/es/ProLayout/components/TabsManager/propTypes.d.ts +89 -0
  163. package/es/ProLayout/components/TabsManager/utils/index.d.ts +47 -0
  164. package/es/ProLayout/components/index.d.ts +3 -0
  165. package/es/ProLayout/index.d.ts +19 -0
  166. package/es/ProLayout/propTypes.d.ts +533 -0
  167. package/es/ProLayout/utils/index.d.ts +43 -0
  168. package/es/ProSelect/components/AdaptiveTooltip.d.ts +4 -0
  169. package/es/ProSelect/index.d.ts +5 -0
  170. package/es/ProSelect/propsType.d.ts +162 -0
  171. package/es/ProSelect/utils/index.d.ts +86 -0
  172. package/es/ProStep/components/Anchor/index.d.ts +4 -0
  173. package/es/ProStep/components/Item/index.d.ts +4 -0
  174. package/es/ProStep/components/LazyLoad/index.d.ts +19 -0
  175. package/es/ProStep/components/Listener/index.d.ts +4 -0
  176. package/es/ProStep/components/Step/index.d.ts +5 -0
  177. package/es/ProStep/index.d.ts +11 -0
  178. package/es/ProStep/propsType.d.ts +224 -0
  179. package/es/ProStep/utils/index.d.ts +22 -0
  180. package/es/ProStepTab/index.d.ts +22 -0
  181. package/es/ProStepTab/propsType.d.ts +114 -0
  182. package/es/ProTable/components/EditableCell/EditIcon.d.ts +6 -0
  183. package/es/ProTable/components/EditableCell/index.d.ts +4 -0
  184. package/es/ProTable/components/EditableCell/propsType.d.ts +24 -0
  185. package/es/ProTable/components/FormatColumn/index.d.ts +22 -0
  186. package/es/ProTable/components/FormatColumn/propsType.d.ts +29 -0
  187. package/es/ProTable/components/RcTable/components/BaseTable/index.d.ts +2 -0
  188. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +18 -0
  189. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.d.ts +8 -0
  190. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/propsType.d.ts +61 -0
  191. package/es/ProTable/components/RcTable/components/DraggableTable/index.d.ts +2 -0
  192. package/es/ProTable/components/RcTable/index.d.ts +4 -0
  193. package/es/ProTable/components/RenderColumn/index.d.ts +22 -0
  194. package/es/ProTable/components/RenderEmptyText/index.d.ts +3 -0
  195. package/es/ProTable/components/RenderFooter/index.d.ts +2 -0
  196. package/es/ProTable/components/RenderSummary/index.d.ts +3 -0
  197. package/es/ProTable/components/RenderTableHeader/index.d.ts +2 -0
  198. package/es/ProTable/components/RenderTabs/index.d.ts +3 -0
  199. package/es/ProTable/components/TableResizable/index.d.ts +13 -0
  200. package/es/ProTable/components/TooltipTitle/index.d.ts +11 -0
  201. package/es/ProTable/components/index.d.ts +31 -0
  202. package/es/ProTable/hooks/useAntdTable.d.ts +7 -0
  203. package/es/ProTable/index.d.ts +17 -0
  204. package/es/ProTable/propsType.d.ts +805 -0
  205. package/es/ProTable/utils/columnStorage.d.ts +35 -0
  206. package/es/ProTable/utils/index.d.ts +52 -0
  207. package/es/ProTabs/components/Card/index.d.ts +3 -0
  208. package/es/ProTabs/components/index.d.ts +1 -0
  209. package/es/ProTabs/index.d.ts +4 -0
  210. package/es/ProTabs/propType.d.ts +94 -0
  211. package/es/ProThemeTools/component/ProTools/index.d.ts +3 -0
  212. package/es/ProThemeTools/component/index.d.ts +1 -0
  213. package/es/ProThemeTools/context/ThemeContext.d.ts +43 -0
  214. package/es/ProThemeTools/index.d.ts +9 -0
  215. package/es/ProThemeTools/propsType.d.ts +170 -0
  216. package/es/ProThemeTools/utils/index.d.ts +51 -0
  217. package/es/ProTooltip/index.d.ts +3 -0
  218. package/es/ProTooltip/propsType.d.ts +57 -0
  219. package/es/ProTree/components/AdaptiveTooltip.d.ts +4 -0
  220. package/es/ProTree/components/CloseIcon.d.ts +2 -0
  221. package/es/ProTree/components/List.d.ts +17 -0
  222. package/es/ProTree/components/ProTree.d.ts +3 -0
  223. package/es/ProTree/components/ProTreeSelect/index.d.ts +5 -0
  224. package/es/ProTree/components/ProTreeSelect/propsType.d.ts +445 -0
  225. package/es/ProTree/components/SearchTitle.d.ts +10 -0
  226. package/es/ProTree/components/Tree.d.ts +27 -0
  227. package/es/ProTree/components/index.d.ts +4 -0
  228. package/es/ProTree/index.d.ts +3 -0
  229. package/es/ProTree/propsType.d.ts +818 -0
  230. package/es/ProTree/utils.d.ts +62 -0
  231. package/es/ProTreeModal/components/Cascader.d.ts +14 -0
  232. package/es/ProTreeModal/components/CloseIcon.d.ts +2 -0
  233. package/es/ProTreeModal/components/List.d.ts +21 -0
  234. package/es/ProTreeModal/components/SearchTitle.d.ts +6 -0
  235. package/es/ProTreeModal/components/SortableItem.d.ts +12 -0
  236. package/es/ProTreeModal/components/Tree.d.ts +25 -0
  237. package/es/ProTreeModal/components/Trigger.d.ts +21 -0
  238. package/es/ProTreeModal/components/index.d.ts +6 -0
  239. package/es/ProTreeModal/index.d.ts +4 -0
  240. package/es/ProTreeModal/propsType.d.ts +298 -0
  241. package/es/ProTreeModal/utils.d.ts +39 -0
  242. package/es/ProUpload/components/ButtonRender.d.ts +20 -0
  243. package/es/ProUpload/components/DragRender.d.ts +21 -0
  244. package/es/ProUpload/components/DraggableUploadListItem.d.ts +2 -0
  245. package/es/ProUpload/components/Example.d.ts +10 -0
  246. package/es/ProUpload/components/FileItem.d.ts +33 -0
  247. package/es/ProUpload/components/ImageRender.d.ts +19 -0
  248. package/es/ProUpload/index.d.ts +4 -0
  249. package/es/ProUpload/propsType.d.ts +264 -0
  250. package/es/ProUpload/uitls.d.ts +3 -0
  251. package/es/ProUtils/utils/index.d.ts +6 -0
  252. package/es/ProViewer/index.d.ts +4 -0
  253. package/es/ProViewer/propsType.d.ts +37 -0
  254. package/es/ProWaterMark/index.d.ts +4 -0
  255. package/es/ProWaterMark/propsType.d.ts +6 -0
  256. package/es/hooks/useDraggableRow.d.ts +34 -0
  257. package/es/index.d.ts +57 -0
  258. package/es/index.js +0 -2
  259. package/es/locale/en_US.d.ts +176 -0
  260. package/es/locale/index.d.ts +15 -0
  261. package/es/locale/zh_CN.d.ts +176 -0
  262. package/es/tokens.d.ts +83 -0
  263. package/es/utils/index.d.ts +24 -0
  264. package/package.json +12 -2
@@ -0,0 +1,176 @@
1
+ declare const _default: {
2
+ ProDrawerForm: {
3
+ save: string;
4
+ confirm: string;
5
+ cancel: string;
6
+ isSureClose: string;
7
+ secondTipsWhenSave: string;
8
+ };
9
+ ProLayout: {
10
+ tipAlt: string;
11
+ closeAlt: string;
12
+ tabMaxLimitMessage: string;
13
+ };
14
+ ProHeader: {
15
+ versionTitle: string;
16
+ confirmTitle: string;
17
+ confirm: string;
18
+ cancel: string;
19
+ backText: string;
20
+ copyTooltips: string[];
21
+ };
22
+ ProDownload: {
23
+ errorMessage: string;
24
+ };
25
+ ProForm: {
26
+ unfold: string;
27
+ packUp: string;
28
+ inputPlaceholder: string;
29
+ treeSelectPlaceholder: string;
30
+ selectPlaceHolder: string;
31
+ switchText: string[];
32
+ ruleStartEndText: string[];
33
+ search: string;
34
+ reset: string;
35
+ ruleText: string;
36
+ completeText: string;
37
+ halfRuleText: string;
38
+ formListActions: string[];
39
+ formListConfirmMessage: string;
40
+ noData: string;
41
+ moreItems: string;
42
+ };
43
+ ProAction: {
44
+ errorMessage: string;
45
+ defaultTitle: string;
46
+ };
47
+ ProTable: {
48
+ noData: string;
49
+ resetColumnWidth: string;
50
+ customColumns: string;
51
+ transformResponseMsg: string;
52
+ deselect: string;
53
+ selectCurPage: string;
54
+ selectAll: string;
55
+ hasSelected: string;
56
+ total: string;
57
+ };
58
+ ProAddressBar: {
59
+ placeholder: string;
60
+ detailPlaceholder: string;
61
+ };
62
+ ProTree: {
63
+ inputPlaceholder: string;
64
+ unExpand: string;
65
+ expand: string;
66
+ all: string;
67
+ emptyTips: string;
68
+ };
69
+ ProUpload: {
70
+ exampleTitle: string;
71
+ errorInfoExt: string;
72
+ errorInfoSize: string;
73
+ buttonText: string;
74
+ draggerSelect: string;
75
+ draggerDelete: string;
76
+ draggerTips: string;
77
+ draggerBtnTxt: string;
78
+ draggerFileExt: string;
79
+ draggerLimitless: string;
80
+ view: string;
81
+ delete: string;
82
+ download: string;
83
+ };
84
+ ProStep: {
85
+ catalogue: string;
86
+ };
87
+ ProEditTable: {
88
+ confirm: string;
89
+ cancel: string;
90
+ select: string;
91
+ enter: string;
92
+ add: string;
93
+ edit: string;
94
+ copy: string;
95
+ delete: string;
96
+ mulDelete: string;
97
+ save: string;
98
+ custom: string;
99
+ operation: string;
100
+ noData: string;
101
+ clickAdd: string;
102
+ total: string;
103
+ onlyOneLineMsg: string;
104
+ deletePoConfirmMsg: string;
105
+ mulDeletePoConfirmMsg: string;
106
+ };
107
+ ProModalSelect: {
108
+ checkMsg: string;
109
+ select: string;
110
+ total: string;
111
+ };
112
+ ProSelect: {
113
+ checkMsg: string;
114
+ select: string;
115
+ };
116
+ ProEnum: {
117
+ errorDataSource: string;
118
+ errorMessage: string;
119
+ errorArrayMessage: string;
120
+ errorNoEnumType: string;
121
+ mainInitByRequest: string;
122
+ mainInitByCache: string;
123
+ requestError: string;
124
+ mainInitOnce: string;
125
+ sonInitEvent: string;
126
+ };
127
+ ProTreeModal: {
128
+ checkMsg: string;
129
+ select: string;
130
+ input: string;
131
+ errorArrayMessage: string;
132
+ selectMin: string;
133
+ selectMax: string;
134
+ noCheck: string;
135
+ checkAll: string;
136
+ checkAll1: string;
137
+ check: string;
138
+ clearAll: string;
139
+ checkNumber: string;
140
+ noFinal: string;
141
+ specifyMode: string[];
142
+ };
143
+ ProTimeLimit: {
144
+ foreverText: string;
145
+ };
146
+ ProThemeTools: {
147
+ title: string;
148
+ copySuccess: string;
149
+ layout: string;
150
+ layoutMode: string[];
151
+ themeColor: string;
152
+ formLabel: string;
153
+ bigText: string;
154
+ flex: string[];
155
+ switchText: string[];
156
+ tableBorder: string;
157
+ tableStripe: string;
158
+ reset: string;
159
+ };
160
+ ProViewer: {
161
+ preview: string;
162
+ };
163
+ ProIcon: {
164
+ language: string;
165
+ };
166
+ RangePicker: {
167
+ ranges: {
168
+ today: string;
169
+ lastWeek: string;
170
+ lastMonth: string;
171
+ last3Months: string;
172
+ lastYear: string;
173
+ };
174
+ };
175
+ };
176
+ export default _default;
package/es/tokens.d.ts ADDED
@@ -0,0 +1,83 @@
1
+ declare const tokens: {
2
+ '@zaui-global-bg': string;
3
+ '@zaui-base-bg': string;
4
+ '@zaui-brand': string;
5
+ '@zaui-brand-hover': string;
6
+ '@zaui-brand-active': string;
7
+ '@zaui-brand-disabled': string;
8
+ '@zaui-text': string;
9
+ '@zaui-text-weak': string;
10
+ '@zaui-aide-text': string;
11
+ '@zaui-placeholder': string;
12
+ '@zaui-link': string;
13
+ '@zaui-link-light-active': string;
14
+ '@zaui-line': string;
15
+ '@zaui-dividing-line': string;
16
+ '@zaui-area': string;
17
+ '@zaui-shadow': string;
18
+ '@zaui-form-control-line': string;
19
+ '@zaui-form-control-line-hover': string;
20
+ '@zaui-form-control-line-active': string;
21
+ '@zaui-list-item-active-bg': string;
22
+ '@zaui-list-item-active-hover-bg': string;
23
+ '@zaui-list-item-selected-bg': string;
24
+ '@zaui-list-item-selected-hover-bg': string;
25
+ '@zaui-disabled-bg': string;
26
+ '@zaui-disabled-text': string;
27
+ '@zaui-feedback-overlay-bg': string;
28
+ '@zaui-feedback-overlay-text': string;
29
+ '@zaui-primary': string;
30
+ '@zaui-primary-hover': string;
31
+ '@zaui-primary-active': string;
32
+ '@zaui-danger-line': string;
33
+ '@zaui-danger-bg': string;
34
+ '@zaui-warning-line': string;
35
+ '@zaui-warning-bg': string;
36
+ '@zaui-info-line': string;
37
+ '@zaui-info-bg': string;
38
+ '@zaui-success-line': string;
39
+ '@zaui-success-bg': string;
40
+ '@zaui-danger': string;
41
+ '@zaui-warning': string;
42
+ '@zaui-success': string;
43
+ '@zaui-menu-top-bg': string;
44
+ '@zaui-menu-left-bg': string;
45
+ '@zaui-menu-second-bg': string;
46
+ '@zaui-form-align': string;
47
+ '@zaui-table-header-bg': string;
48
+ '@zaui-table-strip-bg': string;
49
+ '@zaui-table-hover-bg': string;
50
+ '@zaui-table-selected-bg': string;
51
+ '@zaui-table-selected-hover-bg': string;
52
+ '@zaui-table-nested-bg': string;
53
+ '@zaui-form-required-after': string;
54
+ '@zaui-form-required-before': string;
55
+ '@zaui-form-label-width': string;
56
+ '@zaui-border-radius': string;
57
+ '@zaui-border-radius-card': string;
58
+ '@zaui-font-size-title': string;
59
+ '@zaui-font-size-card-title': string;
60
+ '@zaui-font-size': string;
61
+ '@zaui-font-size-sm': string;
62
+ '@zaui-font-size-md': string;
63
+ '@zaui-font-size-lg': string;
64
+ '@zaui-font-size-xl': string;
65
+ '@zaui-font-size-xxl': string;
66
+ '@zaui-font-size-lg-title': string;
67
+ '@zaui-height-border': string;
68
+ '@zaui-height-card': string;
69
+ '@zaui-height-size-xs': string;
70
+ '@zaui-height-size-sm': string;
71
+ '@zaui-height-size-md': string;
72
+ '@zaui-height-size-lg': string;
73
+ '@zaui-height-size-xl': string;
74
+ '@zaui-space-border': string;
75
+ '@zaui-space-card': string;
76
+ '@zaui-space-size-xs': string;
77
+ '@zaui-space-size-sm': string;
78
+ '@zaui-space-size-md': string;
79
+ '@zaui-space-size-lg': string;
80
+ '@zaui-space-size-xl': string;
81
+ '@zaui-line-height-base': string;
82
+ };
83
+ export default tokens;
@@ -0,0 +1,24 @@
1
+ export declare const customEqualForFunction: (value: any, other: any) => boolean;
2
+ /**
3
+ * 兼容 React17/18 的 startTransition。
4
+ * - React18+: 使用原生 startTransition
5
+ * - React17 : 直接执行回调
6
+ */
7
+ export declare function compatStartTransition(cb: () => void): void;
8
+ /**
9
+ * 判断一个值是否是空值
10
+ * 空值 或者 仅包含空值的数组视为空
11
+ */
12
+ export declare const isEmpty: (value: any, emptyValue?: string) => boolean;
13
+ /**
14
+ * 生成用于 UI 元素的随机短 ID(非安全用途)
15
+ */
16
+ export declare const generateId: () => string;
17
+ /**
18
+ * 判断一个元素是否触发了省略号(文本溢出)
19
+ * 如果元素设置为单行(white-space: nowrap)则比较 scrollWidth 与 clientWidth,
20
+ * 如果是多行文本(例如使用 -webkit-line-clamp 实现多行截断)则比较 scrollHeight 与 clientHeight。
21
+ * @param {HTMLElement} element 要检测的元素
22
+ * @returns {boolean} 如果内容溢出返回 true,否则返回 false
23
+ */
24
+ export declare const isEllipsisActive: (element: Element) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.5.5",
3
+ "version": "4.5.6-beta.1",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "es",
@@ -9,13 +9,22 @@
9
9
  ],
10
10
  "main": "es/index.js",
11
11
  "module": "es/index.js",
12
+ "types": "es/index.d.ts",
12
13
  "typings": "es/index.d.ts",
14
+ "typesVersions": {
15
+ "*": {
16
+ "tokens": ["es/tokens.d.ts"],
17
+ "es/*": ["es/*"]
18
+ }
19
+ },
13
20
  "exports": {
14
21
  ".": {
22
+ "types": "./es/index.d.ts",
15
23
  "import": "./es/index.js",
16
24
  "default": "./es/index.js"
17
25
  },
18
26
  "./tokens": {
27
+ "types": "./es/tokens.d.ts",
19
28
  "import": "./es/tokens.js",
20
29
  "default": "./es/tokens.js"
21
30
  },
@@ -48,7 +57,8 @@
48
57
  ],
49
58
  "scripts": {
50
59
  "analyze": "ANALYZE=1 dumi build",
51
- "build": "father build && mv dist/index.min.css dist/index.esm.css && mv dist/less.min.css dist/less.esm.css && npm run build:ai-meta",
60
+ "build": "father build && npm run build:types && mv dist/index.min.css dist/index.esm.css && mv dist/less.min.css dist/less.esm.css && npm run build:ai-meta",
61
+ "build:types": "tsc -p tsconfig.build.json",
52
62
  "build:ai-meta": "node ./scripts/build-ai-meta.mjs",
53
63
  "docs": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" dumi build",
54
64
  "docs:deploy": "gh-pages -d docs-dist",