@bit.rhplus/ui.grid-layout 0.0.3 → 0.0.4

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/gridLayout.js CHANGED
@@ -1,107 +1,107 @@
1
- /**
2
- * Grid Layout API konfigurace pro komunikaci s Grid API službou
3
- * Poskytuje centralizovanou správu personalizovaných nastavení gridů
4
- */
5
-
6
- /**
7
- * Načítá seznam polí pro konkrétní grid s personalizací uživatele
8
- * POST /api/UserFields
9
- *
10
- * Request body: UserFieldsCommand
11
- * {
12
- * userKey: Guid,
13
- * applicationName: string,
14
- * gridName: string,
15
- * filterName?: string
16
- * }
17
- *
18
- * Response: UserFieldsResponse
19
- * {
20
- * success: boolean,
21
- * data: UserFieldModel[]
22
- * }
23
- */
24
- export const userFieldsApi = {
25
- url: '/grid_layout_api/Grid/UserFields',
26
- methodType: "POST",
27
- version: "1.0",
28
- compression: true,
29
- withCredentials: true
30
- };
31
-
32
- /**
33
- * Načítá konkrétní jeden grid pro uživatele
34
- * POST /api/GetSingleGrid
35
- *
36
- * Request body: GetSingleGridCommand
37
- * {
38
- * userKey: Guid,
39
- * applicationName: string,
40
- * gridName: string,
41
- * filterName?: string
42
- * }
43
- *
44
- * Response: UserFieldsResponse
45
- * {
46
- * success: boolean,
47
- * data: UserFieldModel[]
48
- * }
49
- */
50
- export const getSingleGridApi = {
51
- url: '/grid_layout_api/Grid/GetSingleGrid',
52
- methodType: "POST",
53
- version: "1.0",
54
- compression: true,
55
- withCredentials: true
56
- };
57
-
58
- /**
59
- * Načítá seznam všech gridů uživatele v aplikaci
60
- * POST /api/GetUserGrids
61
- *
62
- * Request body: GetUserGridsCommand
63
- * {
64
- * userKey: Guid,
65
- * applicationName: string
66
- * }
67
- *
68
- * Response: GetUserGridsResponse
69
- * {
70
- * success: boolean,
71
- * data: UserGridSummary[]
72
- * }
73
- */
74
- export const getUserGridsApi = {
75
- url: '/grid_layout_api/Grid/GetUserGrids',
76
- methodType: "POST",
77
- version: "1.0",
78
- compression: true,
79
- withCredentials: true
80
- };
81
-
82
- /**
83
- * Ukládá nebo aktualizuje personalizované nastavení gridu s merge logikou
84
- * POST /api/SaveUserFields
85
- *
86
- * Request body: SaveUserFieldsCommand
87
- * {
88
- * userKey: Guid,
89
- * applicationName: string,
90
- * gridName: string,
91
- * filterName?: string,
92
- * userFields: UserFieldModel[]
93
- * }
94
- *
95
- * Response: SaveUserFieldsResponse
96
- * {
97
- * success: boolean,
98
- * message?: string
99
- * }
100
- */
101
- export const saveGridLayoutApi = {
102
- url: '/grid_layout_api/Grid/SaveUserFields',
103
- methodType: "POST",
104
- version: "1.0",
105
- compression: true,
106
- withCredentials: true
1
+ /**
2
+ * Grid Layout API konfigurace pro komunikaci s Grid API službou
3
+ * Poskytuje centralizovanou správu personalizovaných nastavení gridů
4
+ */
5
+
6
+ /**
7
+ * Načítá seznam polí pro konkrétní grid s personalizací uživatele
8
+ * POST /api/UserFields
9
+ *
10
+ * Request body: UserFieldsCommand
11
+ * {
12
+ * userKey: Guid,
13
+ * applicationName: string,
14
+ * gridName: string,
15
+ * filterName?: string
16
+ * }
17
+ *
18
+ * Response: UserFieldsResponse
19
+ * {
20
+ * success: boolean,
21
+ * data: UserFieldModel[]
22
+ * }
23
+ */
24
+ export const userFieldsApi = {
25
+ url: '/grid_layout_api/Grid/UserFields',
26
+ methodType: "POST",
27
+ version: "1.0",
28
+ compression: true,
29
+ withCredentials: true
30
+ };
31
+
32
+ /**
33
+ * Načítá konkrétní jeden grid pro uživatele
34
+ * POST /api/GetSingleGrid
35
+ *
36
+ * Request body: GetSingleGridCommand
37
+ * {
38
+ * userKey: Guid,
39
+ * applicationName: string,
40
+ * gridName: string,
41
+ * filterName?: string
42
+ * }
43
+ *
44
+ * Response: UserFieldsResponse
45
+ * {
46
+ * success: boolean,
47
+ * data: UserFieldModel[]
48
+ * }
49
+ */
50
+ export const getSingleGridApi = {
51
+ url: '/grid_layout_api/Grid/GetSingleGrid',
52
+ methodType: "POST",
53
+ version: "1.0",
54
+ compression: true,
55
+ withCredentials: true
56
+ };
57
+
58
+ /**
59
+ * Načítá seznam všech gridů uživatele v aplikaci
60
+ * POST /api/GetUserGrids
61
+ *
62
+ * Request body: GetUserGridsCommand
63
+ * {
64
+ * userKey: Guid,
65
+ * applicationName: string
66
+ * }
67
+ *
68
+ * Response: GetUserGridsResponse
69
+ * {
70
+ * success: boolean,
71
+ * data: UserGridSummary[]
72
+ * }
73
+ */
74
+ export const getUserGridsApi = {
75
+ url: '/grid_layout_api/Grid/GetUserGrids',
76
+ methodType: "POST",
77
+ version: "1.0",
78
+ compression: true,
79
+ withCredentials: true
80
+ };
81
+
82
+ /**
83
+ * Ukládá nebo aktualizuje personalizované nastavení gridu s merge logikou
84
+ * POST /api/SaveUserFields
85
+ *
86
+ * Request body: SaveUserFieldsCommand
87
+ * {
88
+ * userKey: Guid,
89
+ * applicationName: string,
90
+ * gridName: string,
91
+ * filterName?: string,
92
+ * userFields: UserFieldModel[]
93
+ * }
94
+ *
95
+ * Response: SaveUserFieldsResponse
96
+ * {
97
+ * success: boolean,
98
+ * message?: string
99
+ * }
100
+ */
101
+ export const saveGridLayoutApi = {
102
+ url: '/grid_layout_api/Grid/SaveUserFields',
103
+ methodType: "POST",
104
+ version: "1.0",
105
+ compression: true,
106
+ withCredentials: true
107
107
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@bit.rhplus/ui.grid-layout",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
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.3"
9
+ "version": "0.0.4"
10
10
  },
11
11
  "dependencies": {
12
12
  "@ant-design/icons": "^5.4.0",