@bit-sun/business-component 2.4.29 → 2.4.30
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/Solution/RuleSetter/RuleInstance.d.ts +3 -0
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +3 -0
- package/dist/components/Solution/RuleSetter/function.d.ts +26 -0
- package/dist/components/Solution/RuleSetter/index.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +966 -56
- package/dist/index.js +969 -55
- package/dist/utils/LocalstorageUtils.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/Business/DetailPageWrapper/index.tsx +2 -3
- package/src/components/Business/HomePageWrapper/index.tsx +8 -8
- package/src/components/Solution/RuleComponent/index.js +81 -51
- package/src/components/Solution/RuleComponent/index.less +0 -1
- package/src/components/Solution/RuleComponent/ruleFiled.js +25 -13
- package/src/components/Solution/RuleSetter/RuleInstance.tsx +6 -0
- package/src/components/Solution/RuleSetter/baseRule.tsx +368 -0
- package/src/components/Solution/RuleSetter/function.ts +336 -0
- package/src/components/Solution/RuleSetter/index.less +221 -0
- package/src/components/Solution/RuleSetter/index.tsx +208 -0
- package/src/components/Solution/RuleSetter/service.js +276 -0
- package/src/index.ts +1 -0
- package/src/utils/LocalstorageUtils.ts +24 -7
- package/src/utils/auth.ts +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const formatOperationList: (data: any) => any;
|
|
2
|
+
export declare const formatRegularList: (data: any) => any;
|
|
3
|
+
export declare const handleRuleShowBack: (data: any, functionRuleList: any) => any;
|
|
4
|
+
export declare const handleRuleRequireCheck: (saveData: any, ruleActionData: any) => {
|
|
5
|
+
checkResult: boolean;
|
|
6
|
+
checkInfo: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const handleRuleResultList: (data: any, ruleTypeData: any) => any;
|
|
9
|
+
export declare const getInitClassData: (ruleTypeData: any) => {
|
|
10
|
+
ruleName: string;
|
|
11
|
+
subExpression: {
|
|
12
|
+
operationType: string;
|
|
13
|
+
propertyPath: string;
|
|
14
|
+
params: never[];
|
|
15
|
+
paramNames: never[];
|
|
16
|
+
};
|
|
17
|
+
extraInfo: {
|
|
18
|
+
response: {
|
|
19
|
+
enable: boolean;
|
|
20
|
+
value: string;
|
|
21
|
+
};
|
|
22
|
+
execute: any;
|
|
23
|
+
};
|
|
24
|
+
}[];
|
|
25
|
+
export declare const formatGroupOtherPriorityList: (data: any, templateId: string) => any;
|
|
26
|
+
export declare const formatOtherPriorityList: (data: any, templateId: string, extStr: string) => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,3 +27,4 @@ export { default as TableColumnSetting } from './plugin/TableColumnSetting';
|
|
|
27
27
|
export { default as EllipsisTooltip } from './components/Functional/EllipsisTooltip';
|
|
28
28
|
export * from './components/Functional/BsAntdSula/index';
|
|
29
29
|
export { default as RuleComponent } from './components/Solution/RuleComponent';
|
|
30
|
+
export { default as RuleSetter } from './components/Solution/RuleSetter';
|