@bit-sun/business-component 3.1.9 → 4.0.0-alpha.2

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 (223) hide show
  1. package/dist/components/Business/CommonGuideWrapper/index.d.ts +2 -2
  2. package/dist/components/Common/ExtendedCollapse/ExtendedPanel.d.ts +10 -0
  3. package/dist/components/Common/ExtendedCollapse/index.d.ts +7 -0
  4. package/dist/components/Common/Section/index.d.ts +29 -0
  5. package/dist/index.d.ts +2 -0
  6. package/dist/index.esm.js +302 -286
  7. package/dist/index.js +302 -285
  8. package/dist/utils/utils.d.ts +0 -1
  9. package/package.json +14 -9
  10. package/src/styles/bsDefault.less +0 -4
  11. package/.editorconfig +0 -16
  12. package/.fatherrc.ts +0 -5
  13. package/.gitlab-ci.yml +0 -179
  14. package/.prettierignore +0 -7
  15. package/.prettierrc +0 -11
  16. package/.umirc.ts +0 -74
  17. package/docs/index.md +0 -21
  18. package/src/assets/32.svg +0 -28
  19. package/src/assets/addIcon.svg +0 -18
  20. package/src/assets/allfunc.svg +0 -28
  21. package/src/assets/arrowRight.svg +0 -25
  22. package/src/assets/arrow_top.png +0 -0
  23. package/src/assets/arrow_top.svg +0 -18
  24. package/src/assets/btn-delete.svg +0 -30
  25. package/src/assets/btn-edit.svg +0 -20
  26. package/src/assets/btn-more.svg +0 -18
  27. package/src/assets/btn-submit.svg +0 -20
  28. package/src/assets/caidan.svg +0 -12
  29. package/src/assets/close.svg +0 -26
  30. package/src/assets/closeicon.png +0 -0
  31. package/src/assets/drag.svg +0 -17
  32. package/src/assets/exportFail.svg +0 -38
  33. package/src/assets/exportProcessing.svg +0 -29
  34. package/src/assets/exportSuccess.svg +0 -35
  35. package/src/assets/exportlogo.png +0 -0
  36. package/src/assets/fixed-left-active.svg +0 -12
  37. package/src/assets/fixed-left.svg +0 -16
  38. package/src/assets/fixed-right-active.svg +0 -12
  39. package/src/assets/fixed-right.svg +0 -16
  40. package/src/assets/guanbi.svg +0 -16
  41. package/src/assets/icon-quanping.svg +0 -16
  42. package/src/assets/icon-shezhi.svg +0 -18
  43. package/src/assets/label_icon_bottom.svg +0 -26
  44. package/src/assets/list-no-img.svg +0 -22
  45. package/src/assets/morentouxiang-32.svg +0 -24
  46. package/src/assets/right.png +0 -0
  47. package/src/assets/scanning.svg +0 -25
  48. package/src/assets/upExport.svg +0 -23
  49. package/src/assets/xinglan-icon-out.png +0 -0
  50. package/src/common/ENUM.ts +0 -41
  51. package/src/components/Business/AddSelectBusiness/index.md +0 -398
  52. package/src/components/Business/AddSelectBusiness/index.tsx +0 -1116
  53. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +0 -112
  54. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +0 -153
  55. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +0 -70
  56. package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
  57. package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +0 -193
  58. package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +0 -10
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +0 -90
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +0 -38
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +0 -243
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +0 -385
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +0 -286
  64. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +0 -75
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +0 -171
  66. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +0 -65
  67. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +0 -154
  68. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +0 -73
  69. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +0 -163
  70. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +0 -85
  71. package/src/components/Business/BsLayouts/Components/RightContent/home.less +0 -218
  72. package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +0 -9
  73. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +0 -172
  74. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +0 -161
  75. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +0 -76
  76. package/src/components/Business/BsLayouts/index.less +0 -80
  77. package/src/components/Business/BsLayouts/index.tsx +0 -1606
  78. package/src/components/Business/BsLayouts/service.ts +0 -11
  79. package/src/components/Business/BsLayouts/utils.tsx +0 -205
  80. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +0 -566
  81. package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +0 -5
  82. package/src/components/Business/BsSulaQueryTable/index.less +0 -228
  83. package/src/components/Business/BsSulaQueryTable/index.tsx +0 -766
  84. package/src/components/Business/BsSulaQueryTable/setting.tsx +0 -888
  85. package/src/components/Business/BsSulaQueryTable/utils.less +0 -65
  86. package/src/components/Business/BsSulaQueryTable/utils.tsx +0 -709
  87. package/src/components/Business/CommodityEntry/index.md +0 -84
  88. package/src/components/Business/CommodityEntry/index.tsx +0 -82
  89. package/src/components/Business/CommonAlert/index.less +0 -0
  90. package/src/components/Business/CommonAlert/index.tsx +0 -23
  91. package/src/components/Business/CommonGuideWrapper/index.less +0 -121
  92. package/src/components/Business/CommonGuideWrapper/index.md +0 -39
  93. package/src/components/Business/CommonGuideWrapper/index.tsx +0 -94
  94. package/src/components/Business/DetailPageWrapper/index.less +0 -87
  95. package/src/components/Business/DetailPageWrapper/index.tsx +0 -327
  96. package/src/components/Business/DetailPageWrapper/utils.tsx +0 -166
  97. package/src/components/Business/HomePageWrapper/index.less +0 -33
  98. package/src/components/Business/HomePageWrapper/index.md +0 -45
  99. package/src/components/Business/HomePageWrapper/index.tsx +0 -162
  100. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +0 -823
  101. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +0 -206
  102. package/src/components/Business/JsonQueryTable/components/Formula.tsx +0 -205
  103. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +0 -127
  104. package/src/components/Business/JsonQueryTable/configButton/index.js +0 -20
  105. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +0 -25
  106. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +0 -30
  107. package/src/components/Business/JsonQueryTable/configTree/index.js +0 -82
  108. package/src/components/Business/JsonQueryTable/configTree/index.less +0 -44
  109. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +0 -57
  110. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +0 -124
  111. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +0 -29
  112. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +0 -22
  113. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +0 -116
  114. package/src/components/Business/JsonQueryTable/drawer/index.tsx +0 -12
  115. package/src/components/Business/JsonQueryTable/function.ts +0 -62
  116. package/src/components/Business/JsonQueryTable/index.less +0 -17
  117. package/src/components/Business/JsonQueryTable/index.md +0 -328
  118. package/src/components/Business/JsonQueryTable/index.tsx +0 -534
  119. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +0 -346
  120. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +0 -22
  121. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +0 -147
  122. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +0 -389
  123. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +0 -118
  124. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +0 -22
  125. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +0 -21
  126. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +0 -65
  127. package/src/components/Business/JsonQueryTable/static.ts +0 -450
  128. package/src/components/Business/SearchSelect/BusinessUtils.tsx +0 -2162
  129. package/src/components/Business/SearchSelect/common.ts +0 -134
  130. package/src/components/Business/SearchSelect/index.md +0 -1512
  131. package/src/components/Business/SearchSelect/index.tsx +0 -55
  132. package/src/components/Business/SearchSelect/utils.ts +0 -125
  133. package/src/components/Business/StateFlow/index.less +0 -131
  134. package/src/components/Business/StateFlow/index.md +0 -60
  135. package/src/components/Business/StateFlow/index.tsx +0 -30
  136. package/src/components/Business/TreeSearchSelect/index.md +0 -239
  137. package/src/components/Business/TreeSearchSelect/index.tsx +0 -33
  138. package/src/components/Business/TreeSearchSelect/utils.ts +0 -115
  139. package/src/components/Business/columnSettingTable/columnSetting.tsx +0 -817
  140. package/src/components/Business/columnSettingTable/index.less +0 -253
  141. package/src/components/Business/columnSettingTable/index.md +0 -373
  142. package/src/components/Business/columnSettingTable/index.tsx +0 -225
  143. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +0 -232
  144. package/src/components/Business/columnSettingTable/utils.tsx +0 -88
  145. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +0 -87
  146. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +0 -21
  147. package/src/components/Business/moreTreeTable/index.less +0 -100
  148. package/src/components/Business/moreTreeTable/index.md +0 -448
  149. package/src/components/Business/moreTreeTable/index.tsx +0 -387
  150. package/src/components/Business/moreTreeTable/utils.ts +0 -127
  151. package/src/components/Functional/AccessWrapper/index.tsx +0 -34
  152. package/src/components/Functional/AddSelect/helps.ts +0 -81
  153. package/src/components/Functional/AddSelect/index.less +0 -367
  154. package/src/components/Functional/AddSelect/index.md +0 -155
  155. package/src/components/Functional/AddSelect/index.tsx +0 -1064
  156. package/src/components/Functional/AuthButton/index.tsx +0 -15
  157. package/src/components/Functional/BillEntry/index.less +0 -371
  158. package/src/components/Functional/BillEntry/index.md +0 -39
  159. package/src/components/Functional/BillEntry/index.tsx +0 -771
  160. package/src/components/Functional/BsAntdSula/BsCascader/index.md +0 -62
  161. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +0 -178
  162. package/src/components/Functional/BsAntdSula/index.ts +0 -2
  163. package/src/components/Functional/DataImport/index.less +0 -63
  164. package/src/components/Functional/DataImport/index.md +0 -44
  165. package/src/components/Functional/DataImport/index.tsx +0 -782
  166. package/src/components/Functional/DataValidation/index.less +0 -63
  167. package/src/components/Functional/DataValidation/index.md +0 -52
  168. package/src/components/Functional/DataValidation/index.tsx +0 -788
  169. package/src/components/Functional/EllipsisTooltip/index.d.ts +0 -5
  170. package/src/components/Functional/EllipsisTooltip/index.js +0 -36
  171. package/src/components/Functional/EllipsisTooltip/index.md +0 -30
  172. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +0 -37
  173. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +0 -65
  174. package/src/components/Functional/QueryMutipleInput/index.less +0 -37
  175. package/src/components/Functional/QueryMutipleInput/index.md +0 -33
  176. package/src/components/Functional/QueryMutipleInput/index.tsx +0 -129
  177. package/src/components/Functional/SearchSelect/index.less +0 -121
  178. package/src/components/Functional/SearchSelect/index.md +0 -141
  179. package/src/components/Functional/SearchSelect/index.tsx +0 -1041
  180. package/src/components/Functional/SearchSelect/utils.ts +0 -3
  181. package/src/components/Functional/TreeSearchSelect/index.md +0 -47
  182. package/src/components/Functional/TreeSearchSelect/index.tsx +0 -224
  183. package/src/components/Solution/RuleComponent/Formula.tsx +0 -335
  184. package/src/components/Solution/RuleComponent/InnerSelect.tsx +0 -62
  185. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +0 -715
  186. package/src/components/Solution/RuleComponent/index.d.ts +0 -29
  187. package/src/components/Solution/RuleComponent/index.js +0 -1601
  188. package/src/components/Solution/RuleComponent/index.less +0 -247
  189. package/src/components/Solution/RuleComponent/renderSpecificAction.js +0 -99
  190. package/src/components/Solution/RuleComponent/ruleFiled.js +0 -2469
  191. package/src/components/Solution/RuleComponent/services.ts +0 -13
  192. package/src/components/Solution/RuleComponent/util.js +0 -143
  193. package/src/components/Solution/RuleSetter/RuleInstance.tsx +0 -6
  194. package/src/components/Solution/RuleSetter/baseRule.tsx +0 -394
  195. package/src/components/Solution/RuleSetter/function.ts +0 -437
  196. package/src/components/Solution/RuleSetter/index.less +0 -221
  197. package/src/components/Solution/RuleSetter/index.tsx +0 -208
  198. package/src/components/Solution/RuleSetter/service.js +0 -276
  199. package/src/index.ts +0 -41
  200. package/src/plugin/TableColumnSetting/index.less +0 -247
  201. package/src/plugin/TableColumnSetting/index.md +0 -50
  202. package/src/plugin/TableColumnSetting/index.tsx +0 -725
  203. package/src/plugin/TableColumnSetting/utils.ts +0 -19
  204. package/src/utils/CheckOneUser/index.md +0 -39
  205. package/src/utils/CheckOneUser/index.ts +0 -52
  206. package/src/utils/CustomLoginInfo.ts +0 -55
  207. package/src/utils/LocalstorageUtils.ts +0 -134
  208. package/src/utils/TableUtils.less +0 -52
  209. package/src/utils/TableUtils.tsx +0 -691
  210. package/src/utils/auth.ts +0 -39
  211. package/src/utils/businessUtils.ts +0 -434
  212. package/src/utils/checkUtils.ts +0 -39
  213. package/src/utils/constant.ts +0 -38
  214. package/src/utils/enumConfig.ts +0 -17
  215. package/src/utils/getFormMode.js +0 -12
  216. package/src/utils/index.ts +0 -19
  217. package/src/utils/request.ts +0 -53
  218. package/src/utils/requestUtils.ts +0 -193
  219. package/src/utils/serialize.js +0 -7
  220. package/src/utils/utils.ts +0 -245
  221. package/src/utils/xlsxUtil.tsx +0 -146
  222. package/tsconfig.json +0 -29
  223. package/typings.d.ts +0 -5
