@isettingkit/business-rules 2.1.10 → 2.1.12
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 +11 -2
- package/dist/index.es.js +878 -858
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -103,7 +103,12 @@ export declare const formatDecisionForBackend: (props: {
|
|
|
103
103
|
|
|
104
104
|
export declare const FormFilter: (props: IFormFilter) => JSX.Element;
|
|
105
105
|
|
|
106
|
-
export declare const
|
|
106
|
+
export declare const getConditionsByGroupNew: (raw: any) => Record<string, any[]>;
|
|
107
|
+
|
|
108
|
+
export declare const groupsRecordToArrayNew: (record: Record<string, any[]>) => {
|
|
109
|
+
ConditionGroupId: string;
|
|
110
|
+
conditionsThatEstablishesTheDecision: any[];
|
|
111
|
+
}[];
|
|
107
112
|
|
|
108
113
|
export declare interface IBackAndNextButton extends Omit<IButton, "onClick" | "path" | "children"> {
|
|
109
114
|
handleBack: () => void;
|
|
@@ -411,10 +416,14 @@ declare interface ITranslateOptions {
|
|
|
411
416
|
apiKey: string;
|
|
412
417
|
}
|
|
413
418
|
|
|
414
|
-
export declare const
|
|
419
|
+
export declare const mapByGroupNew: (raw: any, mapFn: (condition: any) => any) => Record<string, any[]>;
|
|
415
420
|
|
|
416
421
|
export declare const ModalRules: (props: IModalRules) => ReactPortal;
|
|
417
422
|
|
|
423
|
+
export declare const normalizeDecisionToNewShape: <T extends {
|
|
424
|
+
[k: string]: any;
|
|
425
|
+
}>(decision: T) => T;
|
|
426
|
+
|
|
418
427
|
export declare const parseRangeFromString: (value: string | number | string[] | IValue | undefined) => string | number | IValue | string[] | {
|
|
419
428
|
from?: number;
|
|
420
429
|
to?: number;
|