@isettingkit/business-rules 2.0.0 → 2.0.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.
- package/dist/index.es.d.ts +17 -0
- package/dist/index.es.js +1587 -1521
- package/package.json +2 -2
package/dist/index.es.d.ts
CHANGED
|
@@ -12,6 +12,12 @@ import { ValueHowToSetUp } from '@isettingkit/input';
|
|
|
12
12
|
|
|
13
13
|
export declare const BackAndNextButton: (props: IBackAndNextButton) => JSX.Element;
|
|
14
14
|
|
|
15
|
+
export declare const buildEsConditionSentence: (opts: {
|
|
16
|
+
label: string;
|
|
17
|
+
howToSet: EValueHowToSetUp;
|
|
18
|
+
isFirst?: boolean;
|
|
19
|
+
}) => string;
|
|
20
|
+
|
|
15
21
|
export declare const BusinessRuleCard: (props: IBusinessRuleCard) => JSX.Element;
|
|
16
22
|
|
|
17
23
|
export declare const BusinessRuleCardNew: (props: IBusinessRuleCard) => JSX.Element;
|
|
@@ -39,6 +45,15 @@ export declare const DropdownMenu: (props: IDropdownMenu) => JSX.Element;
|
|
|
39
45
|
|
|
40
46
|
export declare const DropdownMenuContainer: (props: IDropdownMenuContainer) => JSX.Element;
|
|
41
47
|
|
|
48
|
+
declare enum EValueHowToSetUp {
|
|
49
|
+
EQUAL = "EqualTo",
|
|
50
|
+
GREATER_THAN = "GreaterThan",
|
|
51
|
+
LESS_THAN = "LessThan",
|
|
52
|
+
LIST_OF_VALUES = "ListOfValues",
|
|
53
|
+
LIST_OF_VALUES_MULTI = "ListOfValuesMulti",
|
|
54
|
+
RANGE = "Range"
|
|
55
|
+
}
|
|
56
|
+
|
|
42
57
|
export declare const Filter: (props: IFilter) => JSX.Element;
|
|
43
58
|
|
|
44
59
|
export declare const FilterModal: (props: IFilterModal) => ReactPortal;
|
|
@@ -124,6 +139,8 @@ declare interface IBusinessRules_2 {
|
|
|
124
139
|
handleDelete?: (id: string) => void;
|
|
125
140
|
terms?: boolean;
|
|
126
141
|
onRemoveCondition?: (conditionName: string) => void;
|
|
142
|
+
onRestoreConditions?: (conditionNames: string[]) => void;
|
|
143
|
+
baseDecisionTemplate?: IRuleDecision;
|
|
127
144
|
}
|
|
128
145
|
|
|
129
146
|
export declare interface IBusinessRuleView {
|