1mpacto-react-ui 0.2.0-beta.6 → 0.2.0-beta.8

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,7 +1,7 @@
1
1
  declare const _default: {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "0.2.0-beta.6",
4
+ "version": "0.2.0-beta.8",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=20.19.4",
@@ -38,6 +38,7 @@ declare const _default: {
38
38
  "@stylistic/eslint-plugin": "^5.2.2",
39
39
  "@types/js-cookie": "^3.0.6",
40
40
  "@types/node": "^20",
41
+ "@types/node-forge": "^1.3.14",
41
42
  "@types/react": "^19.1.9",
42
43
  "@types/react-dom": "^19.1.7",
43
44
  "@typescript-eslint/eslint-plugin": "^8.38.0",
@@ -118,6 +119,7 @@ declare const _default: {
118
119
  "date-fns": "^3.6.0",
119
120
  "js-cookie": "^3.0.5",
120
121
  "lossless-json": "^4.0.2",
122
+ "node-forge": "^1.3.1",
121
123
  "react-aria": "^3.42.0",
122
124
  "react-chartjs-2": "^5.3.0",
123
125
  "react-number-format": "^5.4.4",
@@ -11,7 +11,8 @@ export interface ISidebarModule {
11
11
  svgIcon?: React.ReactNode | null;
12
12
  svgIconActive?: React.ReactNode | null;
13
13
  manualRoute?: boolean;
14
- propsLink?: (value: string) => object;
14
+ propsLink?: (value: string, item: ISidebarModule) => object;
15
+ [key: string]: unknown;
15
16
  }
16
17
  export interface ISidebar<T extends React.ElementType> extends React.HTMLAttributes<HTMLDivElement> {
17
18
  as?: T;
@@ -26,7 +27,7 @@ export interface ISidebar<T extends React.ElementType> extends React.HTMLAttribu
26
27
  toleranceWidthIconCompany?: number;
27
28
  footer?: React.ReactNode | React.ReactNode[] | (() => React.ReactNode) | (() => React.ReactNode[]);
28
29
  onClickItems?: (v: ISidebarModule) => void;
29
- propsLink?: (value: string) => object;
30
+ propsLink?: (value: string, item: ISidebarModule) => object;
30
31
  withInheritance?: boolean;
31
32
  }
32
33
  export interface IItemSidebar<T extends React.ElementType> extends ISidebarModule {
@@ -38,7 +39,7 @@ export interface IItemSidebar<T extends React.ElementType> extends ISidebarModul
38
39
  variant?: TVariantSidebarType;
39
40
  setShow: (v: string) => void;
40
41
  onClickItems?: (v: ISidebarModule) => void;
41
- propsLink?: (value: string) => object;
42
+ propsLink?: (value: string, item: ISidebarModule) => object;
42
43
  linkComponent?: T;
43
44
  }
44
45
  export interface ICloneElementSidebar {
@@ -64,3 +64,4 @@ export declare function parseFileName(fileName: string): {
64
64
  extension: string;
65
65
  };
66
66
  export declare const extractElementStringToOriginalValue: (value: string) => string;
67
+ export declare function encryptRSAOAEP<T = object>(data: T, base64Key: string): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "0.2.0-beta.6",
4
+ "version": "0.2.0-beta.8",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=20.19.4",
@@ -38,6 +38,7 @@
38
38
  "@stylistic/eslint-plugin": "^5.2.2",
39
39
  "@types/js-cookie": "^3.0.6",
40
40
  "@types/node": "^20",
41
+ "@types/node-forge": "^1.3.14",
41
42
  "@types/react": "^19.1.9",
42
43
  "@types/react-dom": "^19.1.7",
43
44
  "@typescript-eslint/eslint-plugin": "^8.38.0",
@@ -118,6 +119,7 @@
118
119
  "date-fns": "^3.6.0",
119
120
  "js-cookie": "^3.0.5",
120
121
  "lossless-json": "^4.0.2",
122
+ "node-forge": "^1.3.1",
121
123
  "react-aria": "^3.42.0",
122
124
  "react-chartjs-2": "^5.3.0",
123
125
  "react-number-format": "^5.4.4",