@docupace/ihub-config 1.1.30 → 1.1.31
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/README.md +182 -182
- package/dist/config-service.d.ts +2 -2
- package/dist/config-service.d.ts.map +1 -1
- package/dist/config-service.js +7 -5
- package/dist/config-service.js.map +1 -1
- package/dist/model/graphs/config/common.graphql +7 -7
- package/dist/model/graphs/config/fields.graphql +454 -454
- package/dist/model/graphs/config/menu.graphql +60 -60
- package/dist/model/graphs/config/mutation.graphql +30 -30
- package/dist/model/graphs/config/page.graphql +283 -283
- package/dist/model/graphs/config/panel.graphql +43 -43
- package/dist/model/graphs/config/query.graphql +102 -93
- package/dist/model/graphs/config/rules.graphql +116 -116
- package/dist/model/graphs/config/selectOptions.graphql +48 -48
- package/dist/model/graphs/config/table.graphql +231 -231
- package/dist/model/graphs/config/tests.graphql +16 -16
- package/dist/model/graphs/config/theme.graphql +41 -41
- package/dist/model/graphs/config/ui-components.graphql +11 -11
- package/dist/model/graphs/domains/scalars.graphql +3 -3
- package/dist/model/graphs/filter.graphql +5 -5
- package/dist/model/graphs/schema.graphql +7 -7
- package/model/graphs/config/common.graphql +7 -7
- package/model/graphs/config/fields.graphql +454 -454
- package/model/graphs/config/menu.graphql +60 -60
- package/model/graphs/config/mutation.graphql +30 -30
- package/model/graphs/config/page.graphql +283 -283
- package/model/graphs/config/panel.graphql +43 -43
- package/model/graphs/config/query.graphql +102 -93
- package/model/graphs/config/rules.graphql +116 -116
- package/model/graphs/config/selectOptions.graphql +48 -48
- package/model/graphs/config/table.graphql +231 -231
- package/model/graphs/config/tests.graphql +16 -16
- package/model/graphs/config/theme.graphql +41 -41
- package/model/graphs/config/ui-components.graphql +11 -11
- package/model/graphs/domains/scalars.graphql +3 -3
- package/model/graphs/filter.graphql +5 -5
- package/model/graphs/schema.graphql +7 -7
- package/package.json +81 -83
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
interface IMenuItem {
|
|
2
|
-
name: String!
|
|
3
|
-
label: String!
|
|
4
|
-
icon: String
|
|
5
|
-
url: String
|
|
6
|
-
color: String
|
|
7
|
-
action: String
|
|
8
|
-
component: String
|
|
9
|
-
description: String
|
|
10
|
-
visibilityCondition: String
|
|
11
|
-
disabledCondition: String
|
|
12
|
-
config: JSON
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type MenuItem implements IMenuItem {
|
|
16
|
-
name: String!
|
|
17
|
-
label: String!
|
|
18
|
-
icon: String
|
|
19
|
-
url: String
|
|
20
|
-
color: String
|
|
21
|
-
action: String
|
|
22
|
-
component: String
|
|
23
|
-
tooltip: String
|
|
24
|
-
description: String
|
|
25
|
-
visibilityCondition: String
|
|
26
|
-
disabledCondition: String
|
|
27
|
-
config: JSON
|
|
28
|
-
"""
|
|
29
|
-
Child menu items. When present, this item acts as a collapsible group
|
|
30
|
-
header rather than a navigable leaf (consumers should treat a MenuItem
|
|
31
|
-
with `items` and no `url` as a group).
|
|
32
|
-
"""
|
|
33
|
-
items: [MenuItem!]
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type ActionButton implements IMenuItem {
|
|
37
|
-
name: String!
|
|
38
|
-
label: String!
|
|
39
|
-
icon: String
|
|
40
|
-
url: String
|
|
41
|
-
color: String
|
|
42
|
-
variant: ActionButtonVariant
|
|
43
|
-
component: String
|
|
44
|
-
action: String
|
|
45
|
-
disabled: Boolean
|
|
46
|
-
menuItems: [MenuItem!]
|
|
47
|
-
"""
|
|
48
|
-
Reference to a dynamic menu configuration.
|
|
49
|
-
When set, menuItems will be loaded from the backend instead of static config.
|
|
50
|
-
"""
|
|
51
|
-
dynamicMenuRef: String
|
|
52
|
-
visibilityCondition: String
|
|
53
|
-
description: String
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
enum ActionButtonVariant {
|
|
57
|
-
INLINE
|
|
58
|
-
DROPDOWN
|
|
59
|
-
INLINE_DROPDOWN
|
|
60
|
-
}
|
|
1
|
+
interface IMenuItem {
|
|
2
|
+
name: String!
|
|
3
|
+
label: String!
|
|
4
|
+
icon: String
|
|
5
|
+
url: String
|
|
6
|
+
color: String
|
|
7
|
+
action: String
|
|
8
|
+
component: String
|
|
9
|
+
description: String
|
|
10
|
+
visibilityCondition: String
|
|
11
|
+
disabledCondition: String
|
|
12
|
+
config: JSON
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type MenuItem implements IMenuItem {
|
|
16
|
+
name: String!
|
|
17
|
+
label: String!
|
|
18
|
+
icon: String
|
|
19
|
+
url: String
|
|
20
|
+
color: String
|
|
21
|
+
action: String
|
|
22
|
+
component: String
|
|
23
|
+
tooltip: String
|
|
24
|
+
description: String
|
|
25
|
+
visibilityCondition: String
|
|
26
|
+
disabledCondition: String
|
|
27
|
+
config: JSON
|
|
28
|
+
"""
|
|
29
|
+
Child menu items. When present, this item acts as a collapsible group
|
|
30
|
+
header rather than a navigable leaf (consumers should treat a MenuItem
|
|
31
|
+
with `items` and no `url` as a group).
|
|
32
|
+
"""
|
|
33
|
+
items: [MenuItem!]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type ActionButton implements IMenuItem {
|
|
37
|
+
name: String!
|
|
38
|
+
label: String!
|
|
39
|
+
icon: String
|
|
40
|
+
url: String
|
|
41
|
+
color: String
|
|
42
|
+
variant: ActionButtonVariant
|
|
43
|
+
component: String
|
|
44
|
+
action: String
|
|
45
|
+
disabled: Boolean
|
|
46
|
+
menuItems: [MenuItem!]
|
|
47
|
+
"""
|
|
48
|
+
Reference to a dynamic menu configuration.
|
|
49
|
+
When set, menuItems will be loaded from the backend instead of static config.
|
|
50
|
+
"""
|
|
51
|
+
dynamicMenuRef: String
|
|
52
|
+
visibilityCondition: String
|
|
53
|
+
description: String
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
enum ActionButtonVariant {
|
|
57
|
+
INLINE
|
|
58
|
+
DROPDOWN
|
|
59
|
+
INLINE_DROPDOWN
|
|
60
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
input WidgetInput {
|
|
3
|
-
name : String
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
input DashboardRowInput {
|
|
7
|
-
title : String
|
|
8
|
-
name: String
|
|
9
|
-
hidden: Boolean
|
|
10
|
-
layout: Number
|
|
11
|
-
elements : [WidgetInput!]
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
input DashboardPanelInput {
|
|
15
|
-
rows : [DashboardRowInput]
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
input DashboardPageInput {
|
|
19
|
-
title: String
|
|
20
|
-
panel : DashboardPanelInput
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type PageMutation {
|
|
24
|
-
updateDashboard(input: DashboardPageInput) : DashboardPage
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
type ConfigMutation {
|
|
28
|
-
refresh: Boolean
|
|
29
|
-
pages: PageMutation
|
|
30
|
-
}
|
|
1
|
+
|
|
2
|
+
input WidgetInput {
|
|
3
|
+
name : String
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
input DashboardRowInput {
|
|
7
|
+
title : String
|
|
8
|
+
name: String
|
|
9
|
+
hidden: Boolean
|
|
10
|
+
layout: Number
|
|
11
|
+
elements : [WidgetInput!]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
input DashboardPanelInput {
|
|
15
|
+
rows : [DashboardRowInput]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
input DashboardPageInput {
|
|
19
|
+
title: String
|
|
20
|
+
panel : DashboardPanelInput
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type PageMutation {
|
|
24
|
+
updateDashboard(input: DashboardPageInput) : DashboardPage
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type ConfigMutation {
|
|
28
|
+
refresh: Boolean
|
|
29
|
+
pages: PageMutation
|
|
30
|
+
}
|