@docupace/ihub-config 1.1.12 → 1.1.14

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.
@@ -1,177 +1,180 @@
1
-
2
- interface ITable {
3
- dataType: String
4
- selection: TableSelection
5
- disableColumnSorting: Boolean
6
- disableRowClick: Boolean
7
- queryName: String!
8
- operationName: String
9
- variableDefinitions: JSON
10
- variablesExpressions: JSON
11
- filter: TableFilter
12
- search: SimpleSearch
13
- menuItems: [MenuItem!]
14
- columns: [Column!]!
15
- rowMenuItems: [MenuItem!]
16
- preview: Preview
17
- cardView: CardView
18
- groupBy: GroupBy
19
- orderBy: [OrderBy!]
20
- flattenDataKey: String
21
- actionButton: ActionButton
22
- pagingMode: String
23
- maxRows: Int
24
- pageSizeOptions: [Int!]
25
- defaultPageSize: Int
26
- deferredLoad: Boolean
27
- useCardView: Boolean
28
- whereFilter: WhereFilter
29
- whereFilterName: String
30
- emptyStateMessage: String
31
- unstructuredData: Boolean
32
- toolbar: Toolbar
33
- pagination: TablePagination
34
- expandable: Expandable
35
- totals: [TotalsItem!]
36
- config: JSON
37
- }
38
-
39
- type TotalsItem {
40
- path: String!
41
- label: String!
42
- component: String
43
- }
44
-
45
- type GroupBy {
46
- path: String
47
- pathExpression: String
48
- orderType: OrderType!
49
- component: String
50
- }
51
-
52
-
53
- type OrderBy {
54
- path: String!
55
- orderType: OrderType!
56
- }
57
-
58
- type TableSelection {
59
- enabled: Boolean
60
- label: String
61
- action: String
62
- disabledCondition: String
63
- visibilityCondition: String
64
- position: TablePinnedPosition
65
- }
66
-
67
- enum TablePinnedPosition {
68
- RIGHT
69
- LEFT
70
- }
71
-
72
- type Toolbar {
73
- columns: ToolbarColumns
74
- }
75
-
76
- type ToolbarColumns {
77
- enabled: Boolean
78
- }
79
-
80
- type TablePagination {
81
- totalCount: TablePaginationTotalCount
82
- }
83
-
84
- type TablePaginationTotalCount {
85
- enabled: Boolean
86
- }
87
-
88
- type Table implements ITable
89
-
90
- type NamedTable implements ITable {
91
- name: String
92
- }
93
-
94
- type TabbedTable {
95
- tabs: [TableTab!]!
96
- }
97
-
98
- union AnyTable = Table | TabbedTable
99
-
100
- type TableTab {
101
- name : String!
102
- label: String!
103
- table: Table!
104
- visibilityCondition: String
105
- }
106
-
107
- type TableFilter {
108
- criteria: [TableCriteria!]!
109
- variant: TableFilterVariant
110
- }
111
-
112
- type DateShortcuts {
113
- enabled: Boolean
114
- days: [Int!]
115
- }
116
-
117
- type TableCriteriaDate {
118
- calendars: Int
119
- format: String
120
- shortcuts: DateShortcuts
121
- }
122
-
123
- type TableCriteria {
124
- name: String!
125
- label: String!
126
- labelProp: String
127
- path: String!
128
- dataType: String
129
- date: TableCriteriaDate
130
- defaultValue: String
131
- multiple: Boolean
132
- exactMatchEnabled: Boolean
133
- operator: String
134
- selectOptions: ISelectOptions
135
- }
136
-
137
- enum TableFilterVariant {
138
- SIDEBAR
139
- MODAL
140
- }
141
-
142
- type Column {
143
- name: String!
144
- label: String!
145
- visible: Boolean
146
- paths: [String!]
147
- expression: String
148
- component: String
149
- sortable: Boolean
150
- flex: Float
151
- pinned: TablePinnedPosition
152
- config: JSON
153
- filter: ColumnFilter
154
- }
155
-
156
- type ColumnFilter {
157
- operators: [String]
158
- path: String
159
- dataType: String
160
- selectOptions: ISelectOptions
161
- }
162
-
163
- type SimpleSearch {
164
- filterType: String
165
- searchBy: String
166
- placeholder: String
167
- selectOptions: QuerySelectOptions!
168
- }
169
-
170
- type WhereFilter {
171
- type: String!
172
- value: JSON!
173
- }
174
-
175
- type Expandable {
176
- component: String
177
- }
1
+
2
+ interface ITable {
3
+ dataType: String
4
+ selection: TableSelection
5
+ disableColumnSorting: Boolean
6
+ disableRowClick: Boolean
7
+ queryName: String!
8
+ operationName: String
9
+ variableDefinitions: JSON
10
+ variablesExpressions: JSON
11
+ filter: TableFilter
12
+ search: SimpleSearch
13
+ menuItems: [MenuItem!]
14
+ columns: [Column!]!
15
+ rowMenuItems: [MenuItem!]
16
+ preview: Preview
17
+ cardView: CardView
18
+ groupBy: GroupBy
19
+ orderBy: [OrderBy!]
20
+ flattenDataKey: String
21
+ actionButton: ActionButton
22
+ pagingMode: String
23
+ maxRows: Int
24
+ pageSizeOptions: [Int!]
25
+ defaultPageSize: Int
26
+ deferredLoad: Boolean
27
+ useCardView: Boolean
28
+ whereFilter: WhereFilter
29
+ whereFilterName: String
30
+ emptyStateMessage: String
31
+ unstructuredData: Boolean
32
+ toolbar: Toolbar
33
+ pagination: TablePagination
34
+ expandable: Expandable
35
+ totals: [TotalsItem!]
36
+ config: JSON
37
+ }
38
+
39
+ type TotalsItem {
40
+ path: String!
41
+ label: String!
42
+ component: String
43
+ }
44
+
45
+ type GroupBy {
46
+ path: String
47
+ pathExpression: String
48
+ orderType: OrderType!
49
+ component: String
50
+ }
51
+
52
+
53
+ type OrderBy {
54
+ path: String!
55
+ orderType: OrderType!
56
+ }
57
+
58
+ type TableSelection {
59
+ enabled: Boolean
60
+ label: String
61
+ action: String
62
+ disabledCondition: String
63
+ visibilityCondition: String
64
+ position: TablePinnedPosition
65
+ }
66
+
67
+ enum TablePinnedPosition {
68
+ RIGHT
69
+ LEFT
70
+ }
71
+
72
+ type Toolbar {
73
+ columns: ToolbarColumns
74
+ }
75
+
76
+ type ToolbarColumns {
77
+ enabled: Boolean
78
+ }
79
+
80
+ type TablePagination {
81
+ totalCount: TablePaginationTotalCount
82
+ }
83
+
84
+ type TablePaginationTotalCount {
85
+ enabled: Boolean
86
+ }
87
+
88
+ type Table implements ITable
89
+
90
+ type NamedTable implements ITable {
91
+ name: String
92
+ }
93
+
94
+ type TabbedTable {
95
+ tabs: [TableTab!]!
96
+ }
97
+
98
+ union AnyTable = Table | TabbedTable
99
+
100
+ type TableTab {
101
+ name : String!
102
+ label: String!
103
+ table: Table!
104
+ visibilityCondition: String
105
+ }
106
+
107
+ type TableFilter {
108
+ criteria: [TableCriteria!]!
109
+ variant: TableFilterVariant
110
+ }
111
+
112
+ type DateShortcuts {
113
+ enabled: Boolean
114
+ days: [Int!]
115
+ }
116
+
117
+ type TableCriteriaDate {
118
+ calendars: Int
119
+ disableFuture: Boolean
120
+ format: String
121
+ shortcuts: DateShortcuts
122
+ }
123
+
124
+ type TableCriteria {
125
+ name: String!
126
+ label: String!
127
+ labelProp: String
128
+ path: String!
129
+ component: String
130
+ config: JSON
131
+ dataType: String
132
+ date: TableCriteriaDate
133
+ defaultValue: String
134
+ multiple: Boolean
135
+ exactMatchEnabled: Boolean
136
+ operator: String
137
+ selectOptions: ISelectOptions
138
+ }
139
+
140
+ enum TableFilterVariant {
141
+ SIDEBAR
142
+ MODAL
143
+ }
144
+
145
+ type Column {
146
+ name: String!
147
+ label: String!
148
+ visible: Boolean
149
+ paths: [String!]
150
+ expression: String
151
+ component: String
152
+ sortable: Boolean
153
+ flex: Float
154
+ pinned: TablePinnedPosition
155
+ config: JSON
156
+ filter: ColumnFilter
157
+ }
158
+
159
+ type ColumnFilter {
160
+ operators: [String]
161
+ path: String
162
+ dataType: String
163
+ selectOptions: ISelectOptions
164
+ }
165
+
166
+ type SimpleSearch {
167
+ filterType: String
168
+ searchBy: String
169
+ placeholder: String
170
+ selectOptions: QuerySelectOptions!
171
+ }
172
+
173
+ type WhereFilter {
174
+ type: String!
175
+ value: JSON!
176
+ }
177
+
178
+ type Expandable {
179
+ component: String
180
+ }
@@ -979,6 +979,8 @@ export type Table = ITable & {
979
979
  };
