@isettingkit/business-rules 1.0.27 → 1.0.28

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.
@@ -1,3 +1,4 @@
1
+ import { IButton } from '@inubekit/inubekit';
1
2
  import { ICondition } from '@isettingkit/input';
2
3
  import { IDecision } from '@isettingkit/input';
3
4
  import { IOption } from '@inubekit/inubekit';
@@ -9,6 +10,8 @@ import { ReactPortal } from 'react';
9
10
  import { ValueDataType } from '@isettingkit/input';
10
11
  import { ValueHowToSetUp } from '@isettingkit/input';
11
12
 
13
+ export declare const BackAndNextButton: (props: IBackAndNextButton) => JSX.Element;
14
+
12
15
  export declare const BusinessRuleCard: (props: IBusinessRuleCard) => JSX.Element;
13
16
 
14
17
  export declare const BusinessRuleCardNew: (props: IBusinessRuleCard) => JSX.Element;
@@ -67,6 +70,17 @@ export declare const formatDecisionForBackend: (props: {
67
70
 
68
71
  export declare const FormFilter: (props: IFormFilter) => JSX.Element;
69
72
 
73
+ export declare interface IBackAndNextButton extends Omit<IButton, "onClick" | "path" | "children"> {
74
+ handleBack: () => void;
75
+ handleNext: () => void;
76
+ disabled: boolean;
77
+ loading: boolean;
78
+ textValues: {
79
+ back: string;
80
+ next: string;
81
+ };
82
+ }
83
+
70
84
  export declare interface IBusinessRuleCard {
71
85
  children: React.ReactNode;
72
86
  controls?: boolean;
@@ -333,6 +347,8 @@ export declare const revertSortedDataSwitchPlaces: (props: IRevertSortedData) =>
333
347
 
334
348
  export declare const RulesForm: (props: IRulesForm) => JSX.Element;
335
349
 
350
+ export declare const SendButton: (props: IButton) => JSX.Element;
351
+
336
352
  export declare const sortDisplayDataSampleSwitchPlaces: (props: IRevertSortedData) => {
337
353
  businessRuleId?: string;
338
354
  conditionDataType?: ValueDataType[keyof ValueDataType];