@isettingkit/business-rules 3.0.3 → 3.1.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.
@@ -188,12 +188,14 @@ declare interface IBusinessRules_3 {
188
188
  editionMode?: "classic" | "versioned";
189
189
  textValues: IRulesFormTextValues_3;
190
190
  decisionTemplate: IRuleDecision;
191
- isModalOpen: boolean;
191
+ isRulesModalOpen: boolean;
192
192
  selectedDecision: IRuleDecision | null;
193
193
  loading: boolean;
194
- handleOpenModal?: (decision?: IRuleDecision | null) => void;
194
+ configureDecisionModal: boolean;
195
+ handleOpenModal?: () => void;
195
196
  handleCloseModal?: () => void;
196
197
  handleSubmitForm?: (dataDecision: IRuleDecision) => void;
198
+ handleOpenRulesModal?: (checkedItems?: IOption[], decision?: IRuleDecision | null) => void;
197
199
  handleDelete?: (id: string) => void;
198
200
  terms?: boolean;
199
201
  onRemoveCondition?: (conditionName: string) => void;
@@ -201,7 +203,9 @@ declare interface IBusinessRules_3 {
201
203
  baseDecisionTemplate?: IRuleDecision;
202
204
  shouldRenderEmptyMessage?: boolean;
203
205
  withEditOption?: boolean;
206
+ configurateDecisionOptions?: IOption[];
204
207
  withTerm?: boolean;
208
+ handleCloseRulesModal?: () => void;
205
209
  }
206
210
 
207
211
  export declare interface IBusinessRuleView {