@docupace/ihub-config 1.0.4 → 1.0.5

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.
Files changed (32) hide show
  1. package/README.md +82 -82
  2. package/dist/model/graphs/config/common.graphql +7 -7
  3. package/dist/model/graphs/config/fields.graphql +338 -338
  4. package/dist/model/graphs/config/menu.graphql +46 -41
  5. package/dist/model/graphs/config/mutation.graphql +30 -30
  6. package/dist/model/graphs/config/page.graphql +227 -227
  7. package/dist/model/graphs/config/panel.graphql +30 -30
  8. package/dist/model/graphs/config/query.graphql +55 -55
  9. package/dist/model/graphs/config/selectOptions.graphql +47 -47
  10. package/dist/model/graphs/config/table.graphql +135 -121
  11. package/dist/model/graphs/config/tests.graphql +16 -16
  12. package/dist/model/graphs/config/theme.graphql +41 -41
  13. package/dist/model/graphs/config/ui-components.graphql +10 -10
  14. package/dist/model/graphs/domains/scalars.graphql +3 -3
  15. package/dist/model/graphs/filter.graphql +5 -5
  16. package/dist/model/graphs/schema.graphql +7 -7
  17. package/model/graphs/config/common.graphql +7 -7
  18. package/model/graphs/config/fields.graphql +338 -338
  19. package/model/graphs/config/menu.graphql +46 -41
  20. package/model/graphs/config/mutation.graphql +30 -30
  21. package/model/graphs/config/page.graphql +227 -227
  22. package/model/graphs/config/panel.graphql +30 -30
  23. package/model/graphs/config/query.graphql +55 -55
  24. package/model/graphs/config/selectOptions.graphql +47 -47
  25. package/model/graphs/config/table.graphql +135 -121
  26. package/model/graphs/config/tests.graphql +16 -16
  27. package/model/graphs/config/theme.graphql +41 -41
  28. package/model/graphs/config/ui-components.graphql +10 -10
  29. package/model/graphs/domains/scalars.graphql +3 -3
  30. package/model/graphs/filter.graphql +5 -5
  31. package/model/graphs/schema.graphql +7 -7
  32. package/package.json +1 -1
