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