@isettingkit/business-rules 3.2.0 → 3.2.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.
@@ -1,8 +1,11 @@
1
1
  import { IButton } from '@inubekit/inubekit';
2
+ import { IButtonAppearance } from '@inubekit/inubekit';
2
3
  import { IOption } from '@inubekit/inubekit';
3
4
  import { JSX } from 'react/jsx-runtime';
4
5
  import { JSX as JSX_2 } from 'react';
6
+ import { NumberSchema } from 'yup';
5
7
  import { ReactPortal } from 'react';
8
+ import { StringSchema } from 'yup';
6
9
 
7
10
  export declare const BackAndNextButton: (props: IBackAndNextButton) => JSX.Element;
8
11
 
@@ -26,11 +29,48 @@ export declare const BusinessRuleView: (props: IBusinessRuleView) => JSX.Element
26
29
 
27
30
  export declare const BusinessRuleViewNew: (props: IBusinessRuleView_2) => JSX.Element;
28
31
 
32
+ export declare const Checkpicker: (props: ICheckpicker) => JSX.Element;
33
+
34
+ declare interface Condition {
35
+ valueUse: "RANGE" | "LIST_OF_VALUES_MULTI" | "EQUAL" | "GREATER_THAN" | "LESS_THAN";
36
+ listOfPossibleValues?: {
37
+ list?: string[];
38
+ };
39
+ conditionDataType: string;
40
+ decisionDataType?: string;
41
+ howToSetTheCondition: string;
42
+ howToSetTheDecision: string;
43
+ conditionName: string;
44
+ ruleName: string;
45
+ labelName: string;
46
+ placeholder?: string;
47
+ placeholderFrom?: string;
48
+ placeholderTo?: string;
49
+ }
50
+
29
51
  export declare const convertRangeToString: (value: {
30
52
  from: number;
31
53
  to: number;
32
54
  }) => string;
33
55
 
56
+ export declare const currencyFormat: (price: number | string) => string;
57
+
58
+ export declare const DecisionConditionRender: ({ condition, formik, isDecision, }: {
59
+ condition: Condition;
60
+ formik: FormikType;
61
+ isDecision?: boolean;
62
+ }) => JSX.Element | null;
63
+
64
+ export declare const DecisionConditionRenderNew: ({ condition, formik, isDecision, }: {
65
+ condition: IConditionNew;
66
+ formik: IFormikTypeNew;
67
+ isDecision?: boolean;
68
+ }) => JSX.Element | null;
69
+
70
+ export declare const DecisionViewConditionRenderer: (props: IDecisionViewConditionRenderer) => JSX.Element | null;
71
+
72
+ export declare const DecisionViewConditionRendererNew: (props: IDecisionViewConditionRendererNew) => JSX.Element | null;
73
+
34
74
  export declare const DragAndDropBoxes: (props: IDragAndDropBoxes) => JSX.Element;
35
75
 
36
76
  export declare const DraggableList: (props: IDraggableList) => JSX.Element;
@@ -39,7 +79,24 @@ export declare const DropdownMenu: (props: IDropdownMenu) => JSX.Element;
39
79
 
40
80
  export declare const DropdownMenuContainer: (props: IDropdownMenuContainer) => JSX.Element;
41
81
 
