@bit.rhplus/ui.grid-layout 0.0.64 → 0.0.66
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/index.d.ts
CHANGED
package/dist/useGridLayout.d.ts
CHANGED
|
@@ -3,22 +3,22 @@ export function useGridLayout({ userKey, applicationName, gridName, filterName,
|
|
|
3
3
|
applicationName: any;
|
|
4
4
|
gridName: any;
|
|
5
5
|
filterName: any;
|
|
6
|
-
enabled?: boolean
|
|
7
|
-
autoSave?: boolean
|
|
8
|
-
autoSaveDelay?: number
|
|
9
|
-
columnDefs?:
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
autoSave?: boolean;
|
|
8
|
+
autoSaveDelay?: number;
|
|
9
|
+
columnDefs?: any[];
|
|
10
10
|
accessToken: any;
|
|
11
|
-
waitForSavedFields?: boolean
|
|
11
|
+
waitForSavedFields?: boolean;
|
|
12
12
|
onLayoutLoaded: any;
|
|
13
13
|
onLayoutSaved: any;
|
|
14
14
|
onError: any;
|
|
15
15
|
}): {
|
|
16
16
|
isLoading: any;
|
|
17
|
-
error:
|
|
17
|
+
error: any;
|
|
18
18
|
isInitialized: boolean;
|
|
19
19
|
isGridReady: boolean;
|
|
20
20
|
shouldShowColumns: boolean;
|
|
21
|
-
preTransformedColumnDefs: any
|
|
21
|
+
preTransformedColumnDefs: any;
|
|
22
22
|
isSaving: boolean;
|
|
23
23
|
hasUnsavedChanges: boolean;
|
|
24
24
|
isApplyingLayout: boolean;
|
|
@@ -48,6 +48,6 @@ export function useGridLayout({ userKey, applicationName, gridName, filterName,
|
|
|
48
48
|
}[];
|
|
49
49
|
savedFields: any;
|
|
50
50
|
columnDefs: any[];
|
|
51
|
-
gridLayoutApi:
|
|
51
|
+
gridLayoutApi: any;
|
|
52
52
|
};
|
|
53
53
|
export default useGridLayout;
|
|
@@ -2,7 +2,7 @@ export function useGridLayoutApi({ userKey, applicationName, gridName, filterNam
|
|
|
2
2
|
userKey: string;
|
|
3
3
|
applicationName: string;
|
|
4
4
|
gridName: string;
|
|
5
|
-
filterName?: string
|
|
6
|
-
accessToken?: string
|
|
7
|
-
}):
|
|
5
|
+
filterName?: string;
|
|
6
|
+
accessToken?: string;
|
|
7
|
+
}): any;
|
|
8
8
|
export default useGridLayoutApi;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bit.rhplus/ui.grid-layout",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
4
4
|
"homepage": "https://bit.cloud/remote-scope/ui/grid-layout",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "remote-scope",
|
|
8
8
|
"name": "ui/grid-layout",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.66"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@ant-design/icons": "^5.4.0",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"antd": "^5.20.6",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
18
|
"@tanstack/react-query": "^5.66.9",
|
|
19
|
-
"@bit.rhplus/
|
|
20
|
-
"@bit.rhplus/
|
|
19
|
+
"@bit.rhplus/draggable-modal": "0.0.16",
|
|
20
|
+
"@bit.rhplus/data": "0.0.87"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@
|
|
23
|
+
"@bitdev/react.react-env": "4.0.14"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"license": "SEE LICENSE IN UNLICENSED",
|
|
29
29
|
"optionalDependencies": {},
|
|
30
30
|
"peerDependenciesMeta": {},
|
|
31
|
+
"type": "module",
|
|
31
32
|
"private": false,
|
|
32
33
|
"publishConfig": {
|
|
33
34
|
"scope": "@bit.rhplus",
|
package/types/env.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
export type ImportMetaEnv = Record<string, string>;
|
|
4
|
+
|
|
5
|
+
interface ImportMeta {
|
|
6
|
+
readonly env: ImportMetaEnv
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare global {
|
|
10
|
+
namespace NodeJS {
|
|
11
|
+
interface ProcessEnv {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
File without changes
|