@isettingkit/business-rules 1.0.18 → 1.0.19
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/index.es.d.ts +37 -0
- package/dist/index.es.js +502 -466
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -14,10 +14,42 @@ export declare const BusinessRules: (props: IBusinessRules) => JSX_2.Element;
|
|
|
14
14
|
|
|
15
15
|
export declare const BusinessRuleView: (props: IBusinessRuleView) => JSX_2.Element;
|
|
16
16
|
|
|
17
|
+
export declare const convertRangeToString: (value: {
|
|
18
|
+
from: number;
|
|
19
|
+
to: number;
|
|
20
|
+
}) => string;
|
|
21
|
+
|
|
17
22
|
export declare const Filter: (props: IFilter) => JSX_2.Element;
|
|
18
23
|
|
|
19
24
|
export declare const FilterModal: (props: IFilterModal) => ReactPortal;
|
|
20
25
|
|
|
26
|
+
export declare const formatDecisionForBackend: (props: {
|
|
27
|
+
decision: IRuleDecision;
|
|
28
|
+
fallbackId: string;
|
|
29
|
+
template: IRuleDecision;
|
|
30
|
+
}) => {
|
|
31
|
+
decisionId: string;
|
|
32
|
+
value: any;
|
|
33
|
+
conditionsThatEstablishesTheDecision: any;
|
|
34
|
+
businessRuleId?: string;
|
|
35
|
+
conditionDataType?: ValueDataType[keyof ValueDataType];
|
|
36
|
+
conditionName?: string;
|
|
37
|
+
decision?: IDecision;
|
|
38
|
+
decisions?: IDecision[];
|
|
39
|
+
decisionDataType?: ValueDataType[keyof ValueDataType];
|
|
40
|
+
descriptionOfChange?: string;
|
|
41
|
+
descriptionUse?: string;
|
|
42
|
+
effectiveFrom?: Date | string;
|
|
43
|
+
howToSetTheCondition?: ValueHowToSetUp[keyof ValueHowToSetUp];
|
|
44
|
+
howToSetTheDecision?: ValueHowToSetUp[keyof ValueHowToSetUp];
|
|
45
|
+
labelName?: string;
|
|
46
|
+
listOfPossibleValues?: IValue;
|
|
47
|
+
ruleDataType?: ValueDataType[keyof ValueDataType];
|
|
48
|
+
ruleName?: string;
|
|
49
|
+
transactionOperation?: string;
|
|
50
|
+
validUntil?: Date | string;
|
|
51
|
+
};
|
|
52
|
+
|
|
21
53
|
export declare const FormFilter: (props: IFormFilter) => JSX_2.Element;
|
|
22
54
|
|
|
23
55
|
export declare interface IBusinessRuleCard {
|
|
@@ -145,6 +177,11 @@ declare interface ITranslateOptions {
|
|
|
145
177
|
|
|
146
178
|
export declare const ModalRules: (props: IModalRules) => ReactPortal;
|
|
147
179
|
|
|
180
|
+
export declare const parseRangeFromString: (value: string | number | string[] | IValue | undefined) => string | number | IValue | string[] | {
|
|
181
|
+
from?: number;
|
|
182
|
+
to?: number;
|
|
183
|
+
} | undefined;
|
|
184
|
+
|
|
148
185
|
export declare const revertSortedDataSampleSwitchPlaces: (props: IRevertSortedData) => {
|
|
149
186
|
conditionsThatEstablishesTheDecision: ICondition[];
|
|
150
187
|
businessRuleId?: string;
|