42
- declare enum EFieldTypeNew {
82
+ export declare const DynamicField: ({ type, name, label, value, onChange, messageValidate, statusValidate, onBlur, placeholder, }: IDynamicField) => JSX.Element | null;
83
+
84
+ export declare const DynamicFieldNew: (props: IDynamicField_2) => JSX.Element | null;
85
+
86
+ export declare const DynamicViewField: (props: IDynamicViewField) => JSX.Element;
87
+
88
+ export declare const DynamicViewFieldNew: (props: IDynamicViewFieldNew) => JSX.Element;
89
+
90
+ export declare enum EFieldType {
91
+ ALPHABETICAL = "alphabetical",
92
+ CURRENCY = "currency",
93
+ DATE = "date",
94
+ MONETARY = "monetary",
95
+ NUMBER = "number",
96
+ PERCENTAGE = "percentage"
97
+ }
98
+
99
+ export declare enum EFieldTypeNew {
43
100
  ALPHABETICAL = "alphabetical",
44
101
  CURRENCY = "currency",
45
102
  DATE = "date",
@@ -69,6 +126,8 @@ export declare const Filter: (props: IFilter) => JSX.Element;
69
126
 
70
127
  export declare const filterByGroup: <T>(obj: Record<string, T[]>, pred: (c: T) => boolean) => Record<string, T[]>;
71
128
 
129
+ export declare const FilterModal: (props: IFilterModal) => ReactPortal;
130
+
72
131
  export declare const flatFromGroups: <T>(obj: Record<string, T[]>) => T[];
73
132
 
74
133
  export declare const formatDecisionForBackend: (props: {
@@ -104,8 +163,19 @@ export declare const formatDecisionForBackend: (props: {
104
163
  i18nValue?: string | string[] | number | IValue;
105
164
  };
106
165
 
166
+ export declare const formatValue: (value: number | string, type: ITextfieldInputType_4) => string | number;
167
+
107
168
  export declare const FormFilter: (props: IFormFilter) => JSX.Element;
108
169
 
170
+ declare interface FormikType {
171
+ setFieldValue: (field: string, value: any) => void;
172
+ setFieldTouched: (field: string, isTouched: boolean, shouldValidate?: boolean) => void;
173
+ values: Record<string, any>;
174
+ errors: Record<string, any>;
175
+ touched: Record<string, any>;
176
+ handleBlur: () => void;
177
+ }
178
+
109
179
  export declare const getConditionsByGroupNew: (raw: any) => Record<string, any[]>;
110
180
 
111
181
  export declare const groupsRecordToArrayNew: (record: Record<string, any[]>) => {
@@ -233,6 +303,23 @@ declare interface IBusinessRuleView_2 {
233
303
  withEditOption?: boolean;
234
304
  }
235
305
 
306
+ declare interface ICheckpicker {
307
+ disabled?: boolean;
308
+ fullwidth?: boolean;
309
+ id?: string;
310
+ invalid?: boolean;
311
+ label?: string;
312
+ maxItems?: number;
313
+ message?: string;
314
+ name: string;
315
+ onChange: (name: string, values: string) => void;
316
+ options: IOption[];
317
+ placeholder?: string;
318
+ required?: boolean;
319
+ size?: ICheckpickerSize_3;
320
+ values: string;
321
+ }
322
+
236
323
  export declare interface ICheckpickerField {
237
324
  label?: string;
238
325
  name: string;
@@ -245,6 +332,12 @@ export declare interface ICheckpickerField {
245
332
  invalid?: boolean;
246
333
  }
247
334
 
335
+ declare type ICheckpickerSize = (typeof sizes)[number];
336
+
337
+ declare type ICheckpickerSize_2 = (typeof sizes_2)[number];
338
+
339
+ declare type ICheckpickerSize_3 = (typeof sizes_3)[number];
340
+
248
341
  export declare type IClientLabel = string;
249
342
 
250
343
  export declare interface ICondition<TData> {
@@ -266,7 +359,26 @@ declare interface ICondition_2 {
266
359
  i18nValue?: string | string[] | number | IValue;
267
360
  }
268
361
 
269
- declare interface IDecision {
362
+ declare interface IConditionNew {
363
+ groupKey?: string;
364
+ valueUse: "RANGE" | "LIST_OF_VALUES_MULTI" | "EQUAL" | "GREATER_THAN" | "LESS_THAN";
365
+ listOfPossibleValues?: {
366
+ list?: IOption[];
367
+ };
368
+ conditionDataType: string;
369
+ decisionDataType?: string;
370
+ howToSetTheCondition: string;
371
+ howToSetTheDecision: string;
372
+ conditionName: string;
373
+ ruleName: string;
374
+ labelName: string;
375
+ placeholder?: string;
376
+ placeholderFrom?: string;
377
+ placeholderTo?: string;
378
+ value?: string | string[] | number | IValue | undefined;
379
+ }
380
+
381
+ export declare interface IDecision {
270
382
  decisionDataType: (typeof ValueDataType)[keyof typeof ValueDataType];
271
383
  validUntil?: Date;
272
384
  labelName: string;
@@ -279,6 +391,19 @@ declare interface IDecision {
279
391
  descriptionUse?: string;
280
392
  }
281
393
 
394
+ export declare interface IDecisionViewConditionRenderer {
395
+ element: IRuleDecision;
396
+ type?: "decision" | "condition";
397
+ valueData: string | string[] | number | IValue_2 | undefined;
398
+ }
399
+
400
+ export declare interface IDecisionViewConditionRendererNew {
401
+ element: IRuleDecisionNew;
402
+ type?: "decision" | "condition";
403
+ editionMode?: "classic" | "versioned";
404
+ valueData: string | string[] | number | IValue_3 | undefined;
405
+ }
406
+
282
407
  export declare interface IDragAndDropBoxes {
283
408
  group?: string;
284
409
  left: IDragAndDropColumn;
@@ -338,6 +463,35 @@ export declare interface IDropdownMenuGroup {
338
463
  path?: string;
339
464
  }
340
465
 
466
+ declare interface IDynamicField extends IFieldStrategy {
467
+ type: string;
468
+ }
469
+
470
+ declare interface IDynamicField_2 extends IFieldStrategyNew {
471
+ type: string;
472
+ listOfPossibleValues?: {
473
+ list?: IOption[];
474
+ };
475
+ }
476
+
477
+ export declare interface IDynamicViewField {
478
+ label: string;
479
+ labelType?: string;
480
+ type: ITextfieldInputType_5;
481
+ valueInput: number | string;
482
+ }
483
+
484
+ export declare interface IDynamicViewFieldNew {
485
+ label: string;
486
+ labelType?: string;
487
+ type: ITextfieldInputType_7;
488
+ valueInput: number | string;
489
+ stillValid: boolean;
490
+ showModal: boolean;
491
+ handleOnClick: () => void;
492
+ validDate: string;
493
+ }
494
+
341
495
  declare interface IEntriesGridNode<TData, TEntry> extends INodeBase<TData> {
342
496
  entries: IPath<TData>;
343
497
  keyOf: (entry: TEntry) => string;
@@ -347,6 +501,33 @@ declare interface IEntriesGridNode<TData, TEntry> extends INodeBase<TData> {
347
501
  valueOf: (entry: TEntry) => string;
348
502
  }
349
503
 
504
+ export declare interface IFieldStrategy {
505
+ label: string;
506
+ messageValidate?: string;
507
+ name: string;
508
+ onBlur?: () => void;
509
+ onChange: (value?: string | number | any) => void;
510
+ statusValidate?: string | IInputStatus;
511
+ value: string | number;
512
+ placeholder?: string;
513
+ }
514
+
515
+ declare interface IFieldStrategyNew {
516
+ label: string;
517
+ messageValidate?: string;
518
+ name: string;
519
+ placeholder?: string;
520
+ required?: boolean;
521
+ onBlur?: () => void;
522
+ onChange: (name: string, value: string | number) => void;
523
+ statusValidate?: string | IInputStatus;
524
+ value: string | number;
525
+ condition?: boolean;
526
+ listOfPossibleValues?: {
527
+ list?: IOption[];
528
+ };
529
+ }
530
+
350
531
  export declare interface IFilter {
351
532
  appliedFilters?: IFilterTag[];
352
533
  onClear: () => void;
@@ -356,6 +537,23 @@ export declare interface IFilter {
356
537
  titleFilter: string;
357
538
  }
358
539
 
540
+ export declare interface IFilterModal {
541
+ actionButtonLabel: string;
542
+ cancelButtonLabel?: string;
543
+ children: React.ReactNode;
544
+ loading?: boolean;
545
+ onClick: () => void;
546
+ onCloseModal: () => void;
547
+ portalId: string;
548
+ title: string;
549
+ withText?: boolean;
550
+ withDivider?: boolean;
551
+ withCancelButton?: boolean;
552
+ buttonAppearance?: IButtonAppearance;
553
+ withIconTitle?: boolean;
554
+ icon?: React.ReactNode;
555
+ }
556
+
359
557
  export declare interface IFilterTag {
360
558
  icon: JSX_2.Element;
361
559
  label: string;
@@ -371,12 +569,64 @@ export declare interface IFormFilter {
371
569
  noFiltersLabel?: string;
372
570
  }
373
571
 
572
+ declare interface IFormikTypeNew {
573
+ setFieldValue: (field: string, value: any) => void;
574
+ setFieldTouched: (field: string, isTouched: boolean, shouldValidate?: boolean) => void;
575
+ values: Record<string, any>;
576
+ errors: Record<string, any>;
577
+ touched: Record<string, any>;
578
+ handleBlur: () => void;
579
+ submitCount: number;
580
+ }
581
+
374
582
  declare interface IGroupNode<TData> extends INodeBase<TData> {
375
583
  children: Array<TSchemaNode<TData, any>>;
376
584
  type: "group";
377
585
  }
378
586
 
379
- declare interface IInputStatus {
587
+ declare interface IInputRange {
588
+ handleInputChangeFrom: (valueFrom: number | Date) => void;
589
+ handleInputChangeTo: (valueTo: number | Date) => void;
590
+ id: string;
591
+ typeInput: ITextfieldInputType_2;
592
+ label: string;
593
+ required?: boolean;
594
+ valueFrom?: number | Date;
595
+ valueTo?: number | Date;
596
+ messageFrom?: string;
597
+ messageTo?: string;
598
+ statusFrom?: IInputStatus;
599
+ statusTo?: IInputStatus;
600
+ onBlur?: () => void;
601
+ placeholderFrom?: string;
602
+ placeholderTo?: string;
603
+ }
604
+
605
+ declare interface IInputRangeNew {
606
+ condition?: boolean;
607
+ handleInputChangeFrom: (valueFrom: number | Date | string) => void;
608
+ handleInputChangeTo: (valueTo: number | Date | string) => void;
609
+ id: string;
610
+ typeInput: ITextfieldInputType_3;
611
+ label: string;
612
+ required?: boolean;
613
+ valueFrom?: number | Date | string;
614
+ valueTo?: number | Date | string;
615
+ messageFrom?: string;
616
+ messageTo?: string;
617
+ statusFrom?: IInputStatus;
618
+ statusTo?: IInputStatus;
619
+ onBlur?: () => void;
620
+ listOfPossibleValues?: {
621
+ list?: IOption[];
622
+ };
623
+ onBlurFrom?: () => void;
624
+ onBlurTo?: () => void;
625
+ placeholderFrom?: string;
626
+ placeholderTo?: string;
627
+ }
628
+
629
+ export declare interface IInputStatus {
380
630
  from?: string | number | Date;
381
631
  to?: string | number | Date;
382
632
  }
@@ -405,11 +655,56 @@ declare interface IModalRules {
405
655
  description?: string;
406
656
  }
407
657
 
658
+ declare interface IMultipleChoices {
659
+ id: string;
660
+ labelSelect: string;
661
+ labelSelected: string;
662
+ options: IOption[];
663
+ placeholderSelect?: string;
664
+ required?: boolean;
665
+ message?: string;
666
+ onBlur?: () => void;
667
+ values: string;
668
+ onChange: (name: string, value: string) => void;
669
+ size?: ICheckpickerSize;
670
+ }
671
+
672
+ declare interface IMultipleChoicesNew {
673
+ condition?: boolean;
674
+ id: string;
675
+ labelSelect: string;
676
+ labelSelected: string;
677
+ options: IOption[];
678
+ placeholderSelect?: string;
679
+ required?: boolean;
680
+ message?: string;
681
+ onBlur?: () => void;
682
+ values: string;
683
+ onChange: (name: string, value: string) => void;
684
+ size?: ICheckpickerSize_2;
685
+ }
686
+
408
687
  declare interface INodeBase<TData> {
409
688
  id: string;
410
689
  when?: ICondition<TData>;
411
690
  }
412
691
 
692
+ export declare const InputRange: (props: IInputRange) => JSX.Element;
693
+
694
+ export declare const InputRangeNew: (props: IInputRangeNew) => JSX.Element;
695
+
696
+ declare interface IOptionItemChecked {
697
+ id: string;
698
+ label: string;
699
+ checked?: boolean;
700
+ }
701
+
702
+ declare interface IOptionItemChecked_2 {
703
+ id: string;
704
+ label: string;
705
+ checked?: boolean;
706
+ }
707
+
413
708
  export declare type IPath<TData> = string | IPathFn<TData>;
414
709
 
415
710
  declare interface IPathFn<TData> {
@@ -434,7 +729,7 @@ declare interface IRevertSortedData {
434
729
  originalDecision?: IRuleDecision;
435
730
  }
436
731
 
437
- declare interface IRuleDecision {
732
+ export declare interface IRuleDecision {
438
733
  businessRuleId?: string;
439
734
  conditionDataType?: (typeof ValueDataType)[keyof typeof ValueDataType];
440
735
  conditionName?: string;
@@ -463,7 +758,7 @@ declare interface IRuleDecision {
463
758
  i18nValue?: string | string[] | number | IValue;
464
759
  }
465
760
 
466
- declare interface IRuleDecisionNew {
761
+ export declare interface IRuleDecisionNew {
467
762
  businessRuleId?: string;
468
763
  conditionDataType?: EFieldTypeNew;
469
764
  conditionName?: string;
@@ -544,12 +839,33 @@ export declare interface IStepSchema<TData> {
544
839
  }) => void;
545
840
  }
546
841
 
842
+ export declare type IStrategy = keyof typeof strategies;
843
+
844
+ export declare interface ITextfieldInputType {
845
+ [key: string]: string | number | string[] | {
846
+ from?: number;
847
+ to?: number;
848
+ };
849
+ }
850
+
851
+ declare type ITextfieldInputType_2 = EFieldType;
852
+
853
+ declare type ITextfieldInputType_3 = EFieldTypeNew;
854
+
855
+ declare type ITextfieldInputType_4 = EFieldType | EFieldTypeNew;
856
+
857
+ declare type ITextfieldInputType_5 = EFieldType;
858
+
859
+ declare type ITextfieldInputType_6 = EFieldType;
860
+
861
+ declare type ITextfieldInputType_7 = EFieldTypeNew;
862
+
547
863
  declare interface ITranslateOptions {
548
864
  url: string;
549
865
  apiKey: string;
550
866
  }
551
867
 
552
- declare interface IValue {
868
+ export declare interface IValue {
553
869
  from?: number | string | Date;
554
870
  labelFrom?: string;
555
871
  labelTo?: string;
@@ -563,6 +879,34 @@ declare interface IValue {
563
879
  value?: string | number | string[];
564
880
  }
565
881
 
882
+ declare interface IValue_2 {
883
+ list?: string[];
884
+ listSelected?: string[];
885
+ labelFrom?: string;
886
+ labelTo?: string;
887
+ from?: number | string | Date;
888
+ to?: number | string | Date;
889
+ value?: string | number;
890
+ messageFrom?: string;
891
+ messageTo?: string;
892
+ statusFrom?: IInputStatus;
893
+ statusTo?: IInputStatus;
894
+ }
895
+
896
+ declare interface IValue_3 {
897
+ list?: string[];
898
+ listSelected?: string[];
899
+ labelFrom?: string;
900
+ labelTo?: string;
901
+ from?: number | string | Date;
902
+ to?: number | string | Date;
903
+ value?: string | number;
904
+ messageFrom?: string;
905
+ messageTo?: string;
906
+ statusFrom?: IInputStatus;
907
+ statusTo?: IInputStatus;
908
+ }
909
+
566
910
  declare interface IVerificationEngine<TData> {
567
911
  data: TData;
568
912
  isMobile: boolean;
@@ -575,17 +919,63 @@ export declare interface IVerificationSchema<TData> {
575
919
  steps: IStepSchema<TData>[];
576
920
  }
577
921
 
922
+ export declare interface IViewMultipleChoices {
923
+ id: string;
924
+ label: string;
925
+ options: IOptionItemChecked[];
926
+ }
927
+
928
+ export declare interface IViewMultipleChoicesNew {
929
+ id: string;
930
+ label: string;
931
+ options: IOptionItemChecked_2[];
932
+ stillValid: boolean;
933
+ showModal: boolean;
934
+ handleOnClick: () => void;
935
+ validDate: string;
936
+ }
937
+
938
+ export declare interface IViewRangeField {
939
+ labelFrom?: string;
940
+ labelType?: string;
941
+ typeInput: ITextfieldInputType_6;
942
+ valueFrom?: string | number;
943
+ valueTo?: string | number;
944
+ }
945
+
946
+ export declare interface IViewRangeFieldNew {
947
+ labelFrom?: string;
948
+ labelType?: string;
949
+ typeInput: EFieldTypeNew;
950
+ valueFrom?: string | number;
951
+ valueTo?: string | number;
952
+ stillValid: boolean;
953
+ showModal: boolean;
954
+ handleOnClick: () => void;
955
+ validDate: string;
956
+ }
957
+
578
958
  export declare const mapByGroupNew: (raw: any, mapFn: (condition: any) => any) => Record<string, any[]>;
579
959
 
580
960
  export declare const ModalRules: (props: IModalRules) => ReactPortal;
581
961
 
962
+ export declare const MultipleChoices: (props: IMultipleChoices) => JSX.Element;
963
+
964
+ export declare const MultipleChoicesNew: (props: IMultipleChoicesNew) => JSX.Element;
965
+
582
966
  export declare const normalizeDecisionToNewShape: (decision: any) => any;
583
967
 
968
+ export declare const parseCurrencyString: (currencyString: string) => number;
969
+
970
+ export declare const parsePercentageString: (percentageString: string) => number;
971
+
584
972
  export declare const parseRangeFromString: (value: string | number | string[] | IValue | undefined) => string | number | string[] | IValue | {
585
973
  from?: number;
586
974
  to?: number;
587
975
  } | undefined;
588
976
 
977
+ export declare const percentageFormat: (percentage: number | string) => string;
978
+
589
979
  export declare const revertSortedDataSampleSwitchPlaces: (props: IRevertSortedData) => {
590
980
  conditionsThatEstablishesTheDecision: ICondition_2[];
591
981
  businessRuleId?: string;
@@ -621,6 +1011,12 @@ export declare const RulesForm: (props: IRulesForm) => JSX.Element;
621
1011
 
622
1012
  export declare const SendButton: (props: IButton) => JSX.Element;
623
1013
 
1014
+ declare const sizes: readonly ["wide", "compact"];
1015
+
1016
+ declare const sizes_2: readonly ["wide", "compact"];
1017
+
1018
+ declare const sizes_3: readonly ["wide", "compact"];
1019
+
624
1020
  export declare const sortDisplayDataSampleSwitchPlaces: (props: IRevertSortedData) => {
625
1021
  businessRuleId?: string;
626
1022
  conditionDataType?: "number" | "alphabetical" | "currency" | "date" | "monetary" | "percentage";
@@ -652,6 +1048,57 @@ export declare const sortDisplayDataSampleSwitchPlaces: (props: IRevertSortedDat
652
1048
 
653
1049
  export declare const sortDisplayDataSwitchPlaces: (props: IRevertSortedData) => IRuleDecision[] | undefined;
654
1050
 
1051
+ declare const strategies: {
1052
+ LIST_OF_VALUES: ({ condition, formik, }: {
1053
+ condition: Condition;
1054
+ formik: FormikType;
1055
+ }) => JSX.Element;
1056
+ LIST_OF_VALUES_MULTI: ({ condition, formik, }: {
1057
+ condition: Condition;
1058
+ formik: FormikType;
1059
+ }) => JSX.Element;
1060
+ RANGE: ({ condition, formik, }: {
1061
+ condition: Condition;
1062
+ formik: FormikType;
1063
+ }) => JSX.Element;
1064
+ GREATER_THAN: ({ condition, formik, }: {
1065
+ condition: Condition;
1066
+ formik: FormikType;
1067
+ }) => JSX.Element;
1068
+ LESS_THAN: ({ condition, formik, }: {
1069
+ condition: Condition;
1070
+ formik: FormikType;
1071
+ }) => JSX.Element;
1072
+ EQUAL: ({ condition, formik, }: {
1073
+ condition: Condition;
1074
+ formik: FormikType;
1075
+ }) => JSX.Element;
1076
+ DECISION_RANGE: ({ condition, formik, }: {
1077
+ condition: Condition;
1078
+ formik: FormikType;
1079
+ }) => JSX.Element;
1080
+ DECISION_LIST_OF_VALUES: ({ condition, formik, }: {
1081
+ condition: Condition;
1082
+ formik: FormikType;
1083
+ }) => JSX.Element;
1084
+ DECISION_LIST_OF_VALUES_MULTI: ({ condition, formik, }: {
1085
+ condition: Condition;
1086
+ formik: FormikType;
1087
+ }) => JSX.Element;
1088
+ DECISION_EQUAL: ({ condition, formik, }: {
1089
+ condition: Condition;
1090
+ formik: FormikType;
1091
+ }) => JSX.Element;
1092
+ DECISION_GREATER_THAN: ({ condition, formik, }: {
1093
+ condition: Condition;
1094
+ formik: FormikType;
1095
+ }) => JSX.Element;
1096
+ DECISION_LESS_THAN: ({ condition, formik, }: {
1097
+ condition: Condition;
1098
+ formik: FormikType;
1099
+ }) => JSX.Element;
1100
+ };
1101
+
655
1102
  export declare type TLinkItem = {
656
1103
  id: string;
657
1104
  label: string;
@@ -666,7 +1113,23 @@ export declare type TRegistry<TData> = Record<TSchemaNode<TData, any>["type"], I
666
1113
 
667
1114
  export declare type TSchemaNode<TData, TEntry> = IAttributesGridNode<TData> | IEntriesGridNode<TData, TEntry> | IGroupNode<TData> | IJsonNode<TData>;
668
1115
 
669
- declare const ValueDataType: {
1116
+ export declare interface TypeDataOutput {
1117
+ schema: StringSchema | NumberSchema;
1118
+ value: string | number | {
1119
+ from: number;
1120
+ to: number;
1121
+ } | undefined;
1122
+ }
1123
+
1124
+ export declare const useValidUntilManagement: (validUntil: string) => {
1125
+ showModal: boolean;
1126
+ handleOnClick: () => void;
1127
+ stillValid: boolean;
1128
+ };
1129
+
1130
+ export declare const validationStrategies: Record<EFieldTypeNew, (value: string) => boolean>;
1131
+
1132
+ export declare const ValueDataType: {
670
1133
  readonly ALPHABETICAL: "alphabetical";
671
1134
  readonly CURRENCY: "currency";
672
1135
  readonly MONETARY: "monetary";
@@ -675,7 +1138,7 @@ declare const ValueDataType: {
675
1138
  readonly PERCENTAGE: "percentage";
676
1139
  };
677
1140
 
678
- declare const ValueHowToSetUp: {
1141
+ export declare const ValueHowToSetUp: {
679
1142
  readonly EQUAL: "EqualTo";
680
1143
  readonly GREATER_THAN: "GreaterThan";
681
1144
  readonly LESS_THAN: "LessThan";
@@ -686,4 +1149,12 @@ declare const ValueHowToSetUp: {
686
1149
 
687
1150
  export declare function Verification<TData>(props: IVerificationEngine<TData>): JSX.Element;
688
1151
 
1152
+ export declare const ViewMultipleChoices: (props: IViewMultipleChoices) => JSX.Element;
1153
+
1154
+ export declare const ViewMultipleChoicesNew: (props: IViewMultipleChoicesNew) => JSX.Element;
1155
+
1156
+ export declare const ViewRangeField: (props: IViewRangeField) => JSX.Element;
1157
+
1158
+ export declare const ViewRangeFieldNew: (props: IViewRangeFieldNew) => JSX.Element;
1159
+
689
1160
  export { }