@bit-sun/business-component 1.2.4-alpha.1 → 1.2.4

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 (167) hide show
  1. package/.fatherrc.ts +0 -1
  2. package/.umirc.ts +16 -31
  3. package/dist/components/Business/SearchSelect/BusinessUtils.d.ts +1 -1
  4. package/dist/components/Business/SearchSelect/common.d.ts +1 -5
  5. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  6. package/dist/components/Business/SearchSelect/utils.d.ts +1 -2
  7. package/dist/components/Functional/SearchSelect/index.d.ts +1 -2
  8. package/dist/index.d.ts +0 -15
  9. package/dist/index.esm.js +4456 -19407
  10. package/dist/index.js +4443 -19411
  11. package/package.json +5 -26
  12. package/src/components/Business/CommodityEntry/index.md +3 -4
  13. package/src/components/Business/CommodityEntry/index.tsx +2 -7
  14. package/src/components/Business/SearchSelect/BusinessUtils.ts +14 -107
  15. package/src/components/Business/SearchSelect/common.ts +1 -20
  16. package/src/components/Business/SearchSelect/index.md +30 -60
  17. package/src/components/Business/SearchSelect/index.tsx +12 -21
  18. package/src/components/Business/SearchSelect/utils.ts +4 -30
  19. package/src/components/Functional/DataImport/index.tsx +2 -1
  20. package/src/components/Functional/DataValidation/index.tsx +1 -1
  21. package/src/components/Functional/SearchSelect/index.tsx +121 -218
  22. package/src/index.ts +6 -15
  23. package/typings.d.ts +0 -3
  24. package/dist/components/Business/AddSelectBusiness/index.d.ts +0 -1
  25. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +0 -4
  26. package/dist/components/Business/BsLayouts/Components/AllFunc/index.d.ts +0 -4
  27. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +0 -4
  28. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +0 -17
  29. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +0 -30
  30. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +0 -3
  31. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +0 -2
  32. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +0 -4
  33. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +0 -4
  34. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +0 -2
  35. package/dist/components/Business/BsLayouts/Components/RightContent/index.d.ts +0 -8
  36. package/dist/components/Business/BsLayouts/Components/SearchFunc/index.d.ts +0 -8
  37. package/dist/components/Business/BsLayouts/index.d.ts +0 -18
  38. package/dist/components/Business/BsLayouts/service.d.ts +0 -1
  39. package/dist/components/Business/BsLayouts/utils.d.ts +0 -13
  40. package/dist/components/Business/BsSulaQueryTable/index.d.ts +0 -2
  41. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +0 -58
  42. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +0 -98
  43. package/dist/components/Business/CommonAlert/index.d.ts +0 -3
  44. package/dist/components/Business/CommonGuideWrapper/index.d.ts +0 -6
  45. package/dist/components/Business/DetailPageWrapper/index.d.ts +0 -9
  46. package/dist/components/Business/DetailPageWrapper/utils.d.ts +0 -8
  47. package/dist/components/Business/HomePageWrapper/index.d.ts +0 -3
  48. package/dist/components/Business/StateFlow/index.d.ts +0 -3
  49. package/dist/components/Business/TreeSearchSelect/index.d.ts +0 -3
  50. package/dist/components/Business/TreeSearchSelect/utils.d.ts +0 -2
  51. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +0 -54
  52. package/dist/components/Business/columnSettingTable/index.d.ts +0 -16
  53. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +0 -17
  54. package/dist/components/Business/columnSettingTable/utils.d.ts +0 -8
  55. package/dist/components/Functional/AddSelect/index.d.ts +0 -3
  56. package/dist/components/Functional/BillEntry/index.d.ts +0 -4
  57. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +0 -12
  58. package/dist/components/Functional/TreeSearchSelect/index.d.ts +0 -2
  59. package/dist/utils/enumConfig.d.ts +0 -10
  60. package/dist/utils/requestUtils.d.ts +0 -1
  61. package/dist/utils/utils.d.ts +0 -3
  62. package/lib/assets/arrow_top.png +0 -0
  63. package/lib/assets/drag.svg +0 -17
  64. package/lib/assets/exportFail.svg +0 -38
  65. package/lib/assets/exportProcessing.svg +0 -29
  66. package/lib/assets/exportSuccess.svg +0 -35
  67. package/lib/assets/exportlogo.png +0 -0
  68. package/lib/assets/label_icon_bottom.svg +0 -26
  69. package/lib/assets/upExport.svg +0 -23
  70. package/src/assets/32.svg +0 -28
  71. package/src/assets/addIcon.svg +0 -18
  72. package/src/assets/allfunc.svg +0 -28
  73. package/src/assets/arrowRight.svg +0 -25
  74. package/src/assets/arrow_top.png +0 -0
  75. package/src/assets/btn-delete.svg +0 -30
  76. package/src/assets/btn-edit.svg +0 -20
  77. package/src/assets/btn-more.svg +0 -18
  78. package/src/assets/btn-submit.svg +0 -20
  79. package/src/assets/caidan.svg +0 -12
  80. package/src/assets/close.svg +0 -26
  81. package/src/assets/closeicon.png +0 -0
  82. package/src/assets/drag.svg +0 -17
  83. package/src/assets/exportFail.svg +0 -38
  84. package/src/assets/exportProcessing.svg +0 -29
  85. package/src/assets/exportSuccess.svg +0 -35
  86. package/src/assets/exportlogo.png +0 -0
  87. package/src/assets/fixed-left-active.svg +0 -12
  88. package/src/assets/fixed-left.svg +0 -16
  89. package/src/assets/fixed-right-active.svg +0 -12
  90. package/src/assets/fixed-right.svg +0 -16
  91. package/src/assets/guanbi.svg +0 -16
  92. package/src/assets/icon-quanping.svg +0 -16
  93. package/src/assets/icon-shezhi.svg +0 -18
  94. package/src/assets/label_icon_bottom.svg +0 -26
  95. package/src/assets/list-no-img.svg +0 -22
  96. package/src/assets/morentouxiang-32.svg +0 -24
  97. package/src/assets/right.png +0 -0
  98. package/src/assets/scanning.svg +0 -25
  99. package/src/assets/upExport.svg +0 -23
  100. package/src/assets/xinglan-icon-out.png +0 -0
  101. package/src/components/Business/AddSelectBusiness/index.md +0 -41
  102. package/src/components/Business/AddSelectBusiness/index.tsx +0 -290
  103. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +0 -112
  104. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +0 -153
  105. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +0 -70
  106. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +0 -90
  107. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +0 -38
  108. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +0 -243
  109. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +0 -385
  110. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +0 -286
  111. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +0 -75
  112. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +0 -171
  113. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +0 -65
  114. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +0 -154
  115. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +0 -73
  116. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +0 -158
  117. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +0 -85
  118. package/src/components/Business/BsLayouts/Components/RightContent/home.less +0 -218
  119. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +0 -156
  120. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +0 -161
  121. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +0 -76
  122. package/src/components/Business/BsLayouts/index.less +0 -80
  123. package/src/components/Business/BsLayouts/index.tsx +0 -1465
  124. package/src/components/Business/BsLayouts/service.ts +0 -11
  125. package/src/components/Business/BsLayouts/utils.tsx +0 -211
  126. package/src/components/Business/BsSulaQueryTable/index.less +0 -220
  127. package/src/components/Business/BsSulaQueryTable/index.tsx +0 -505
  128. package/src/components/Business/BsSulaQueryTable/setting.tsx +0 -799
  129. package/src/components/Business/BsSulaQueryTable/utils.less +0 -65
  130. package/src/components/Business/BsSulaQueryTable/utils.tsx +0 -688
  131. package/src/components/Business/CommonAlert/index.less +0 -0
  132. package/src/components/Business/CommonAlert/index.tsx +0 -23
  133. package/src/components/Business/CommonGuideWrapper/index.less +0 -112
  134. package/src/components/Business/CommonGuideWrapper/index.md +0 -39
  135. package/src/components/Business/CommonGuideWrapper/index.tsx +0 -84
  136. package/src/components/Business/DetailPageWrapper/index.less +0 -80
  137. package/src/components/Business/DetailPageWrapper/index.tsx +0 -335
  138. package/src/components/Business/DetailPageWrapper/utils.tsx +0 -101
  139. package/src/components/Business/HomePageWrapper/index.less +0 -33
  140. package/src/components/Business/HomePageWrapper/index.md +0 -45
  141. package/src/components/Business/HomePageWrapper/index.tsx +0 -162
  142. package/src/components/Business/StateFlow/index.less +0 -131
  143. package/src/components/Business/StateFlow/index.md +0 -60
  144. package/src/components/Business/StateFlow/index.tsx +0 -30
  145. package/src/components/Business/TreeSearchSelect/index.md +0 -126
  146. package/src/components/Business/TreeSearchSelect/index.tsx +0 -34
  147. package/src/components/Business/TreeSearchSelect/utils.ts +0 -60
  148. package/src/components/Business/columnSettingTable/columnSetting.tsx +0 -764
  149. package/src/components/Business/columnSettingTable/index.less +0 -247
  150. package/src/components/Business/columnSettingTable/index.md +0 -358
  151. package/src/components/Business/columnSettingTable/index.tsx +0 -233
  152. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +0 -241
  153. package/src/components/Business/columnSettingTable/utils.tsx +0 -69
  154. package/src/components/Functional/AddSelect/index.less +0 -367
  155. package/src/components/Functional/AddSelect/index.md +0 -122
  156. package/src/components/Functional/AddSelect/index.tsx +0 -962
  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 -613
  160. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +0 -37
  161. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +0 -59
  162. package/src/components/Functional/TreeSearchSelect/index.md +0 -47
  163. package/src/components/Functional/TreeSearchSelect/index.tsx +0 -149
  164. package/src/styles/bsDefault.less +0 -1907
  165. package/src/utils/enumConfig.ts +0 -10
  166. package/src/utils/requestUtils.ts +0 -33
  167. package/src/utils/utils.ts +0 -52
