@bit-sun/business-component 2.4.18 → 3.0.0-alpha.0

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 (54) hide show
  1. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +3 -0
  2. package/dist/components/Business/BsLayouts/Components/ChooseStore/services.d.ts +1 -0
  3. package/dist/components/Business/BsLayouts/Components/RightContent/i18n.d.ts +9 -0
  4. package/dist/components/Business/BsLayouts/service.d.ts +1 -1
  5. package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -0
  6. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
  7. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
  8. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +1 -0
  9. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -1
  10. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  11. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -0
  12. package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
  13. package/dist/index.esm.js +1563 -1070
  14. package/dist/index.js +1548 -1053
  15. package/dist/utils/request.d.ts +2 -0
  16. package/dist/utils/utils.d.ts +6 -0
  17. package/package.json +6 -4
  18. package/src/assets/arrow_top.svg +18 -0
  19. package/src/components/Business/AddSelectBusiness/index.tsx +38 -19
  20. package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
  21. package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -0
  22. package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -0
  23. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +7 -1
  24. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +3 -3
  25. package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +9 -0
  26. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +19 -2
  27. package/src/components/Business/BsLayouts/index.tsx +44 -34
  28. package/src/components/Business/BsLayouts/service.ts +2 -2
  29. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -9
  30. package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -0
  31. package/src/components/Business/BsSulaQueryTable/index.tsx +346 -175
  32. package/src/components/Business/BsSulaQueryTable/setting.tsx +125 -87
  33. package/src/components/Business/BsSulaQueryTable/utils.tsx +57 -34
  34. package/src/components/Business/CommonGuideWrapper/index.tsx +11 -2
  35. package/src/components/Business/JsonQueryTable/index.tsx +10 -12
  36. package/src/components/Business/SearchSelect/utils.ts +3 -3
  37. package/src/components/Business/columnSettingTable/columnSetting.tsx +10 -8
  38. package/src/components/Business/columnSettingTable/utils.tsx +29 -29
  39. package/src/components/Functional/AddSelect/helps.ts +4 -3
  40. package/src/components/Functional/AddSelect/index.tsx +79 -33
  41. package/src/components/Functional/BillEntry/index.tsx +3 -3
  42. package/src/components/Functional/DataImport/index.tsx +3 -3
  43. package/src/components/Functional/DataValidation/index.tsx +3 -3
  44. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +10 -5
  45. package/src/components/Functional/QueryMutipleInput/index.tsx +2 -1
  46. package/src/components/Functional/SearchSelect/index.less +6 -0
  47. package/src/components/Functional/SearchSelect/index.tsx +152 -45
  48. package/src/components/Functional/TreeSearchSelect/index.tsx +24 -22
  49. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +641 -0
  50. package/src/components/Solution/RuleComponent/index.js +7 -652
  51. package/src/components/Solution/RuleComponent/services.ts +2 -2
  52. package/src/plugin/TableColumnSetting/index.tsx +2 -2
  53. package/src/utils/request.ts +53 -0
  54. package/src/utils/utils.ts +37 -21
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ChooseStore: (props: any) => React.JSX.Element;
3
+ export default ChooseStore;
@@ -0,0 +1 @@
1
+ export declare function getStoreByName(params: any): Promise<any>;
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ 'zh-CN': {
3
+ lang: string;
4
+ };
5
+ 'en-US': {
6
+ lang: string;
7
+ };
8
+ };
9
+ export default _default;
@@ -1 +1 @@
1
- export declare function outLogin(params: any): Promise<import("axios").AxiosResponse<any, any>>;
1
+ export declare function outLogin(params: any): Promise<any>;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
+ import './bssulaquerytable.less';
2
3
  declare const _default: (props: any) => React.JSX.Element;
3
4
  export default _default;
@@ -37,7 +37,7 @@ declare class SortableTable extends React.Component {
37
37
  width?: undefined;
38
38
  })[];
39
39
  showModal: () => void;
40
- handleOk: (e?: React.MouseEvent<HTMLElement>) => Promise<unknown> | undefined;
40
+ handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
41
41
  handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
42
42
  handleTableHeadHidden: (title: string) => void;
43
43
  onSortEnd: ({ oldIndex, newIndex }: {
@@ -96,4 +96,5 @@ export declare function queryParams(params: any, flag?: any): any;
96
96
  * @returns boolean
97
97
  */
98
98
  export declare const authFn: (code?: any) => boolean;
99
+ export declare const renderToString: (render: ReactElement<any, string | JSXElementConstructor<any>> | string) => any;
99
100
  export {};
@@ -16,6 +16,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
16
16
  patchUserColumnConfig: (config: any) => void;
17
17
  patchConfigToLocalstorage: (configvalue: any, tableCode: string) => void;
18
18
  setInitValue: (datasource: any[]) => void;
19
+ isColumnsChange: (pre?: never[], next?: never[]) => boolean;
19
20
  componentWillReceiveProps(nextProps: any): void;
20
21
  componentDidMount(): void;
21
22
  columns: ({
@@ -9,5 +9,5 @@ interface exportIconType {
9
9
  /** BsSulaQueryTable的tableRef*/
10
10
  tableRef: any;
11
11
  }
12
- declare const ExportIcon: ({ request, tableRef }: exportIconType) => React.JSX.Element;
12
+ declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) => React.JSX.Element;
13
13
  export default ExportIcon;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- declare const QueryMutipleInput: ({ onValueChange }: {
3
+ declare const QueryMutipleInput: ({ onValueChange, onPressEnter }: {
4
4
  onValueChange: any;
5
+ onPressEnter: any;
5
6
  }) => React.JSX.Element;
6
7
  export default QueryMutipleInput;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function RenderCompItem(props: any): React.JSX.Element | undefined;
@@ -1 +1 @@
1
- export declare function getRegularThresholdRange(params: any): Promise<import("axios").AxiosResponse<any, any>>;
1
+ export declare function getRegularThresholdRange(params: any): Promise<any>;