@acuteinfo/common-base 1.0.46 → 1.0.47
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/components/common/arrayField/arrayField2.d.ts +1 -0
- package/dist/components/context/propertiesConfig/customProperties.d.ts +16 -0
- package/dist/components/custom/getCurrencySymbol.d.ts +1 -0
- package/dist/components/custom/popupContext.d.ts +1 -1
- package/dist/components/report/types.d.ts +5 -0
- package/dist/components/styledComponent/button/button.d.ts +5 -0
- package/dist/components/utils/utilFunctions/function.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/field.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ export interface ArrayField2Props {
|
|
|
27
27
|
isRemoveButton?: boolean;
|
|
28
28
|
onFormDataChange?: any;
|
|
29
29
|
changeRowOrder?: boolean;
|
|
30
|
+
noRecordMessage?: string;
|
|
30
31
|
}
|
|
31
32
|
export declare const ArrayField2: FC<ArrayField2Props>;
|
|
32
33
|
export declare const ArrayFieldRow: ({ row, getAllRowsValues, fieldKey, oneRow, classes, removeFn, rowIndex, removeRowFn, totalRows, isSubmitting, formState, formName, arrayFieldIDName, arrayFieldName, fixedRows, isDisplayCount, isCustomStyle, disagreeButtonName, agreeButtonName, errorTitle, displayCountName, isRemoveButton, selectedRowIndex, setSelectedRowIndex, }: {
|
|
@@ -53,9 +53,25 @@ export interface CustomProperties {
|
|
|
53
53
|
* Accepts Field MetaData object for additional form fields
|
|
54
54
|
*/
|
|
55
55
|
customExtendedTypes?: ExtendedFieldMetaDataTypeOptional;
|
|
56
|
+
/**
|
|
57
|
+
* UI Configuration for gridwrapper
|
|
58
|
+
*/
|
|
56
59
|
defaultGridConfig?: {
|
|
60
|
+
/**
|
|
61
|
+
* Specify the grid style to appear
|
|
62
|
+
* @default "standard"
|
|
63
|
+
*/
|
|
57
64
|
variant?: "standard" | "contained" | "outlined";
|
|
65
|
+
/**
|
|
66
|
+
* Set false to hide pagination input box for page jump
|
|
67
|
+
* @default true
|
|
68
|
+
*/
|
|
58
69
|
enablePaginationInput?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Set true to enable background color for action buttons. Css variable `--primary-bg` will applied as background.
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
isContainedActionButton?: boolean;
|
|
59
75
|
};
|
|
60
76
|
}
|
|
61
77
|
interface ContextProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
type TIcon = "INFO" | "ERROR" | "WARNING" | "SUCCESS";
|
|
2
|
+
type TIcon = "INFO" | "ERROR" | "WARNING" | "SUCCESS" | "CONFIRM";
|
|
3
3
|
type TButtonName = "Ok" | "Cancel" | "Yes" | "No" | "Close" | "Accept" | "Decline" | (string & Record<never, never>);
|
|
4
4
|
type TMessageBoxParams = {
|
|
5
5
|
messageTitle: string;
|
|
@@ -86,6 +86,11 @@ export interface ReportColumnsType {
|
|
|
86
86
|
};
|
|
87
87
|
color?: (value: string) => string;
|
|
88
88
|
TableCellProps?: any;
|
|
89
|
+
/**
|
|
90
|
+
* Show column name for ButtonRowCell
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
showColumnName?: boolean;
|
|
89
94
|
}
|
|
90
95
|
export interface ReportFilterProps {
|
|
91
96
|
accessor: string;
|
|
@@ -6,6 +6,11 @@ interface AdditionalProps {
|
|
|
6
6
|
endicon?: keyof typeof Icons;
|
|
7
7
|
rotateIcon?: string;
|
|
8
8
|
textColor?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Set false to remove box shadow
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
elevate?: boolean;
|
|
9
14
|
}
|
|
10
15
|
type GradientButtonProps = AdditionalProps & ButtonProps;
|
|
11
16
|
declare const GradientButton: import("react").ForwardRefExoticComponent<Omit<GradientButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -29,7 +29,12 @@ export declare const transformDetailDataForDML: (input1: any, input2: any, keysT
|
|
|
29
29
|
* @returns string | Date | any
|
|
30
30
|
*/
|
|
31
31
|
export declare const getParsedDate: (dateString: string | Date, isStringRequired?: boolean, requiredFormat?: string[]) => string | Date | any;
|
|
32
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Function to uncompress api data
|
|
34
|
+
* @param base64Data zipped data in base64 string
|
|
35
|
+
* @returns uncompressed api JSON Data
|
|
36
|
+
*/
|
|
37
|
+
export declare const uncompressApiResponse: (base64Data: string) => any;
|
|
33
38
|
export declare const getPadAccountNumber: (accountNo: any, optionData: any) => any;
|
|
34
39
|
export declare const getDependetFieldDataArrayField: (inputData: any) => {};
|
|
35
40
|
/**
|