@docupace/ihub-config 1.1.31 → 1.1.32
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.
|
@@ -110,9 +110,11 @@ type ControlGroup implements IRowElement & IElement {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
# Renders the currently-linked records of a multi-valued reference attribute
|
|
113
|
-
# (`path`) as a table (`columns`, reusing Table's Column config), with a
|
|
114
|
-
#
|
|
115
|
-
#
|
|
113
|
+
# (`path`) as a table (`columns`, reusing Table's Column config), with a delete
|
|
114
|
+
# affordance per row. Single-source tables use the top-level `search`,
|
|
115
|
+
# `recordCreate`, and `recordUpdate` fields. Multi-source tables instead use
|
|
116
|
+
# `referenceSources`, which takes precedence: when it is set, the top-level
|
|
117
|
+
# `search`, `recordCreate`, and `recordUpdate` are ignored.
|
|
116
118
|
# `rowMenuItems` (reusing Table's MenuItem config) adds further per-row actions,
|
|
117
119
|
# e.g. an `action: "details"` item with a `url` to navigate to that record's own
|
|
118
120
|
# details page.
|
|
@@ -140,6 +142,7 @@ type ReferenceTable implements IField & IRowElement & IElement {
|
|
|
140
142
|
rowMenuItems: [MenuItem!]
|
|
141
143
|
recordCreate: ReferenceTableRecordDialog
|
|
142
144
|
recordUpdate: ReferenceTableRecordDialog
|
|
145
|
+
referenceSources: [ReferenceTableSource!]
|
|
143
146
|
custom: Boolean
|
|
144
147
|
}
|
|
145
148
|
|
|
@@ -148,6 +151,16 @@ type ReferenceTableRecordDialog {
|
|
|
148
151
|
configPath: String!
|
|
149
152
|
}
|
|
150
153
|
|
|
154
|
+
type ReferenceTableSource {
|
|
155
|
+
name: String!
|
|
156
|
+
dataType: String!
|
|
157
|
+
label: String!
|
|
158
|
+
# Picker table shown after the source is chosen from the Add menu.
|
|
159
|
+
table: Table
|
|
160
|
+
recordCreate: ReferenceTableRecordDialog
|
|
161
|
+
recordUpdate: ReferenceTableRecordDialog
|
|
162
|
+
}
|
|
163
|
+
|
|
151
164
|
type PhoneField implements IField & IRowElement & IElement {
|
|
152
165
|
cols: Int
|
|
153
166
|
defaultValue: String
|
|
@@ -110,9 +110,11 @@ type ControlGroup implements IRowElement & IElement {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
# Renders the currently-linked records of a multi-valued reference attribute
|
|
113
|
-
# (`path`) as a table (`columns`, reusing Table's Column config), with a
|
|
114
|
-
#
|
|
115
|
-
#
|
|
113
|
+
# (`path`) as a table (`columns`, reusing Table's Column config), with a delete
|
|
114
|
+
# affordance per row. Single-source tables use the top-level `search`,
|
|
115
|
+
# `recordCreate`, and `recordUpdate` fields. Multi-source tables instead use
|
|
116
|
+
# `referenceSources`, which takes precedence: when it is set, the top-level
|
|
117
|
+
# `search`, `recordCreate`, and `recordUpdate` are ignored.
|
|
116
118
|
# `rowMenuItems` (reusing Table's MenuItem config) adds further per-row actions,
|
|
117
119
|
# e.g. an `action: "details"` item with a `url` to navigate to that record's own
|
|
118
120
|
# details page.
|
|
@@ -140,6 +142,7 @@ type ReferenceTable implements IField & IRowElement & IElement {
|
|
|
140
142
|
rowMenuItems: [MenuItem!]
|
|
141
143
|
recordCreate: ReferenceTableRecordDialog
|
|
142
144
|
recordUpdate: ReferenceTableRecordDialog
|
|
145
|
+
referenceSources: [ReferenceTableSource!]
|
|
143
146
|
custom: Boolean
|
|
144
147
|
}
|
|
145
148
|
|
|
@@ -148,6 +151,16 @@ type ReferenceTableRecordDialog {
|
|
|
148
151
|
configPath: String!
|
|
149
152
|
}
|
|
150
153
|
|
|
154
|
+
type ReferenceTableSource {
|
|
155
|
+
name: String!
|
|
156
|
+
dataType: String!
|
|
157
|
+
label: String!
|
|
158
|
+
# Picker table shown after the source is chosen from the Add menu.
|
|
159
|
+
table: Table
|
|
160
|
+
recordCreate: ReferenceTableRecordDialog
|
|
161
|
+
recordUpdate: ReferenceTableRecordDialog
|
|
162
|
+
}
|
|
163
|
+
|
|
151
164
|
type PhoneField implements IField & IRowElement & IElement {
|
|
152
165
|
cols: Int
|
|
153
166
|
defaultValue: String
|