@acuteinfo/common-base 1.2.57 → 1.2.59

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.
@@ -166,6 +166,10 @@ export interface GridColumnType {
166
166
  tooltip?: string;
167
167
  };
168
168
  disableSortBy?: boolean;
169
+ /**
170
+ * prevent input characters in editableTextfield
171
+ */
172
+ preventSpecialChars?: string | Function | null;
169
173
  }
170
174
  export interface GridConfigType {
171
175
  dense?: boolean;
@@ -86,4 +86,5 @@ export declare const attachcombinedValidationFns: (columns: GridColumnType[], au
86
86
  tooltip?: string | undefined;
87
87
  } | undefined;
88
88
  disableSortBy?: boolean | undefined;
89
+ preventSpecialChars?: string | Function | null | undefined;
89
90
  }[];
@@ -86,4 +86,5 @@ export declare const attachYupSchemaValidator: (columns: GridColumnType[]) => {
86
86
  tooltip?: string | undefined;
87
87
  } | undefined;
88
88
  disableSortBy?: boolean | undefined;
89
+ preventSpecialChars?: string | Function | null | undefined;
89
90
  }[];
@@ -50,10 +50,11 @@ export declare const getDependetFieldDataArrayField: (inputData: any) => {};
50
50
  * Function extracts screen label from menu list data
51
51
  * @param path current location's pathname
52
52
  * @param data menu list data
53
- * @param setScreenCode boolean value to show systemCode with label
53
+ * @param setScreenCode boolean value to show systemCode with label. Default false.
54
+ * @param showUserCode boolean value to show user_code instead of system_code with label. Default false.
54
55
  * @returns label as string
55
56
  */
56
- export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean) => string;
57
+ export declare const getDynamicLabel: (path: string, data: any, setScreenCode?: boolean, showUserCode?: boolean) => string;
57
58
  /**
58
59
  * Function to get the css variables value
59
60
  * @param variableName css variable *e.g. "--theme-color1"*
package/dist/index.d.ts CHANGED
@@ -56,6 +56,7 @@ export * from "./components/report/serverReport/ReportWrapper";
56
56
  export * from "./components/utils/reportExport/context/exportWorkerContext";
57
57
  export * from "./components/customNotistack";
58
58
  export * from "./components/report/types";
59
+ export { ReportExportScreen, type TReportProps, } from "./components/utils/reportExport/ReportExportScreen";
59
60
  export * from "./components/context/propertiesConfig/customProperties";
60
61
  export { AuthContextProvider } from "./components/context/authContext/authContext";
61
62
  export { AgGridTableWrapper } from "./components/agGridTable";