@docupace/ihub-config 1.1.12 → 1.1.13

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 +367 -367
  4. package/dist/model/graphs/config/menu.graphql +49 -49
  5. package/dist/model/graphs/config/mutation.graphql +30 -30
  6. package/dist/model/graphs/config/page.graphql +241 -241
  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 +180 -177
  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 +6 -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 +367 -367
  22. package/model/graphs/config/menu.graphql +49 -49
  23. package/model/graphs/config/mutation.graphql +30 -30
  24. package/model/graphs/config/page.graphql +241 -241
  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 +180 -177
  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,49 +1,49 @@
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
- INLINE_DROPDOWN
49
- }
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
+ INLINE_DROPDOWN
49
+ }
@@ -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,242 +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
- 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
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
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
+ }