980
980
  export type TableCriteria = {
981
981
  __typename?: 'TableCriteria';
982
+ component?: Maybe<Scalars['String']['output']>;
983
+ config?: Maybe<Scalars['JSON']['output']>;
982
984
  dataType?: Maybe<Scalars['String']['output']>;
983
985
  date?: Maybe<TableCriteriaDate>;
984
986
  defaultValue?: Maybe<Scalars['String']['output']>;
@@ -994,6 +996,7 @@ export type TableCriteria = {
994
996
  export type TableCriteriaDate = {
995
997
  __typename?: 'TableCriteriaDate';
996
998
  calendars?: Maybe<Scalars['Int']['output']>;
999
+ disableFuture?: Maybe<Scalars['Boolean']['output']>;
997
1000
  format?: Maybe<Scalars['String']['output']>;
998
1001
  shortcuts?: Maybe<DateShortcuts>;
999
1002
  };
@@ -2503,6 +2506,8 @@ export type TableResolvers<ContextType = any, ParentType extends ResolversParent
2503
2506
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2504
2507
  };
2505
2508
  export type TableCriteriaResolvers<ContextType = any, ParentType extends ResolversParentTypes['TableCriteria'] = ResolversParentTypes['TableCriteria']> = {
2509
+ component?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2510
+ config?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
2506
2511
  dataType?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2507
2512
  date?: Resolver<Maybe<ResolversTypes['TableCriteriaDate']>, ParentType, ContextType>;
2508
2513
  defaultValue?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
@@ -2518,6 +2523,7 @@ export type TableCriteriaResolvers<ContextType = any, ParentType extends Resolve
2518
2523
  };
2519
2524
  export type TableCriteriaDateResolvers<ContextType = any, ParentType extends ResolversParentTypes['TableCriteriaDate'] = ResolversParentTypes['TableCriteriaDate']> = {
2520
2525
  calendars?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
2526
+ disableFuture?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
2521
2527
  format?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2522
2528
  shortcuts?: Resolver<Maybe<ResolversTypes['DateShortcuts']>, ParentType, ContextType>;
2523
2529
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;