robobyte-front-builder 1.0.14 → 1.0.16
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 +1 -1
- package/src/lib/index.js +5 -0
- package/src/pages/viewBuilder/views/index.js +1 -1
- package/src/services/Endpoints/ViewPermissionEndpoints.js +7 -2
- package/src/services/Endpoints/ViewPermissionRoleEndpoints.js +12 -8
- package/src/services/Endpoints/ViewPermissionRoleItemsEndpoints.js +6 -2
- package/src/services/Endpoints/ViewPermissionRoleUsersEndpoints.js +5 -4
- package/src/services/Endpoints.js +4 -1
package/package.json
CHANGED
package/src/lib/index.js
CHANGED
|
@@ -76,6 +76,11 @@ export { default as NavigatorBuilderPage } from '../pages/navigatorBuilder/index
|
|
|
76
76
|
// ViewerPage renders a saved UI Builder view (read-only production mode).
|
|
77
77
|
// Create a host page at e.g. pages/viewer/[id].jsx and re-export this component.
|
|
78
78
|
export { default as ViewerPage } from '../pages/viewer/[id]/index'
|
|
79
|
+
// Internal list / viewer pages — use these to embed the browse/list experience
|
|
80
|
+
// inside the host app with its own layout.
|
|
81
|
+
export { default as ViewsList } from '../pages/viewBuilder/views/index'
|
|
82
|
+
export { default as ReportsList } from '../pages/reportModule/reportBuilder/reports/index'
|
|
83
|
+
export { default as ReportViewer } from '../pages/reportModule/reportBuilder/reportViewer/index'
|
|
79
84
|
|
|
80
85
|
// ── Core Contexts & Hooks (advanced use) ─────────────────────────────────────
|
|
81
86
|
// Useful when you need to read or drive builder state from the host app.
|
|
@@ -3,23 +3,27 @@ import { ContentTypes, DataTypes } from '../ContentTypes'
|
|
|
3
3
|
export const ViewPermissionEndpoints = {
|
|
4
4
|
Post: {
|
|
5
5
|
GetAllPagedByFilter: {
|
|
6
|
+
group: 'ViewPermission', name: 'GetAllPagedByFilter',
|
|
6
7
|
URL: 'ViewPermission/GetAllPagedByFilter',
|
|
7
8
|
ContentType: ContentTypes.Json,
|
|
8
9
|
DataType: DataTypes.Body
|
|
9
10
|
},
|
|
10
11
|
GetAllByFilter: {
|
|
12
|
+
group: 'ViewPermission', name: 'GetAllByFilter',
|
|
11
13
|
URL: 'ViewPermission/GetAllByFilter',
|
|
12
14
|
ContentType: ContentTypes.Json,
|
|
13
15
|
DataType: DataTypes.Body
|
|
14
16
|
},
|
|
15
|
-
AddPermission
|
|
17
|
+
AddPermission: {
|
|
18
|
+
group: 'ViewPermission', name: 'AddPermission',
|
|
16
19
|
URL: 'ViewPermission',
|
|
17
20
|
ContentType: ContentTypes.Json,
|
|
18
21
|
DataType: DataTypes.Body
|
|
19
22
|
}
|
|
20
23
|
},
|
|
21
24
|
Put: {
|
|
22
|
-
UpdatePermission
|
|
25
|
+
UpdatePermission: {
|
|
26
|
+
group: 'ViewPermission', name: 'UpdatePermission',
|
|
23
27
|
URL: 'ViewPermission',
|
|
24
28
|
ContentType: ContentTypes.Json,
|
|
25
29
|
DataType: DataTypes.Body
|
|
@@ -29,6 +33,7 @@ export const ViewPermissionEndpoints = {
|
|
|
29
33
|
Get: {},
|
|
30
34
|
Delete: {
|
|
31
35
|
DeletePermission: {
|
|
36
|
+
group: 'ViewPermission', name: 'DeletePermission',
|
|
32
37
|
URL: 'ViewPermission',
|
|
33
38
|
ContentType: ContentTypes.Json,
|
|
34
39
|
DataType: DataTypes.Params
|
|
@@ -3,18 +3,21 @@ import { ContentTypes, DataTypes } from '../ContentTypes'
|
|
|
3
3
|
export const ViewPermissionRoleEndpoints = {
|
|
4
4
|
Post: {
|
|
5
5
|
GetViewPermissionRolePaged: {
|
|
6
|
+
group: 'ViewPermissionRole', name: 'GetViewPermissionRolePaged',
|
|
6
7
|
URL: 'ViewPermissionRole/GetAllPagedByFilter',
|
|
7
8
|
ContentType: ContentTypes.Json,
|
|
8
9
|
DataType: DataTypes.Body
|
|
9
10
|
},
|
|
10
|
-
AddViewPermissionRole
|
|
11
|
+
AddViewPermissionRole: {
|
|
12
|
+
group: 'ViewPermissionRole', name: 'AddViewPermissionRole',
|
|
11
13
|
URL: 'ViewPermissionRole',
|
|
12
14
|
ContentType: ContentTypes.Json,
|
|
13
15
|
DataType: DataTypes.Body
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
Put: {
|
|
17
|
-
UpdateViewPermissionRole
|
|
19
|
+
UpdateViewPermissionRole: {
|
|
20
|
+
group: 'ViewPermissionRole', name: 'UpdateViewPermissionRole',
|
|
18
21
|
URL: 'ViewPermissionRole',
|
|
19
22
|
ContentType: ContentTypes.Json,
|
|
20
23
|
DataType: DataTypes.Body
|
|
@@ -22,15 +25,16 @@ export const ViewPermissionRoleEndpoints = {
|
|
|
22
25
|
},
|
|
23
26
|
Patch: {},
|
|
24
27
|
Get: {
|
|
25
|
-
GetRoleById: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
GetRoleById: {
|
|
29
|
+
group: 'ViewPermissionRole', name: 'GetRoleById',
|
|
30
|
+
URL: 'ViewPermissionRole/GetById',
|
|
31
|
+
ContentType: ContentTypes.Json,
|
|
32
|
+
DataType: DataTypes.Body
|
|
30
33
|
},
|
|
31
|
-
|
|
34
|
+
},
|
|
32
35
|
Delete: {
|
|
33
36
|
DeleteViewPermissionRole: {
|
|
37
|
+
group: 'ViewPermissionRole', name: 'DeleteViewPermissionRole',
|
|
34
38
|
URL: 'ViewPermissionRole',
|
|
35
39
|
ContentType: ContentTypes.Json,
|
|
36
40
|
DataType: DataTypes.Params
|
|
@@ -3,18 +3,21 @@ import { ContentTypes, DataTypes } from '../ContentTypes'
|
|
|
3
3
|
export const ViewPermissionRoleItemsEndpoints = {
|
|
4
4
|
Post: {
|
|
5
5
|
GetViewPermissionRoleItems: {
|
|
6
|
+
group: 'ViewPermissionRoleItems', name: 'GetViewPermissionRoleItems',
|
|
6
7
|
URL: 'ViewPermissionRoleItems/GetRolePermissions',
|
|
7
8
|
ContentType: ContentTypes.Json,
|
|
8
9
|
DataType: DataTypes.Body
|
|
9
10
|
},
|
|
10
|
-
UpdateViewPermissionRoleItems
|
|
11
|
+
UpdateViewPermissionRoleItems: {
|
|
12
|
+
group: 'ViewPermissionRoleItems', name: 'UpdateViewPermissionRoleItems',
|
|
11
13
|
URL: 'ViewPermissionRoleItems/UpdatePermissions',
|
|
12
14
|
ContentType: ContentTypes.Json,
|
|
13
15
|
DataType: DataTypes.Body
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
Put: {
|
|
17
|
-
UpdateViewPermissionRole
|
|
19
|
+
UpdateViewPermissionRole: {
|
|
20
|
+
group: 'ViewPermissionRoleItems', name: 'UpdateViewPermissionRole',
|
|
18
21
|
URL: 'ViewPermissionRole',
|
|
19
22
|
ContentType: ContentTypes.Json,
|
|
20
23
|
DataType: DataTypes.Body
|
|
@@ -24,6 +27,7 @@ export const ViewPermissionRoleItemsEndpoints = {
|
|
|
24
27
|
Get: {},
|
|
25
28
|
Delete: {
|
|
26
29
|
DeleteViewPermissionRole: {
|
|
30
|
+
group: 'ViewPermissionRoleItems', name: 'DeleteViewPermissionRole',
|
|
27
31
|
URL: 'ViewPermissionRole',
|
|
28
32
|
ContentType: ContentTypes.Json,
|
|
29
33
|
DataType: DataTypes.Params
|
|
@@ -3,23 +3,24 @@ import { ContentTypes, DataTypes } from '../ContentTypes'
|
|
|
3
3
|
export const ViewPermissionRoleUsersEndpoints = {
|
|
4
4
|
Post: {
|
|
5
5
|
GetViewPermissionRoleUsers: {
|
|
6
|
+
group: 'ViewPermissionRoleUsers', name: 'GetViewPermissionRoleUsers',
|
|
6
7
|
URL: 'ViewPermissionRoleUser/GetAllPagedByFilter',
|
|
7
8
|
ContentType: ContentTypes.Json,
|
|
8
9
|
DataType: DataTypes.Body
|
|
9
10
|
},
|
|
10
|
-
AddUserForRole
|
|
11
|
+
AddUserForRole: {
|
|
12
|
+
group: 'ViewPermissionRoleUsers', name: 'AddUserForRole',
|
|
11
13
|
URL: 'ViewPermissionRoleUser',
|
|
12
14
|
ContentType: ContentTypes.Json,
|
|
13
15
|
DataType: DataTypes.Body
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
|
-
Put: {
|
|
17
|
-
|
|
18
|
-
},
|
|
18
|
+
Put: {},
|
|
19
19
|
Patch: {},
|
|
20
20
|
Get: {},
|
|
21
21
|
Delete: {
|
|
22
22
|
DeleteUserViewPermissionRole: {
|
|
23
|
+
group: 'ViewPermissionRoleUsers', name: 'DeleteUserViewPermissionRole',
|
|
23
24
|
URL: 'ViewPermissionRoleUser',
|
|
24
25
|
ContentType: ContentTypes.Json,
|
|
25
26
|
DataType: DataTypes.Params
|
|
@@ -42,10 +42,13 @@ export const Endpoints = {
|
|
|
42
42
|
FilterEndpoints: { ...FilterEndpoints },
|
|
43
43
|
UserTableTemplates: { ...UserTableTemplateEndpoints },
|
|
44
44
|
Buuny: { ...BunnyEndpoints },
|
|
45
|
-
// ReportBuilder: { ...ReportBuilderEndpoints },
|
|
46
45
|
View: { ...ViewEndpoints },
|
|
47
46
|
ReportBuilder: { ...ReportBuilderEndpoints },
|
|
48
47
|
UiBuilder: { ...UiBuilderEndpoints },
|
|
49
48
|
Navigator: { ...NavigatorEndpoints },
|
|
50
49
|
Widget: { ...WidgetEndpoints },
|
|
50
|
+
ViewPermission: { ...ViewPermissionEndpoints },
|
|
51
|
+
ViewPermissionRole: { ...ViewPermissionRoleEndpoints },
|
|
52
|
+
ViewPermissionRoleItems: { ...ViewPermissionRoleItemsEndpoints },
|
|
53
|
+
ViewPermissionRoleUsers: { ...ViewPermissionRoleUsersEndpoints },
|
|
51
54
|
}
|