@codezee/sixtify-brahma 0.2.318 → 0.2.320
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/package.json +2 -1
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTextField.d.ts.map +1 -1
- package/packages/shared-components/dist/index.cjs.js +1 -1
- package/packages/shared-components/dist/index.cjs.js.map +1 -1
- package/packages/shared-components/dist/index.esm.js +1 -1
- package/packages/shared-components/dist/index.esm.js.map +1 -1
- package/packages/shared-components/dist/utils/helper.d.ts +6 -1
- package/packages/shared-components/dist/utils/helper.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldValues } from "react-hook-form";
|
|
1
|
+
import type { FieldError, FieldValues } from "react-hook-form";
|
|
2
2
|
export declare const getZIndex: (element: HTMLElement) => number;
|
|
3
3
|
export declare const hslToRgb: (h: number, s: number, l: number) => [number, number, number];
|
|
4
4
|
export type FilterByFields<T extends FieldValues> = {
|
|
@@ -7,4 +7,9 @@ export type FilterByFields<T extends FieldValues> = {
|
|
|
7
7
|
term: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const filterByFields: <T extends FieldValues>({ data, fieldsToSearch, term, }: FilterByFields<T>) => T[];
|
|
10
|
+
export declare const errorMessages: (messageKey?: string) => string | undefined;
|
|
11
|
+
export declare const getErrorProps: (errorObj?: Partial<FieldError> | string | null) => {
|
|
12
|
+
error: boolean;
|
|
13
|
+
helperText: string | undefined;
|
|
14
|
+
};
|
|
10
15
|
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/utils/helper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/utils/helper.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE/D,eAAO,MAAM,SAAS,GAAI,SAAS,WAAW,WAI7C,CAAC;AAEF,eAAO,MAAM,QAAQ,GACnB,GAAG,MAAM,EACT,GAAG,MAAM,EACT,GAAG,MAAM,KACR,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CA8BzB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,IAAI;IAClD,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,cAAc,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,WAAW,EAAE,iCAInD,cAAc,CAAC,CAAC,CAAC,KAAG,CAAC,EAgBvB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,aAAa,MAAM,uBAEhD,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,WAAW,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,GAAG,IAAI;;;CAM9C,CAAC"}
|