@docupace/ihub-config 1.1.18 → 1.1.20-admin.0

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.
@@ -11,6 +11,10 @@ interface IField {
11
11
  excludeFromQueryInput: Boolean
12
12
  visibilityCondition: String
13
13
  disabledCondition: String
14
+ """
15
+ Always include this field in the mutation input, even if it is hidden or has not been modified by the user.
16
+ """
17
+ skipDirtyCheck: Boolean
14
18
  }
15
19
 
16
20
  interface IDateRangeField {
@@ -52,7 +56,6 @@ type InputField implements IField & IRowElement & IElement {
52
56
  validation: InputValidation
53
57
  visibilityCondition: String
54
58
  disabledCondition: String
55
- skipDirtyCheck: Boolean
56
59
  # Start of text area configuration, see https://mui.com/material-ui/react-text-field/#multiline
57
60
  multiline: Boolean # optional if at least one other text area parameter is provided
58
61
  rows: Int
@@ -98,6 +101,36 @@ type ControlGroup implements IRowElement & IElement {
98
101
  fields: [Fields!]!
99
102
  }
100
103
 
104
+ # Renders the currently-linked records of a multi-valued reference attribute
105
+ # (`path`) as a table (`columns`, reusing Table's Column config), with a quick
106
+ # typeahead (`search`, reusing Table's SimpleSearch/QuerySelectOptions config)
107
+ # to find and add records of `dataType`, and a delete affordance per row.
108
+ # `rowMenuItems` (reusing Table's MenuItem config) adds further per-row actions,
109
+ # e.g. an `action: "details"` item with a `url` to navigate to that record's own
110
+ # details page.
111
+ type ReferenceTable implements IField & IRowElement & IElement {
112
+ cols: Int
113
+ defaultValue: String
114
+ disabledCondition: String
115
+ excludeFromQueryInput: Boolean
116
+ hidden: Boolean
117
+ label: String
118
+ name: String!
119
+ path: String!
120
+ readonly: Boolean
121
+ required: Boolean
122
+ requiredCondition: String
123
+ skipQuery: Boolean
124
+ visibilityCondition: String
125
+ dataType: String!
126
+ columns: [Column!]!
127
+ search: SimpleSearch
128
+ addLabel: String
129
+ confirmDelete: Boolean
130
+ maxRows: Int
131
+ rowMenuItems: [MenuItem!]
132
+ }
133
+
101
134
  type PhoneField implements IField & IRowElement & IElement {
102
135
  cols: Int
103
136
  defaultValue: String
@@ -25,6 +25,12 @@ type MenuItem implements IMenuItem {
25
25
  visibilityCondition: String
26
26
  disabledCondition: String
27
27
  config: JSON
28
+ """
29
+ Child menu items. When present, this item acts as a collapsible group
30
+ header rather than a navigable leaf (consumers should treat a MenuItem
31
+ with `items` and no `url` as a group).
32
+ """
33
+ items: [MenuItem!]
28
34
  }
29
35
 
30
36
  type ActionButton implements IMenuItem {
@@ -250,8 +250,15 @@ type Viewer {
250
250
  }
251
251
 
252
252
  type Breadcrumb {
253
- label: String!
253
+ label: String
254
254
  path: String
255
255
  isLabelExpression: Boolean
256
256
  isPathExpression: Boolean
257
+ """
258
+ Dot-notation paths (e.g. "name", "folder.title") to try, in order, against
259
+ the already-fetched page record to compute the breadcrumb label. Used only
260
+ when `isLabelExpression` is not set. If none of the paths resolve to a
261
+ non-empty value, the client falls back to the record's `id`.
262
+ """
263
+ valuePaths: [String!]
257
264
  }
@@ -9,6 +9,7 @@ type SelectOptionsFilter {
9
9
  type QuerySelectOptions implements ISelectOptions {
10
10
  type: String
11
11
  labelProp: String # defaults to "name" in ui
12
+ labelExpression: String # JS expression evaluated against each option (e.g. "`${option.name} (${option.internalId})`"); takes precedence over labelProp when set
12
13
  valueProp: String # defaults to "id" in ui
13
14
  queryName: String!
14
15
  variableDefinitions: JSON
@@ -34,6 +34,7 @@ interface ITable {
34
34
  expandable: Expandable
35
35
  totals: [TotalsItem!]
36
36
  config: JSON
37
+ globalName: String
37
38
  }
38
39
 
39
40
  type TotalsItem {
@@ -71,6 +72,8 @@ enum TablePinnedPosition {
71
72
 
72
73
  type Toolbar {
73
74
  columns: ToolbarColumns
75
+ configureColumns: ToolbarColumns
76
+ configureFilters: ToolbarColumns
74
77
  }
75
78
 
76
79
  type ToolbarColumns {