@@ -1,6 +1,6 @@
1
- import React, { Component } from "react";
1
+ import React, { Component } from 'react';
2
2
  import './index.less';
3
3
  export default class GuideWrapper extends Component {
4
- static Field: ({ children, ...props }: any) => React.JSX.Element;
4
+ static Field: ({ children, titleExtra, title, extra, bordered, ...props }: any) => React.JSX.Element;
5
5
  render(): React.JSX.Element;
6
6
  }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { CollapsePanelProps } from 'antd';
3
+ import './index.less';
4
+ export interface ExtendedPanelProps extends CollapsePanelProps {
5
+ extra?: React.ReactNode;
6
+ titleExtra?: React.ReactNode;
7
+ isActive?: boolean;
8
+ }
9
+ declare const ExtendedPanel: React.FC<ExtendedPanelProps>;
10
+ export default ExtendedPanel;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { CollapseProps } from 'antd';
3
+ import './index.less';
4
+ declare const _default: React.FC<CollapseProps> & {
5
+ Board: React.FC<import("./ExtendedPanel").ExtendedPanelProps>;
6
+ };
7
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import type { PropsWithChildren } from 'react';
3
+ import type { TooltipProps } from 'antd';
4
+ export interface copyableProps {
5
+ text: string;
6
+ onCopy: (event: any) => void;
7
+ icon: React.ReactNode;
8
+ tooltips: false | [React.ReactNode, React.ReactNode];
9
+ format: 'text/plain' | 'text/html';
10
+ }
11
+ export interface ellipsisProps {
12
+ rows: number;
13
+ expandable: boolean;
14
+ suffix?: string;
15
+ symbol?: React.ReactNode;
16
+ tooltip?: boolean | React.ReactNode | TooltipProps;
17
+ onExpand?: (event: React.MouseEvent<HTMLElement>) => void;
18
+ onEllipsis?: (ellipsis: boolean) => void;
19
+ }
20
+ interface IProps {
21
+ label: React.ReactNode | string;
22
+ children: React.ReactNode | string;
23
+ copyable?: boolean | copyableProps;
24
+ icon?: string | React.ReactNode;
25
+ ellipsis?: ellipsisProps;
26
+ }
27
+ export type SectionProps = PropsWithChildren<IProps>;
28
+ declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) => React.JSX.Element;
29
+ export default Section;
package/dist/index.d.ts CHANGED
@@ -29,3 +29,5 @@ export { default as EllipsisTooltip } from './components/Functional/EllipsisTool
29
29
  export * from './components/Functional/BsAntdSula/index';
30
30
  export { default as RuleComponent } from './components/Solution/RuleComponent';
31
31
  export { default as RuleSetter } from './components/Solution/RuleSetter';
32
+ export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
33
+ export { default as Section } from './components/Common/Section';