package/src/index.ts CHANGED
@@ -5,27 +5,18 @@
5
5
  * @LastEditTime: 2022-01-14 16:10:27
6
6
  * @LastEditors: rodchen
7
7
  */
8
+
9
+ import axios from 'axios';
8
10
  // import 'antd/dist/antd.css';
9
- import './utils/requestUtils';
11
+
12
+ const resposne = JSON.parse(localStorage.getItem('userInfo') || '{}');
13
+
14
+ axios.defaults.headers.common['sso-sessionid'] = resposne?.sessionId || '';
10
15
 
11
16
  export { default as DataValidation } from './components/Functional/DataValidation';
12
17
  export { default as DataImport } from './components/Functional/DataImport';
13
18
  export { default as QueryMutipleInput } from './components/Functional/QueryMutipleInput';
14
19
  export { default as SearchSelect } from './components/Functional/SearchSelect';
15
- export { default as AddSelect } from './components/Functional/AddSelect';
16
- export { default as BillEntry } from './components/Functional/BillEntry';
17
20
  export { default as BusinessSearchSelect } from './components/Business/SearchSelect';
18
- export * from './components/Business/AddSelectBusiness';
19
21
  export { default as CommodityEntry } from './components/Business/CommodityEntry';
20
22
  export { default as CheckOneUser } from './utils/CheckOneUser';
