@docupace/ihub-config 1.0.4 → 1.0.6

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 +228 -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 +228 -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,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
- }
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
+ 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,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
+ }