@isettingkit/business-rules 0.1.22 → 0.1.24

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.
@@ -4,7 +4,7 @@ import { ReactPortal } from 'react';
4
4
 
5
5
  export declare const BusinessRuleCard: (props: IBusinessRuleCard) => JSX_2.Element;
6
6
 
7
- export declare const BusinessRules: ({ decisions, textValues, decisionTemplate, isModalOpen, selectedDecision, loading, handleOpenModal, handleCloseModal, handleSubmitForm, handleDelete, }: IBusinessRules) => JSX_2.Element;
7
+ export declare const BusinessRules: ({ controls, decisions, textValues, decisionTemplate, isModalOpen, selectedDecision, loading, handleOpenModal, handleCloseModal, handleSubmitForm, handleDelete, }: IBusinessRules) => JSX_2.Element;
8
8
 
9
9
  export declare const BusinessRuleView: (props: IBusinessRuleView) => JSX_2.Element;
10
10
 
@@ -17,6 +17,7 @@ export declare interface IBusinessRuleCard {
17
17
  }
18
18
 
19
19
  declare interface IBusinessRules {
20
+ controls?: boolean;
20
21
  decisions: IRuleDecision[];
21
22
  textValues: IRulesFormTextValues;
22
23
  decisionTemplate: IRuleDecision;
@@ -43,12 +44,10 @@ declare interface IModalRules {
43
44
  }
44
45
 
45
46
  export declare interface IRulesForm {
46
- id: string;
47
47
  decision: IRuleDecision;
48
- onCloseModal: () => void;
49
- onCancel: () => void;
50
48
  onSubmitEvent: (dataDecision: IRuleDecision) => void;
51
49
  textValues: IRulesFormTextValues;
50
+ onCancel: () => void;
52
51
  }
53
52
 
54
53
  declare interface IRulesFormTextValues {
@@ -71,6 +70,6 @@ declare interface IRulesFormTextValues {
71
70
 
72
71
  export declare const ModalRules: (props: IModalRules) => ReactPortal;
73
72
 
74
- export declare const RulesForm: (prop: IRulesForm) => JSX_2.Element;
73
+ export declare function RulesForm(props: IRulesForm): JSX_2.Element;
75
74
 
76
75
  export { }