21
- export { default as TreeSearchSelect } from './components/Functional/TreeSearchSelect';
22
- export { default as BusinessTreeSearchSelect } from './components/Business/TreeSearchSelect';
23
- export { default as StateFlow } from './components/Business/StateFlow';
24
- export { default as GuideWrapper } from './components/Business/CommonGuideWrapper';
25
- export { default as ExportIcon } from './components/Functional/ExportFunctions/ExportIcon';
26
- export { default as SulaColumnSettingTable} from './components/Business/columnSettingTable/sulaSettingTable';
27
- export { default as ColumnSettingTable} from './components/Business/columnSettingTable';
28
- export { default as DetailPageWrapper } from './components/Business/DetailPageWrapper';
29
- export { default as HomePageWrapper } from './components/Business/HomePageWrapper';
30
- export { default as BsSulaQueryTable } from './components/Business/BsSulaQueryTable';
31
- export { default as BsLayout } from './components/Business/BsLayouts';
package/typings.d.ts CHANGED
@@ -1,5 +1,2 @@
1
1
  declare module '*.css';
2
2
  declare module '*.less';
3
- declare module '*.png';
4
- declare module '*.svg';
5
- declare module 'bssula';
@@ -1 +0,0 @@
1
- export declare const AddSkuSelect: (parProps: any) => JSX.Element;
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- export declare type SiderTheme = 'light' | 'dark';
3
- declare const DrawContent: ({ onClose, itemPath }: any) => JSX.Element;
4
- export default DrawContent;
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- export declare type SiderTheme = 'light' | 'dark';
3
- declare const AllFunc: any;
4
- export default AllFunc;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import './index.less';
3
- declare const MenuSetting: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
4
- export default MenuSetting;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare class LeftTree extends React.Component<any> {
4
- state: {
5
- treeData: never[];
6
- expandedKeys: never[];
7
- searchValue: string;
8
- autoExpandParent: boolean;
9
- };
10
- componentDidMount(): void;
11
- onExpand: (expandedKeys: any) => void;
12
- onChange: (e: any) => void;
13
- getPathList: (originData: any) => Array<any>;
14
- handleAdd2Menu: (path: string) => void;
15
- render(): JSX.Element;
16
- }
17
- export default LeftTree;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import type { FormInstance } from 'antd/es/form';
3
- import './index.less';
4
- declare class rightTree extends React.Component<any> {
5
- formRef: React.RefObject<FormInstance<any>>;
6
- constructor(props: any);
7
- state: {
8
- expandedKeys: string[];
9
- checkedKeys: never[];
10
- modalInfo: {
11
- modalVisible: boolean;
12
- type: string;
13
- title: string;
14
- callBack: null;
15
- };
16
- };
17
- onDragEnter: (info: any) => void;
18
- onDrop: (info: any) => void;
19
- handleSubmit: () => void;
20
- handleModalClose: () => void;
21
- handleEditTreeNode: (e: any, item: any) => void;
22
- deleteNode: (oldTreeData: any[], path: string) => void;
23
- handleDeleteTreeNode: (e: any, item: any) => void;
24
- handleBatchDelete: () => void;
25
- handleAddTreeNode: (e: any, item: any) => void;
26
- onCheck: (checkedKeysValue: React.Key[]) => void;
27
- getChildMenu: (item: any) => JSX.Element;
28
- render(): JSX.Element;
29
- }
30
- export default rightTree;
@@ -1,3 +0,0 @@
1
- import './drawContent.less';
2
- declare const DrawContent: ({ onClose, originRoutes, itemPath }: any) => JSX.Element;
3
- export default DrawContent;
@@ -1,2 +0,0 @@
1
- declare const CustomerMenuHeader: ({ collapsed, handleClose, originRoutes, itemPath }: any) => JSX.Element;
2
- export default CustomerMenuHeader;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import './index.less';
3
- declare const CustomerMenu: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
4
- export default CustomerMenu;
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- export declare const judgeIsEmpty: (value: any) => boolean;
3
- declare const GlobalHeaderCom: (props: any) => JSX.Element;
4
- export default GlobalHeaderCom;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => JSX.Element;
2
- export default _default;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import './home.less';
3
- export declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
5
- menu?: boolean;
6
- };
7
- declare const GlobalHeaderRight: React.FC<GlobalHeaderRightProps>;
8
- export default GlobalHeaderRight;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
5
- menu?: boolean;
6
- };
7
- declare const AllFunc: React.FC<GlobalHeaderRightProps>;
8
- export default AllFunc;
@@ -1,18 +0,0 @@
1
- import type { MenuDataItem, BasicLayoutProps as ProLayoutProps, Settings } from '@ant-design/pro-layout';
2
- import React from 'react';
3
- import './index.less';
4
- export declare const RouterContext: React.Context<{}>;
5
- export declare type BasicLayoutProps = {
6
- breadcrumbNameMap: Record<string, MenuDataItem>;
7
- route: ProLayoutProps['route'] & {
8
- authority: string[];
9
- };
10
- settings: Settings;
11
- } & ProLayoutProps;
12
- export declare type BasicLayoutContext = {
13
- [K in 'location']: BasicLayoutProps[K];
14
- } & {
15
- breadcrumbNameMap: Record<string, MenuDataItem>;
16
- };
17
- declare const _default: (props: any) => JSX.Element;
18
- export default _default;
@@ -1 +0,0 @@
1
- export declare function outLogin(params: any): Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,13 +0,0 @@
1
- /**
2
- * Public API for matching a URL pathname to a path.
3
- */
4
- export declare const matchPath: (pathname: any, options: {} | undefined, pathToRegexp: any) => never;
5
- export declare const searchMenuData: (router: any, name?: any, callBack: any) => void;
6
- export declare const setMenuTreeData: (routesData: Array<any>) => void;
7
- export declare function handleUserID(): any;
8
- export declare function handleAccountID(): any;
9
- export declare function handleUserName(): any;
10
- export declare function handleUserPhone(): any;
11
- export declare const setLoginOutPath: () => void;
12
- export declare const getBreadcrumbNameMap: (menuData: any) => {};
13
- export declare const ergodicMenuRoutes: (routes: any) => any[];
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => JSX.Element;
2
- export default _default;
@@ -1,58 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare class SortableTable extends React.Component {
4
- state: {
5
- dataSource: never[];
6
- columns: never[];
7
- sortDataSource: never[];
8
- setVisible: boolean;
9
- searchDataSource: boolean;
10
- onSearchSort: boolean;
11
- isDefaultValue: boolean;
12
- defaultValue: never[];
13
- };
14
- patchUserColumnConfig: (config: any) => void;
15
- getConfigFromlocalstorage: () => any;
16
- patchConfigToLocalstorage: (configvalue: any) => void;
17
- setInitValue: (isClick?: boolean) => void;
18
- componentDidMount(): void;
19
- columns: ({
20
- title: string;
21
- dataIndex: string;
22
- className: string;
23
- width: number;
24
- render?: undefined;
25
- } | {
26
- title: string;
27
- dataIndex: string;
28
- render: (text: any, record: any) => JSX.Element;
29
- className?: undefined;
30
- width?: undefined;
31
- } | {
32
- title: string;
33
- dataIndex: string;
34
- className: string;
35
- render: () => JSX.Element;
36
- width?: undefined;
37
- })[];
38
- showModal: () => void;
39
- handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
40
- handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
41
- handleTableHeadHidden: (title: string) => void;
42
- onSortEnd: ({ oldIndex, newIndex }: {
43
- oldIndex: any;
44
- newIndex: any;
45
- }) => void;
46
- DraggableContainer: (props: any) => JSX.Element;
47
- DraggableBodyRow: ({ className, style, ...restProps }: {
48
- [x: string]: any;
49
- className: any;
50
- style: any;
51
- }) => JSX.Element;
52
- onChange: (e: CheckboxChangeEvent, title: any) => void;
53
- handleReset: () => void;
54
- onSearch: (e: any) => void;
55
- onSearchSort: (e: any) => void;
56
- render(): JSX.Element;
57
- }
58
- export default SortableTable;
@@ -1,98 +0,0 @@
1
- import moment from 'moment';
2
- import './utils.less';
3
- export declare const handleStatusBadge: (text: any, color: any) => JSX.Element;
4
- export declare const HandleTotalCount: (totalParams: any) => JSX.Element;
5
- export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) => {
6
- type: string;
7
- width: number;
8
- props: {
9
- maskClosable: boolean;
10
- };
11
- title: string;
12
- mode: string;
13
- initialValues: (ctx: any) => any;
14
- fields: {
15
- name: any;
16
- label: string;
17
- field: {
18
- type: string;
19
- props: {
20
- autoSize: boolean;
21
- placeholder: string;
22
- disabledDate: (currentDate: any) => boolean;
23
- style: {
24
- width: string;
25
- };
26
- };
27
- };
28
- initialValue: moment.Moment;
29
- rules: {
30
- required: boolean;
31
- message: string;
32
- }[];
33
- }[];
34
- submitButtonProps: {
35
- children: string;
36
- };
37
- backButtonProps: {
38
- children: string;
39
- };
40
- submit: any;
41
- };
42
- export declare const renderZeroInSummary: (value: any) => number | "- -";
43
- export declare const calculateValidPeriod: (start: any, end: any) => string;
44
- export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
45
- export declare const handleTextLineFeed: (text: string | undefined, width?: number) => JSX.Element;
46
- export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
47
- export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
48
- export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
49
- declare type tableColumnsImageType = {
50
- width?: number | string;
51
- height?: number | string;
52
- [key: string]: any;
53
- };
54
- export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
55
- declare type UserColumnsType = {
56
- name: string;
57
- department?: string;
58
- position?: string;
59
- company?: string;
60
- avatar?: string;
61
- };
62
- export declare const userColumns: (props: UserColumnsType) => JSX.Element;
63
- export declare const userInfoCard: (props: any) => JSX.Element;
64
- export declare function handleCommonTimeRenderHours(text: any, format?: any): any;
65
- export declare function handleCommonTimeRender(text: any, format?: any): any;
66
- interface ColumnsEditInterfave {
67
- text?: string;
68
- record?: any;
69
- type?: string;
70
- reqName: string;
71
- successMessage?: string;
72
- urlPathId?: boolean;
73
- disabled: boolean;
74
- requestProps: {
75
- url: string;
76
- converter?: Function;
77
- method?: string;
78
- };
79
- [key: string]: any;
80
- }
81
- export declare const ColumnsEdit: (props: ColumnsEditInterfave) => JSX.Element;
82
- export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
83
- export declare const textIcon: (type: string | number, text?: string) => JSX.Element | undefined;
84
- export declare const renderFixed2: (text: any) => any;
85
- export declare const getItemDefaultWidth: (item: any) => number;
86
- /**
87
- * 查询参数处理
88
- * @param params 要应用于查询的参数
89
- * @returns 返回处理后的查询参数
90
- */
91
- export declare function queryParams(params: any, flag?: any): any;
92
- /**
93
- * 根据用户权限检验对应按钮是够显示 !!!!现在先去掉
94
- * @param code 对应权限值
95
- * @returns boolean
96
- */
97
- export declare const authFn: (code?: any) => boolean;
98
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Component } from "react";
2
- import './index.less';
3
- export default class GuideWrapper extends Component {
4
- static Field: ({ children, ...props }: any) => JSX.Element;
5
- render(): JSX.Element;
6
- }
@@ -1,9 +0,0 @@
1
- import './index.less';
2
- export declare const iconMap: {
3
- edit: JSX.Element;
4
- delete: JSX.Element;
5
- submit: JSX.Element;
6
- more: JSX.Element;
7
- };
8
- declare const _default: (props: any) => JSX.Element;
9
- export default _default;
@@ -1,8 +0,0 @@
1
- interface actionItem {
2
- [propName: string]: any;
3
- }
4
- export declare const doDetailPageAction: (config: actionItem) => void;
5
- export declare const getBreadcrumbNameMap: (menuData: any) => {};
6
- export declare const judgeIsEmpty: (value: any) => boolean;
7
- export declare const getMainCrumbNameMap: (menuData: any) => {};
8
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const handleDefaultProps: (type: string) => {};
2
- export { handleDefaultProps };
@@ -1,54 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface SortTableProps {
4
- [propName: string]: any;
5
- }
6
- declare class SortableTable extends React.Component<SortTableProps> {
7
- state: {
8
- dataSource: never[];
9
- columns: never[];
10
- selectedRowKeys: never[];
11
- sortDataSource: never[];
12
- setVisible: boolean;
13
- searchDataSource: boolean;
14
- onSearchSort: boolean;
15
- };
16
- patchUserColumnConfig: (config: any) => void;
17
- patchConfigToLocalstorage: (configvalue: any, tableCode: string) => void;
18
- setInitValue: (datasource: any[]) => void;
19
- componentWillReceiveProps(nextProps: any): void;
20
- componentDidMount(): void;
21
- columns: ({
22
- title: string;
23
- dataIndex: string;
24
- className: string;
25
- width: number;
26
- render?: undefined;
27
- } | {
28
- title: string;
29
- dataIndex: string;
30
- render: (text: any, record: any) => JSX.Element;
31
- className?: undefined;
32
- width?: undefined;
33
- } | {
34
- title: string;
35
- dataIndex: string;
36
- className: string;
37
- render: () => JSX.Element;
38
- width?: undefined;
39
- })[];
40
- showModal: () => void;
41
- handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
42
- handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
43
- handleTableHeadHidden: (title: string) => void;
44
- onSortEnd: ({ oldIndex, newIndex }: any) => void;
45
- DraggableContainer: (props: any) => JSX.Element;
46
- DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
47
- onChange: (e: any, title: any) => void;
48
- handleReset: () => void;
49
- onSearch: (e: any) => void;
50
- onSearchSort: (e: any) => void;
51
- getConfigFromlocalstorage: () => any;
52
- render(): JSX.Element;
53
- }
54
- export default SortableTable;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- export default class ColumnSettingTable extends React.Component {
3
- state: any;
4
- constructor(props: any);
5
- componentDidMount(): void;
6
- componentWillReceiveProps(nextProps: any): void;
7
- setInitialShowColumn: (columns: any[]) => void;
8
- setShowColumns: (newColumns: Array<any>) => void;
9
- getConfigFromlocalstorage: () => any;
10
- getTableSummaryInfo: () => () => any;
11
- handledynamicColumns: (col: any[]) => any[];
12
- handleResize: (index: any) => (_: any, { size }: any) => void;
13
- ResizeableTitle: (props: any) => JSX.Element;
14
- getTableScrollXWidth: (cols: any[]) => any;
15
- render(): JSX.Element;
16
- }
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- export default class ColumnSettingSulaTable extends React.Component {
3
- sulaTableRef: React.RefObject<unknown>;
4
- state: any;
5
- constructor(props: any);
6
- componentDidMount(): void;
7
- componentWillReceiveProps(nextProps: any): void;
8
- setInitialShowColumn: (columns: any[]) => void;
9
- setShowColumns: (newColumns: Array<any>) => void;
10
- getConfigFromlocalstorage: () => any;
11
- getTableSummaryInfo: () => () => any;
12
- handledynamicColumns: (col: any[]) => any[];
13
- handleResize: (index: any) => (_: any, { size }: any) => void;
14
- ResizeableTitle: (props: any) => JSX.Element;
15
- getTableScrollXWidth: (cols: any[]) => any;
16
- render(): JSX.Element;
17
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * 非空数组
3
- * @param arr 要判断的数据
4
- * @returns boolean
5
- */
6
- export declare const noEmptyArray: (arr: any[]) => boolean;
7
- export declare const getItemDefaultWidth: (item: any) => number;
8
- export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const AddSelect: (props: any) => JSX.Element;
3
- export default AddSelect;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const BillEntry: React.FC;
4
- export default BillEntry;
@@ -1,12 +0,0 @@
1
- interface exportIconType {
2
- /** others选填,使用axios发请求,*/
3
- request: {
4
- url: string;
5
- params: Function | Object;
6
- others?: Object;
7
- };
8
- /** BsSulaQueryTable的tableRef*/
9
- tableRef: any;
10
- }
11
- declare const ExportIcon: ({ request, tableRef }: exportIconType) => JSX.Element;
12
- export default ExportIcon;
@@ -1,2 +0,0 @@
1
- declare const TreeSearchSelect: (props: any) => JSX.Element;
2
- export default TreeSearchSelect;
@@ -1,10 +0,0 @@
1
- declare const _default: {
2
- BROWSER_CACHE: {
3
- COLUMN_CONDITION: string;
4
- MAIN_AUTH_CODES: string;
5
- LIMIT_MENU_DATA: string;
6
- USER_INFO: string;
7
- DICT_CODES: string;
8
- };
9
- };
10
- export default _default;
@@ -1 +0,0 @@
1
- export declare function handleRequestAuthHeader(config?: any): void;
@@ -1,3 +0,0 @@
1
- export declare function downloadExcel(data: any, fileName?: any, isResUrl?: boolean): void;
2
- export declare const formatter: (data: any, parentAuthority: any, parentName: any) => any;
3
- export declare const memoizeOneFormatter: import("memoize-one").MemoizedFn<(data: any, parentAuthority: any, parentName: any) => any>;
Binary file
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" class="design-iconfont">
2
- <defs>
3
- <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="l1lf23lgga">
4
- <stop stop-color="#10295B" offset="0%"/>
5
- <stop stop-color="#0F2A61" offset="100%"/>
6
- </linearGradient>
7
- <path id="okxu11mz5b" d="M0 0H24V24H0z"/>
8
- </defs>
9
- <g fill="none" fill-rule="evenodd">
10
- <mask id="7u8dk2lilc" fill="#fff">
11
- <use xlink:href="#okxu11mz5b"/>
12
- </mask>
13
- <g mask="url(#7u8dk2lilc)" fill="#999" fill-rule="nonzero">
14
- <path d="M1.31655092,7 C2.03935948,7 2.6253116,7.58595212 2.6253116,8.30876068 C2.6253116,9.03156925 2.03935948,9.61752137 1.31655092,9.61752137 C0.593742351,9.61752137 0.00779023438,9.03156925 0.00779023438,8.30876068 C0.00779023438,7.58595212 0.593742351,7 1.31655092,7 Z M6.99034011,7 C7.71314867,7 8.29910079,7.58595212 8.29910079,8.30876068 C8.29910079,9.03156925 7.71314867,9.61752137 6.99034011,9.61752137 C6.26753154,9.61752137 5.68157942,9.03156925 5.68157942,8.30876068 C5.68157942,7.58595212 6.26753154,7 6.99034011,7 Z M12.6641293,7 C13.3869378,7 13.97289,7.58595212 13.97289,8.30876068 C13.97289,9.03156925 13.3869378,9.61752137 12.6641293,9.61752137 C11.9413207,9.61752137 11.3553686,9.03156925 11.3553686,8.30876068 C11.3553686,7.58595212 11.9413207,7 12.6641293,7 Z M1.31655092,-5.32907052e-15 C2.03935948,-5.32907052e-15 2.6253116,0.585952117 2.6253116,1.30876068 C2.6253116,2.03156925 2.03935948,2.61752137 1.31655092,2.61752137 C0.593742351,2.61752137 0.00779023438,2.03156925 0.00779023438,1.30876068 C0.00779023438,0.585952117 0.593742351,-5.32907052e-15 1.31655092,-5.32907052e-15 Z M6.99034011,-5.32907052e-15 C7.71314867,-5.32907052e-15 8.29910079,0.585952117 8.29910079,1.30876068 C8.29910079,2.03156925 7.71314867,2.61752137 6.99034011,2.61752137 C6.26753154,2.61752137 5.68157942,2.03156925 5.68157942,1.30876068 C5.68157942,0.585952117 6.26753154,-5.32907052e-15 6.99034011,-5.32907052e-15 Z M12.6641293,-5.32907052e-15 C13.3869378,-5.32907052e-15 13.97289,0.585952117 13.97289,1.30876068 C13.97289,2.03156925 13.3869378,2.61752137 12.6641293,2.61752137 C11.9413207,2.61752137 11.3553686,2.03156925 11.3553686,1.30876068 C11.3553686,0.585952117 11.9413207,-5.32907052e-15 12.6641293,-5.32907052e-15 Z" transform="translate(5 7)"/>
15
- </g>
16
- </g>
17
- </svg>
@@ -1,38 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="40px" height="42px" viewBox="0 0 40 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 18</title>
4
- <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="编组-13" transform="translate(-14.000000, -138.000000)">
6
- <g id="编组-21备份-21" transform="translate(0.000000, 126.000000)">
7
- <g id="编组-18" transform="translate(14.000000, 12.000000)">
8
- <rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="39" height="41"></rect>
9
- <g id="编组-10" transform="translate(6.000000, 4.000000)">
10
- <g id="编组-6">
11
- <path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
12
- <g id="编组-2" transform="translate(0.000000, 9.000000)">
13
- <path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#005CFF" fill="#FFFFFF"></path>
14
- <g id="X" transform="translate(3.986000, 4.100000)" fill="#005CFF" fill-rule="nonzero">
15
- <polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
16
- </g>
17
- </g>
18
- <path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#005CFF"></path>
19
- <path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#005CFF"></path>
20
- <path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#005CFF"></path>
21
- <path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#005CFF"></path>
22
- <path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#005CFF"></path>
23
- <path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#005CFF"></path>
24
- <polygon id="路径-19" fill="#005CFF" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
25
- </g>
26
- <g id="编组-8" transform="translate(17.000000, 19.000000)" stroke="#FFFFFF">
27
- <circle id="椭圆形" fill="#FE0300" cx="8" cy="8" r="7.5"></circle>
28
- <g id="编组-9" transform="translate(5.000000, 5.000000)" stroke-linecap="round" stroke-width="1.13795117">
29
- <polyline id="路径-20" transform="translate(3.181981, 3.181981) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
30
- <polyline id="路径-20备份" transform="translate(3.181981, 3.181981) scale(-1, 1) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
31
- </g>
32
- </g>
33
- </g>
34
- </g>
35
- </g>
36
- </g>
37
- </g>
38
- </svg>