@bit-sun/business-component 4.0.12-alpha.9 → 4.0.13-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 (34) hide show
  1. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -1
  2. package/dist/components/Business/PropertyModal/index.d.ts +23 -0
  3. package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
  4. package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
  5. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +4 -0
  6. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +5 -0
  7. package/dist/components/Functional/SearchSelect/utils.d.ts +16 -1
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.esm.js +1954 -984
  10. package/dist/index.js +1953 -981
  11. package/package.json +3 -3
  12. package/src/components/Business/BsSulaQueryTable/utils.tsx +5 -4
  13. package/src/components/Business/PropertyModal/index.less +58 -0
  14. package/src/components/Business/PropertyModal/index.md +33 -0
  15. package/src/components/Business/PropertyModal/index.tsx +271 -0
  16. package/src/components/Business/PropertyModal/mockData.ts +160 -0
  17. package/src/components/Business/PropertyModal/propertyGroup.tsx +205 -0
  18. package/src/components/Business/SearchSelect/BusinessUtils.tsx +55 -3
  19. package/src/components/Business/SearchSelect/index.md +3 -4
  20. package/src/components/Business/columnSettingTable/columnSetting.tsx +2 -1
  21. package/src/components/Business/columnSettingTable/components/TableSumComponent.tsx +25 -0
  22. package/src/components/Business/columnSettingTable/components/style.less +25 -0
  23. package/src/components/Business/columnSettingTable/index.tsx +3 -28
  24. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +2 -27
  25. package/src/components/Functional/DataValidation/index.tsx +1 -0
  26. package/src/components/Functional/QueryMutipleSelect/index.less +117 -0
  27. package/src/components/Functional/QueryMutipleSelect/index.md +41 -0
  28. package/src/components/Functional/QueryMutipleSelect/index.tsx +242 -0
  29. package/src/components/Functional/SearchSelect/index.less +33 -1
  30. package/src/components/Functional/SearchSelect/index.tsx +76 -269
  31. package/src/components/Functional/SearchSelect/utils.tsx +400 -0
  32. package/src/components/Solution/RuleComponent/ruleFiled.js +93 -93
  33. package/src/index.ts +2 -0
  34. package/src/components/Functional/SearchSelect/utils.ts +0 -38
@@ -97,5 +97,5 @@ export declare function queryParams(params: any, flag?: any): any;
97
97
  * @returns boolean
98
98
  */
99
99
  export declare const authFn: (code?: any) => any;
100
- export declare const renderToString: (render: ReactElement<any, string | JSXElementConstructor<any>> | string) => any;
100
+ export declare const renderToString: (render: ReactElement<any, string | JSXElementConstructor<any>> | string) => string;
101
101
  export {};
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface propertyValueType {
4
+ propertyName: string;
5
+ propertyCode: string;
6
+ isCommonUse?: Boolean | String;
7
+ detailList: Array<{
8
+ name: string;
9
+ value: string;
10
+ isCommonUse?: Boolean | String;
11
+ }>;
12
+ }
13
+ interface valueType {
14
+ classifyCode: string;
15
+ classifyName: string;
16
+ propertyList: propertyValueType[];
17
+ }
18
+ declare const PropertySelector: ({ value, onChange, width, ...restProps }: {
19
+ value: valueType;
20
+ onChange: any;
21
+ width: string;
22
+ }) => React.JSX.Element;
23
+ export default PropertySelector;
@@ -0,0 +1,10 @@
1
+ export declare const MockPropertyList: {
2
+ propertyCode: string;
3
+ propertyName: string;
4
+ isCommonUse: boolean;
5
+ detailList: {
6
+ name: string;
7
+ value: string;
8
+ isCommonUse: boolean;
9
+ }[];
10
+ }[];
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import './index.less';
3
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import './style.less';
3
+ declare const _default: ({ summary }: any) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare const getValue: (value: any, selectMode?: any) => any;
4
+ declare const QueryMutipleSearchSelect: ({ onValueChange, requestConfig, selectProps, ctx }: any) => React.JSX.Element;
5
+ export default QueryMutipleSearchSelect;
@@ -1,6 +1,9 @@
1
+ /// <reference types="lodash" />
2
+ import React from 'react';
1
3
  export declare const columnsPerRow = 4;
2
4
  export declare const ColSpan = 6;
3
5
  export declare const handleSourceName: (sName: any) => any;
6
+ export declare const makeUniqueValue: () => string;
4
7
  export declare const getFormRowInfo: (list: any) => {
5
8
  totalRows: number;
6
9
  emptyArray: any[];
@@ -8,5 +11,17 @@ export declare const getFormRowInfo: (list: any) => {
8
11
  export declare const defaultVisibleFieldsCount = 7;
9
12
  export declare const getVisibleFieldsCount: (modalTableProps: any) => any;
10
13
  export declare const hasMoreQueryFields: (modalTableProps: any) => boolean;
11
- export declare const getRealStr: (oldSelect: any, newSelect: any, record: any) => any;
12
14
  export declare const getTableHeigth: (list: any) => number;
15
+ export declare const formatSelectedValue: (value: any) => any;
16
+ export declare const getRealStr: (oldSelect: any, newSelect: any, record: any) => any;
17
+ export declare const getCurrentSRKs: (selectMode: any, labelInValue: boolean, value: any) => any;
18
+ export declare const getRenderSource: (currentSRKs: any, items: any) => any;
19
+ export declare const handleParams: (params: any) => void;
20
+ export declare const convertOrderNo: (params: any) => any;
21
+ export declare const convertQueryParams: (params: any) => import("lodash").Omit<any, "UNIQUE_SPEC">;
22
+ export declare const convertUrlQueryParams: (params: any) => string;
23
+ export declare const convertBodyParams: (params: any) => any;
24
+ export declare const convertResData: (requestConfig: any, res: any, selectProps: any) => any;
25
+ export declare const handleSelectOptionsShowValue: (specialBracket: boolean, noNeedSplit: boolean, item: any) => any;
26
+ export declare const LightHeightOption: (props: any) => React.JSX.Element;
27
+ export declare const maxTagPlaceholder: (selectedValues: any, { selectProps, onChange, value, setIsMaxTagsOpen }: any) => React.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './utils/index';
3
3
  export { default as DataValidation } from './components/Functional/DataValidation';
4
4
  export { default as DataImport } from './components/Functional/DataImport';
5
5
  export { default as QueryMutipleInput } from './components/Functional/QueryMutipleInput';
6
+ export { default as QueryMutipleSearchSelect } from './components/Functional/QueryMutipleSelect';
6
7
  export { default as SearchSelect } from './components/Functional/SearchSelect';
7
8
  export { default as AddSelect } from './components/Functional/AddSelect';
8
9
  export { default as BillEntry } from './components/Functional/BillEntry';
@@ -26,6 +27,7 @@ export { default as JsonQueryTable } from './components/Business/JsonQueryTable'
26
27
  export { default as TableColumnSetting } from './plugin/TableColumnSetting';
27
28
  export { default as AuthButton } from './components/Functional/AuthButton';
28
29
  export { default as CustomSelector } from './components/Solution/RuleComponent/CustomPlugin/CustomSelector';
30
+ export { default as PropertySelector } from './components/Business/PropertyModal';
29
31
  export { default as EllipsisTooltip } from './components/Functional/EllipsisTooltip';
30
32
  export * from './components/Functional/BsAntdSula/index';
31
33
  export { default as RuleComponent } from './components/Solution/RuleComponent';