@@ -1,41 +1,46 @@
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
- config: JSON
12
- }
13
-
14
- type MenuItem implements IMenuItem {
15
- name: String!
16
- label: String!
17
- icon: String
18
- url: String
19
- color: String
20
- action: String
21
- component: String
22
- tooltip: String
23
- description: String
24
- visibilityCondition: String
25
- config: JSON
26
- }
27
-
28
- type ActionButton implements IMenuItem {
29
- name: String!
30
- label: String!
31
- icon: String
32
- url: String
33
- color: String
34
- variant: String
35
- component: String
36
- action: String
37
- disabled: Boolean
38
- menuItems: [MenuItem!]
39
- visibilityCondition: String
40
- description: String
41
- }
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
+ config: JSON
12
+ }
13
+
14
+ type MenuItem implements IMenuItem {
15
+ name: String!
16
+ label: String!
17
+ icon: String
18
+ url: String
19
+ color: String
20
+ action: String
21
+ component: String
22
+ tooltip: String
23
+ description: String
24
+ visibilityCondition: String
25
+ config: JSON
26
+ }
27
+
28
+ type ActionButton implements IMenuItem {
29
+ name: String!
30
+ label: String!
31
+ icon: String
32
+ url: String
33
+ color: String
34
+ variant: ActionButtonVariant
35
+ component: String
36
+ action: String
37
+ disabled: Boolean
38
+ menuItems: [MenuItem!]
39
+ visibilityCondition: String
40
+ description: String
41
+ }
42
+
43
+ enum ActionButtonVariant {
44
+ INLINE
45
+ DROPDOWN
46
+ }
@@ -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
+ }
@@ -1,227 +1,227 @@
1
- interface Page {
2
- title: String
3
- description: String
4
- config: JSON
5
- }
6
-
7
- type OverviewPage implements Page {
8
- title: String
9
- description: String
10
- domain: String
11
- cards: [Card]
12
- menuItems: [MenuItem]
13
- config: JSON
14
- tables: [Table]
15
- }
16
-
17
- type TablePage implements Page {
18
- title: String
19
- component: String
20
- description: String
21
- actionButton: ActionButton
22
- table: AnyTable!
23
- panel: Panel
24
- config: JSON
25
- }
26
-
27
- type ComponentPage implements Page {
28
- title: String
29
- description: String
30
- component: String
31
- panel: Panel
32
- config: JSON
33
- }
34
-
35
- type TabbedPage implements Page {
36
- title: String
37
- description: String
38
- tabs: [Tab!]!
39
- config: JSON
40
- gqlQuery: GQLQuery
41
- # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
42
- mutations: JSON
43
- }
44
-
45
- type DetailsPage implements Page {
46
- title: String
47
- description: String
48
- panel: Panel
49
- config: JSON
50
- }
51
-
52
- type DomainRecordTemplate implements Page {
53
- title: String
54
- description: String
55
- sideMenu: SideMenu
56
- viewer: Viewer
57
- config: JSON
58
- }
59
-
60
- type PageLayout implements Page {
61
- title: String
62
- description: String
63
- sideMenu: SideMenu
64
- widgets: [ExternalWidget]
65
- config: JSON
66
- }
67
-
68
- type DashboardPage implements Page {
69
- panel: DashboardPanel
70
- title: String
71
- description: String
72
- config: JSON
73
- }
74
-
75
- type ReportPage implements Page {
76
- title: String
77
- description: String
78
- controlPanel: Panel
79
- dashboardPanel: DashboardPanel
80
- config: JSON
81
- }
82
-
83
- type AnyPage implements Page {
84
- title: String
85
- description: String
86
- tables: [NamedTable!]
87
- panels: [Panel!]
88
- tabbedPages: [TabbedPage!]
89
- config: JSON
90
- }
91
-
92
- type WizardPage implements Page {
93
- description: String
94
- title : String
95
- dataSource: String
96
- steps: [Step!]!
97
- loadWizardByCustodian: [LoadWizardByCustodian]
98
- defaultWizard: String
99
- # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
100
- mutations: JSON
101
- config: JSON
102
- }
103
-
104
- type LoadWizardByCustodian {
105
- custodian: String
106
- wizard: String
107
- }
108
-
109
- type Step {
110
- id : String!
111
- label : String!
112
- icon: String
113
- page : Page
114
- visibilityCondition: String
115
- pathUrl: String
116
- }
117
-
118
- type SideMenu {
119
- headerCard: Card
120
- menuItems: [MenuItem!]
121
- dataCard: Card
122
- }
123
-
124
- type CardView {
125
- queryName: String
126
- card: Card!
127
- groups: CardGroups
128
- }
129
-
130
- type CardGroups {
131
- queryName: String!
132
- titlePath: String!
133
- configKeyPath: String!
134
- dataKeyPath: String!
135
- }
136
-
137
- type Tab {
138
- name: String!
139
- label: String!
140
- page: Page!
141
- visibilityCondition: String
142
- }
143
-
144
- type DashboardPanel implements IPanel {
145
- name: String
146
- rows: [DashboardPanelRow!]
147
- }
148
-
149
- type DashboardPanelRow implements IPanelRow {
150
- name: String!
151
- title: String
152
- titleVariant: String
153
- layout: Number
154
- hidden: Boolean
155
- visibilityCondition: String
156
- elements: [Widget!]
157
- }
158
-
159
- type Preview {
160
- headerCard: Card
161
- panel: Panel
162
- }
163
-
164
- interface ICard implements IElement {
165
- name: String
166
- component: String
167
- config: JSON
168
- }
169
-
170
- interface QuickApp {
171
- url: String
172
- appPreference: String
173
- target: Boolean
174
- }
175
-
176
- type CardRow {
177
- name: String
178
- paths: [String!]
179
- expression: String
180
- icon: String
181
- component: String
182
- }
183
-
184
- type Card implements ICard & IRowElement & IElement {
185
- name: String
186
- component: String!
187
- config: JSON
188
- cols: Int
189
- title: String
190
- rows: [CardRow]
191
- }
192
-
193
- type Widget implements ICard & IRowElement & IElement & QuickApp {
194
- id: String!
195
- name: String
196
- title: String
197
- description: String
198
- component: String
199
- config: JSON
200
- cols: Int
201
- table: AnyTable
202
- }
203
-
204
- type ExternalWidget {
205
- id: String
206
- name: String
207
- description: String
208
- visibilityCondition: String
209
- config: JSON
210
- }
211
-
212
- type ViewerOptions {
213
- thumbnails: Boolean
214
- pageNavigation: Boolean
215
- lazyLoading: Boolean
216
- }
217
-
218
- type ViewerToolbar {
219
- menuItems: [MenuItem!]!
220
- actionButton: ActionButton
221
- }
222
-
223
- type Viewer {
224
- documentActions: [MenuItem!]
225
- options: ViewerOptions
226
- toolbar: ViewerToolbar
227
- }
1
+ interface Page {
2
+ title: String
3
+ description: String
4
+ config: JSON
5
+ }
6
+
7
+ type OverviewPage implements Page {
8
+ title: String
9
+ description: String
10
+ domain: String
11
+ cards: [Card]
12
+ menuItems: [MenuItem]
13
+ config: JSON
14
+ tables: [Table]
15
+ }
16
+
17
+ type TablePage implements Page {
18
+ title: String
19
+ component: String
20
+ description: String
21
+ actionButton: ActionButton
22
+ table: AnyTable!
23
+ panel: Panel
24
+ config: JSON
25
+ }
26
+
27
+ type ComponentPage implements Page {
28
+ title: String
29
+ description: String
30
+ component: String
31
+ panel: Panel
32
+ config: JSON
33
+ }
34
+
35
+ type TabbedPage implements Page {
36
+ title: String
37
+ description: String
38
+ tabs: [Tab!]!
39
+ config: JSON
40
+ gqlQuery: GQLQuery
41
+ # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
42
+ mutations: JSON
43
+ }
44
+
45
+ type DetailsPage implements Page {
46
+ title: String
47
+ description: String
48
+ panel: Panel
49
+ config: JSON
50
+ }
51
+
52
+ type DomainRecordTemplate implements Page {
53
+ title: String
54
+ description: String
55
+ sideMenu: SideMenu
56
+ viewer: Viewer
57
+ config: JSON
58
+ }
59
+
60
+ type PageLayout implements Page {
61
+ title: String
62
+ description: String
63
+ sideMenu: SideMenu
64
+ widgets: [ExternalWidget]
65
+ config: JSON
66
+ }
67
+
68
+ type DashboardPage implements Page {
69
+ panel: DashboardPanel
70
+ title: String
71
+ description: String
72
+ config: JSON
73
+ }
74
+
75
+ type ReportPage implements Page {
76
+ title: String
77
+ description: String
78
+ controlPanel: Panel
79
+ dashboardPanel: DashboardPanel
80
+ config: JSON
81
+ }
82
+
83
+ type AnyPage implements Page {
84
+ title: String
85
+ description: String
86
+ tables: [NamedTable!]
87
+ panels: [Panel!]
88
+ tabbedPages: [TabbedPage!]
89
+ config: JSON
90
+ }
91
+
92
+ type WizardPage implements Page {
93
+ description: String
94
+ title : String
95
+ dataSource: String
96
+ steps: [Step!]!
97
+ loadWizardByCustodian: [LoadWizardByCustodian]
98
+ defaultWizard: String
99
+ # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
100
+ mutations: JSON
101
+ config: JSON
102
+ }
103
+
104
+ type LoadWizardByCustodian {
105
+ custodian: String
106
+ wizard: String
107
+ }
108
+
109
+ type Step {
110
+ id : String!
111
+ label : String!
112
+ icon: String
113
+ page : Page
114
+ visibilityCondition: String
115
+ pathUrl: String
116
+ }
117
+
118
+ type SideMenu {
119
+ headerCard: Card
120
+ menuItems: [MenuItem!]
121
+ dataCard: Card
122
+ }
123
+
124
+ type CardView {
125
+ queryName: String
126
+ card: Card!
127
+ groups: CardGroups
128
+ }
129
+
130
+ type CardGroups {
131
+ queryName: String!
132
+ titlePath: String!
133
+ configKeyPath: String!
134
+ dataKeyPath: String!
135
+ }
136
+
137
+ type Tab {
138
+ name: String!
139
+ label: String!
140
+ page: Page!
141
+ visibilityCondition: String
142
+ }
143
+
144
+ type DashboardPanel implements IPanel {
145
+ name: String
146
+ rows: [DashboardPanelRow!]
147
+ }
148
+
149
+ type DashboardPanelRow implements IPanelRow {
150
+ name: String!
151
+ title: String
152
+ titleVariant: String
153
+ layout: Number
154
+ hidden: Boolean
155
+ visibilityCondition: String
156
+ elements: [Widget!]
157
+ }
158
+
159
+ type Preview {
160
+ headerCard: Card
161
+ panel: Panel
162
+ }
163
+
164
+ interface ICard implements IElement {
165
+ name: String
166
+ component: String
167
+ config: JSON
168
+ }
169
+
170
+ interface QuickApp {
171
+ url: String
172
+ appPreference: String
173
+ target: Boolean
174
+ }
175
+
176
+ type CardRow {
177
+ name: String
178
+ paths: [String!]
179
+ expression: String
180
+ icon: String
181
+ component: String
182
+ }
183
+
184
+ type Card implements ICard & IRowElement & IElement {
185
+ name: String
186
+ component: String!
187
+ config: JSON
188
+ cols: Int
189
+ title: String
190
+ rows: [CardRow]
191
+ }
192
+
193
+ type Widget implements ICard & IRowElement & IElement & QuickApp {
194
+ id: String!
195
+ name: String
196
+ title: String
197
+ description: String
198
+ component: String
199
+ config: JSON
200
+ cols: Int
201
+ table: AnyTable
202
+ }
203
+
204
+ type ExternalWidget {
205
+ id: String
206
+ name: String
207
+ description: String
208
+ visibilityCondition: String
209
+ config: JSON
210
+ }
211
+
212
+ type ViewerOptions {
213
+ thumbnails: Boolean
214
+ pageNavigation: Boolean
215
+ lazyLoading: Boolean
216
+ }
217
+
218
+ type ViewerToolbar {
219
+ menuItems: [MenuItem!]!
220
+ actionButton: ActionButton
221
+ }
222
+
223
+ type Viewer {
224
+ documentActions: [MenuItem!]
225
+ options: ViewerOptions
226
+ toolbar: ViewerToolbar
227
+ }
@@ -1,30 +1,30 @@
1
- interface IPanel {
2
- name: String
3
- rows: [IPanelRow!]
4
- dataType: String
5
- }
6
-
7
- interface IPanelRow {
8
- elements: [IRowElement!]
9
- name: String
10
- title: String
11
- titleVariant: String
12
- visibilityCondition: String
13
- }
14
-
15
- type Panel implements IPanel {
16
- columns: Int
17
- isGrouped: Boolean
18
- name: String
19
- rows: [PanelRow!]!
20
- dataType: String
21
- }
22
-
23
- type PanelRow implements IPanelRow {
24
- elements: [IRowElement!]
25
- hasDivider: Boolean
26
- name: String
27
- title: String
28
- titleVariant: String
29
- visibilityCondition: String
30
- }
1
+ interface IPanel {
2
+ name: String
3
+ rows: [IPanelRow!]
4
+ dataType: String
5
+ }
6
+
7
+ interface IPanelRow {
8
+ elements: [IRowElement!]
9
+ name: String
10
+ title: String
11
+ titleVariant: String
12
+ visibilityCondition: String
13
+ }
14
+
15
+ type Panel implements IPanel {
16
+ columns: Int
17
+ isGrouped: Boolean
18
+ name: String
19
+ rows: [PanelRow!]!
20
+ dataType: String
21
+ }
22
+
23
+ type PanelRow implements IPanelRow {
24
+ elements: [IRowElement!]
25
+ hasDivider: Boolean
26
+ name: String
27
+ title: String
28
+ titleVariant: String
29
+ visibilityCondition: String
30
+ }