@bit-sun/business-component 4.0.12-alpha.9 → 4.0.13-alpha.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.
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -1
- package/dist/components/Business/PropertyModal/index.d.ts +23 -0
- package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +4 -0
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +5 -0
- package/dist/components/Functional/SearchSelect/utils.d.ts +16 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1510 -588
- package/dist/index.js +1507 -583
- package/package.json +3 -3
- package/src/components/Business/BsSulaQueryTable/utils.tsx +5 -4
- package/src/components/Business/PropertyModal/index.less +58 -0
- package/src/components/Business/PropertyModal/index.md +33 -0
- package/src/components/Business/PropertyModal/index.tsx +271 -0
- package/src/components/Business/PropertyModal/mockData.ts +160 -0
- package/src/components/Business/PropertyModal/propertyGroup.tsx +205 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +50 -3
- package/src/components/Business/SearchSelect/index.md +3 -4
- package/src/components/Business/columnSettingTable/columnSetting.tsx +2 -1
- package/src/components/Business/columnSettingTable/components/TableSumComponent.tsx +25 -0
- package/src/components/Business/columnSettingTable/components/style.less +25 -0
- package/src/components/Business/columnSettingTable/index.tsx +3 -28
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +2 -27
- package/src/components/Functional/QueryMutipleSelect/index.less +117 -0
- package/src/components/Functional/QueryMutipleSelect/index.md +41 -0
- package/src/components/Functional/QueryMutipleSelect/index.tsx +245 -0
- package/src/components/Functional/SearchSelect/index.less +33 -1
- package/src/components/Functional/SearchSelect/index.tsx +76 -269
- package/src/components/Functional/SearchSelect/utils.tsx +401 -0
- package/src/components/Solution/RuleComponent/ruleFiled.js +93 -93
- package/src/index.ts +2 -0
- 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) =>
|
|
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,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';
|