@kineticdata/react 6.0.0 → 6.0.2
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.
- package/lib/apis/agent/adapters.js +2 -3
- package/lib/apis/agent/bridges.js +7 -13
- package/lib/apis/agent/handlers.js +7 -13
- package/lib/apis/core/activity.js +2 -3
- package/lib/apis/core/attributeDefinitions.js +6 -11
- package/lib/apis/core/attributeDefinitions.test.js +201 -213
- package/lib/apis/core/authentication.js +74 -84
- package/lib/apis/core/backgroundJobs.js +5 -9
- package/lib/apis/core/bridgeModelAttributeMappings.js +5 -10
- package/lib/apis/core/bridgeModelAttributes.js +6 -11
- package/lib/apis/core/bridgeModelMappings.js +5 -10
- package/lib/apis/core/bridgeModelQualificationMappings.js +5 -10
- package/lib/apis/core/bridgeModelQualifications.js +5 -10
- package/lib/apis/core/bridgeModels.js +7 -13
- package/lib/apis/core/bridgeModels.test.js +313 -333
- package/lib/apis/core/bridgedresources.js +7 -13
- package/lib/apis/core/categories.js +6 -11
- package/lib/apis/core/fileResources.js +5 -10
- package/lib/apis/core/filestores.js +5 -10
- package/lib/apis/core/formTypes.js +6 -11
- package/lib/apis/core/forms.js +6 -11
- package/lib/apis/core/forms.test.js +201 -213
- package/lib/apis/core/kapps.js +6 -11
- package/lib/apis/core/kapps.test.js +122 -130
- package/lib/apis/core/logs.js +3 -5
- package/lib/apis/core/memberships.js +3 -5
- package/lib/apis/core/meta.js +6 -11
- package/lib/apis/core/notices.js +2 -3
- package/lib/apis/core/oauthClients.js +6 -11
- package/lib/apis/core/platformComponents.js +10 -19
- package/lib/apis/core/platformItems.js +2 -3
- package/lib/apis/core/profile.js +3 -5
- package/lib/apis/core/securityPolicyDefinitions.js +6 -11
- package/lib/apis/core/securityPolicyDefinitions.test.js +254 -268
- package/lib/apis/core/space.js +3 -5
- package/lib/apis/core/space.test.js +106 -114
- package/lib/apis/core/submissions.js +17 -33
- package/lib/apis/core/teams.js +6 -11
- package/lib/apis/core/translations.js +18 -35
- package/lib/apis/core/translations.test.js +1343 -1437
- package/lib/apis/core/users.js +6 -11
- package/lib/apis/core/version.js +2 -3
- package/lib/apis/core/webApis.js +5 -10
- package/lib/apis/core/webhooks.js +6 -11
- package/lib/apis/core/webhooks.test.js +243 -257
- package/lib/apis/core/webhooksJobs.js +3 -5
- package/lib/apis/core/workflows.js +7 -13
- package/lib/apis/http.js +47 -30
- package/lib/apis/http.test.js +100 -0
- package/lib/apis/system/index.js +167 -81
- package/lib/apis/task/index.js +73 -118
- package/lib/components/agent/bridge/BridgeForm.js +1 -2
- package/lib/components/agent/bridge/BridgeTable.js +5 -3
- package/lib/components/agent/filestore/FilestoreForm.js +1 -2
- package/lib/components/agent/filestore/FilestoreTable.js +5 -3
- package/lib/components/agent/handler/AgentHandlerForm.js +1 -2
- package/lib/components/agent/handler/AgentHandlerTable.js +6 -4
- package/lib/components/common/AttributeSelect.js +2 -3
- package/lib/components/common/BridgeSelect.js +16 -17
- package/lib/components/common/ComponentConfigContext.js +1 -2
- package/lib/components/common/ContentEditable.js +23 -3
- package/lib/components/common/FormSelect.js +16 -17
- package/lib/components/common/NodeSelect.js +2 -3
- package/lib/components/common/Scroller.js +2 -3
- package/lib/components/common/StaticSelect.js +14 -15
- package/lib/components/common/TableInput.js +276 -63
- package/lib/components/common/TeamSelect.js +16 -17
- package/lib/components/common/ToastContainer.js +165 -0
- package/lib/components/common/Typeahead.js +15 -2
- package/lib/components/common/UserSelect.js +16 -17
- package/lib/components/common/authentication/AuthInterceptor.js +2 -3
- package/lib/components/common/authentication/AuthInterceptor.test.js +141 -153
- package/lib/components/common/authentication/AuthenticationContainer.js +332 -343
- package/lib/components/common/authentication/RequestInterceptor.js +2 -10
- package/lib/components/common/code_input/CodeInput.js +4 -9
- package/lib/components/common/code_input/draftHelpers.js +20 -37
- package/lib/components/common/code_input/languageHelpers.js +6 -12
- package/lib/components/common/code_input/languageHelpers.test.js +10 -8
- package/lib/components/common/defaults/Toast.js +25 -0
- package/lib/components/common/defaults/index.js +12 -0
- package/lib/components/core/attribute_definition/AttributeDefinitionForm.js +1 -2
- package/lib/components/core/attribute_definition/AttributeDefinitionTable.js +8 -5
- package/lib/components/core/bridge_model/BridgeModelForm.js +52 -55
- package/lib/components/core/bridge_model/BridgeModelTable.js +6 -4
- package/lib/components/core/bridge_model_attribute/BridgeModelAttributeForm.js +1 -2
- package/lib/components/core/bridge_model_attribute/BridgeModelAttributeTable.js +1 -2
- package/lib/components/core/bridge_model_qualification/BridgeModelQualificationForm.js +1 -2
- package/lib/components/core/bridge_model_qualification/BridgeModelQualificationTable.js +1 -2
- package/lib/components/core/category/CategoryForm.js +1 -2
- package/lib/components/core/category/CategoryTable.js +14 -8
- package/lib/components/core/core_form/CoreForm.js +11 -22
- package/lib/components/core/core_form/defaults/index.js +11 -19
- package/lib/components/core/core_form/globals.js +3 -5
- package/lib/components/core/field_definition/FieldDefinitionForm.js +1 -2
- package/lib/components/core/field_definition/FieldDefinitionTable.js +13 -9
- package/lib/components/core/file_resource/FileResourceForm.js +1 -2
- package/lib/components/core/file_resource/FileResourceTable.js +1 -2
- package/lib/components/core/form/FormForm.js +1 -2
- package/lib/components/core/form/FormTable.js +23 -13
- package/lib/components/core/form_type/FormTypeForm.js +1 -2
- package/lib/components/core/form_type/FormTypeTable.js +4 -3
- package/lib/components/core/i18n/I18n.js +2 -4
- package/lib/components/core/i18n/I18nContext.js +1 -2
- package/lib/components/core/i18n/I18nProvider.js +2 -3
- package/lib/components/core/i18n/Moment.js +10 -9
- package/lib/components/core/index_definition/IndexDefinitionForm.js +1 -2
- package/lib/components/core/index_definition/IndexDefinitionTable.js +13 -7
- package/lib/components/core/index_job/IndexJobTable.js +1 -2
- package/lib/components/core/kapp/KappForm.js +1 -2
- package/lib/components/core/kapp/KappTable.js +18 -34
- package/lib/components/core/log/LogTable.js +10 -6
- package/lib/components/core/oauth_client/OAuthClientForm.js +1 -2
- package/lib/components/core/oauth_client/OAuthClientTable.js +1 -2
- package/lib/components/core/platform_component/AgentComponentForm.js +1 -2
- package/lib/components/core/platform_component/AgentComponentTable.js +1 -2
- package/lib/components/core/platform_component/TaskComponentForm.js +1 -2
- package/lib/components/core/profile/ProfileForm.js +1 -2
- package/lib/components/core/security_definition/SecurityDefinitionForm.js +3 -6
- package/lib/components/core/security_definition/SecurityDefinitionTable.js +10 -6
- package/lib/components/core/space/SpaceForm.js +1 -2
- package/lib/components/core/submission/DatastoreSubmissionFilters.js +3 -5
- package/lib/components/core/submission/DatastoreSubmissionTable.js +2 -4
- package/lib/components/core/submission/FormSubmissionFilters.js +4 -7
- package/lib/components/core/submission/FormSubmissionTable.js +39 -23
- package/lib/components/core/submission/KappSubmissionTable.js +39 -23
- package/lib/components/core/submission/SubmissionForm.js +1 -2
- package/lib/components/core/submission/SubmissionTable.js +2 -3
- package/lib/components/core/submission/helpers.js +4 -7
- package/lib/components/core/team/TeamForm.js +2 -3
- package/lib/components/core/team/TeamTable.js +12 -7
- package/lib/components/core/translation/ContextForm.js +1 -2
- package/lib/components/core/translation/ContextTable.js +1 -2
- package/lib/components/core/translation/EntryForm.js +1 -2
- package/lib/components/core/translation/EntryTable.js +1 -2
- package/lib/components/core/translation/LocaleForm.js +1 -2
- package/lib/components/core/translation/LocaleTable.js +1 -2
- package/lib/components/core/user/UserForm.js +1 -2
- package/lib/components/core/user/UserTable.js +24 -7
- package/lib/components/core/webapi/WebApiForm.js +138 -123
- package/lib/components/core/webapi/WebApiTable.js +15 -9
- package/lib/components/core/webhook/WebhookForm.js +1 -2
- package/lib/components/core/webhook/WebhookTable.js +20 -11
- package/lib/components/core/webhook_job/WebhookJobTable.js +40 -21
- package/lib/components/form/Form.helpers.js +91 -38
- package/lib/components/form/Form.js +312 -355
- package/lib/components/form/Form.models.js +7 -11
- package/lib/components/form/FormState.js +1 -2
- package/lib/components/form/KitchenSinkForm.js +23 -3
- package/lib/components/form/SimpleForm.helpers.js +262 -0
- package/lib/components/form/SimpleForm.js +462 -0
- package/lib/components/form/SimpleForm.models.js +62 -0
- package/lib/components/form/defaults/AttributesField.js +3 -4
- package/lib/components/form/defaults/CheckboxField.js +2 -3
- package/lib/components/form/defaults/CodeField.js +2 -3
- package/lib/components/form/defaults/FormButtons.js +2 -3
- package/lib/components/form/defaults/FormError.js +2 -3
- package/lib/components/form/defaults/FormField.js +2 -3
- package/lib/components/form/defaults/FormLayout.js +2 -3
- package/lib/components/form/defaults/FormMultiField.js +2 -3
- package/lib/components/form/defaults/PasswordField.js +2 -3
- package/lib/components/form/defaults/RadioField.js +2 -3
- package/lib/components/form/defaults/SampleTeamsRolesFIeld.js +2 -3
- package/lib/components/form/defaults/SelectField.js +2 -3
- package/lib/components/form/defaults/SelectMultiField.js +2 -3
- package/lib/components/form/defaults/TableField.js +2 -3
- package/lib/components/form/defaults/TeamField.js +2 -3
- package/lib/components/form/defaults/TeamMultiField.js +2 -3
- package/lib/components/form/defaults/TextField.js +2 -3
- package/lib/components/form/defaults/TextMultiField.js +2 -3
- package/lib/components/form/defaults/UserField.js +2 -3
- package/lib/components/form/defaults/UserMultiField.js +2 -3
- package/lib/components/form/defaults/index.js +2 -3
- package/lib/components/form/tests/Form.test.js +3865 -4257
- package/lib/components/form/tests/components.js +2 -3
- package/lib/components/index.js +60 -0
- package/lib/components/system/SystemBackgroundTasksTable.js +1 -2
- package/lib/components/system/SystemCassandraForm.js +97 -0
- package/lib/components/system/SystemElasticSearchForm.js +97 -0
- package/lib/components/system/SystemFilestoreForm.js +12 -8
- package/lib/components/system/SystemForm.js +1 -2
- package/lib/components/system/SystemIngressForm.js +78 -31
- package/lib/components/system/SystemSecurityForm.js +1 -2
- package/lib/components/system/SystemSmtpForm.js +1 -2
- package/lib/components/system/SystemTaskAdapterForm.js +30 -7
- package/lib/components/system/SystemTrustedCertificateForm.js +39 -0
- package/lib/components/system/SystemTrustedCertificatesTable.js +73 -0
- package/lib/components/system/SystemUserForm.js +1 -2
- package/lib/components/system/helpers.js +236 -65
- package/lib/components/system/spaces/SystemSpaceForm.js +2 -3
- package/lib/components/system/spaces/SystemTenantForm.js +77 -37
- package/lib/components/system/spaces/SystemTenantTable.js +1 -2
- package/lib/components/table/Table.js +132 -54
- package/lib/components/table/Table.redux.js +229 -235
- package/lib/components/table/Table.test.js +154 -123
- package/lib/components/table/defaults/BodyCell.js +1 -2
- package/lib/components/table/defaults/BodyRow.js +1 -2
- package/lib/components/table/defaults/BooleanFilter.js +1 -2
- package/lib/components/table/defaults/ColumnControl.js +25 -0
- package/lib/components/table/defaults/EmptyBodyRow.js +1 -2
- package/lib/components/table/defaults/FilterLayout.js +1 -2
- package/lib/components/table/defaults/Footer.js +1 -2
- package/lib/components/table/defaults/FooterCell.js +1 -2
- package/lib/components/table/defaults/FooterRow.js +1 -2
- package/lib/components/table/defaults/Header.js +1 -2
- package/lib/components/table/defaults/HeaderCell.js +1 -2
- package/lib/components/table/defaults/HeaderRow.js +1 -2
- package/lib/components/table/defaults/PaginationControl.js +2 -4
- package/lib/components/table/defaults/TableBody.js +1 -2
- package/lib/components/table/defaults/TableLayout.js +1 -2
- package/lib/components/table/defaults/TextFilter.js +1 -2
- package/lib/components/table/defaults/index.js +5 -4
- package/lib/components/task/builder/Connector.js +26 -11
- package/lib/components/task/builder/ConnectorForm.js +1 -2
- package/lib/components/task/builder/Node.js +18 -9
- package/lib/components/task/builder/NodeForm.js +1 -2
- package/lib/components/task/builder/NodeParametersForm.js +1 -2
- package/lib/components/task/builder/SvgCanvas.js +2 -3
- package/lib/components/task/builder/SvgText.js +2 -3
- package/lib/components/task/builder/TaskDefinitionConfigForm.js +3 -6
- package/lib/components/task/builder/TreeBuilder.js +10 -4
- package/lib/components/task/builder/builder.redux.js +171 -182
- package/lib/components/task/builder/constants.js +38 -76
- package/lib/components/task/builder/helpers.js +23 -40
- package/lib/components/task/builder/models.js +19 -35
- package/lib/components/task/category/TaskCategoryForm.js +2 -3
- package/lib/components/task/category/TaskCategoryTable.js +1 -2
- package/lib/components/task/common/UsageTable.js +1 -2
- package/lib/components/task/engine/EngineSettingsForm.js +2 -3
- package/lib/components/task/errors/RunErrorTable.js +35 -17
- package/lib/components/task/errors/SystemErrorsTable.js +1 -2
- package/lib/components/task/handlers/HandlerForm.js +2 -3
- package/lib/components/task/handlers/HandlerTable.js +24 -13
- package/lib/components/task/handlers/MissingHandlerTable.js +1 -2
- package/lib/components/task/policy_rule/PolicyRuleForm.js +2 -3
- package/lib/components/task/policy_rule/PolicyRuleTable.js +1 -2
- package/lib/components/task/runs/CreateManualTriggerForm.js +1 -2
- package/lib/components/task/runs/RunTable.js +24 -12
- package/lib/components/task/runs/RunTaskTable.js +1 -2
- package/lib/components/task/sources/SourceForm.js +1 -2
- package/lib/components/task/sources/SourceTable.js +16 -9
- package/lib/components/task/triggers/TriggerTable.js +52 -26
- package/lib/components/task/workflows/LinkedWorkflowForm.js +3 -5
- package/lib/components/task/workflows/LinkedWorkflowTable.js +33 -18
- package/lib/components/task/workflows/MissingRoutineTable.js +1 -2
- package/lib/components/task/workflows/WorkflowForm.js +2 -3
- package/lib/components/task/workflows/WorkflowTable.js +31 -17
- package/lib/helpers/SearchBuilder.js +2 -4
- package/lib/helpers/index.js +13 -26
- package/lib/index.js +7 -9
- package/lib/reducer.js +3 -5
- package/lib/saga.js +32 -48
- package/lib/store.js +32 -42
- package/package.json +26 -16
- package/proxyhelper.js +17 -11
- package/lib/components/core/CoreFormModal.js +0 -64
- package/lib/components/core/CoreModal.js +0 -114
|
@@ -88,45 +88,57 @@ var filters = function filters() {
|
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
var columns = [{
|
|
91
|
+
// Note: This appears as 'Occured' in the columnControl
|
|
91
92
|
value: 'createdAt',
|
|
92
93
|
title: 'Created At',
|
|
93
|
-
sortable: true
|
|
94
|
+
sortable: true,
|
|
95
|
+
toggleable: true
|
|
94
96
|
}, {
|
|
95
97
|
value: 'createdBy',
|
|
96
98
|
title: 'Created By',
|
|
97
|
-
sortable: false
|
|
99
|
+
sortable: false,
|
|
100
|
+
toggleable: true
|
|
98
101
|
}, {
|
|
99
102
|
value: 'engineIdentification',
|
|
100
103
|
title: 'Engine Identification',
|
|
101
|
-
sortable: false
|
|
104
|
+
sortable: false,
|
|
105
|
+
toggleable: true
|
|
102
106
|
}, {
|
|
103
107
|
value: 'id',
|
|
104
108
|
title: 'Error Id',
|
|
105
|
-
sortable: false
|
|
109
|
+
sortable: false,
|
|
110
|
+
toggleable: false,
|
|
111
|
+
columnOrder: 'first'
|
|
106
112
|
}, {
|
|
107
113
|
value: 'relatedItem1Id',
|
|
108
114
|
title: 'Related Item 1 ID',
|
|
109
|
-
sortable: false
|
|
115
|
+
sortable: false,
|
|
116
|
+
toggleable: true
|
|
110
117
|
}, {
|
|
111
118
|
value: 'relatedItem1Type',
|
|
112
119
|
title: 'Related Item 1 Type',
|
|
113
|
-
sortable: false
|
|
120
|
+
sortable: false,
|
|
121
|
+
toggleable: true
|
|
114
122
|
}, {
|
|
115
123
|
value: 'relatedItem2Id',
|
|
116
124
|
title: 'Related Item 2 ID',
|
|
117
|
-
sortable: false
|
|
125
|
+
sortable: false,
|
|
126
|
+
toggleable: true
|
|
118
127
|
}, {
|
|
119
128
|
value: 'relatedItem2Type',
|
|
120
129
|
title: 'Related Item 2 Type',
|
|
121
|
-
sortable: false
|
|
130
|
+
sortable: false,
|
|
131
|
+
toggleable: true
|
|
122
132
|
}, {
|
|
123
133
|
value: 'status',
|
|
124
134
|
title: 'Status',
|
|
125
|
-
sortable: false
|
|
135
|
+
sortable: false,
|
|
136
|
+
toggleable: true
|
|
126
137
|
}, {
|
|
127
138
|
value: 'sourceName',
|
|
128
139
|
title: 'Source',
|
|
129
140
|
sortable: false,
|
|
141
|
+
toggleable: true,
|
|
130
142
|
valueTransform: function valueTransform(_value, row) {
|
|
131
143
|
return (0, _immutable.getIn)(row, ['run', 'tree', 'sourceName'], '');
|
|
132
144
|
}
|
|
@@ -134,6 +146,7 @@ var columns = [{
|
|
|
134
146
|
value: 'sourceGroup',
|
|
135
147
|
title: 'Group',
|
|
136
148
|
sortable: false,
|
|
149
|
+
toggleable: true,
|
|
137
150
|
valueTransform: function valueTransform(_value, row) {
|
|
138
151
|
return (0, _immutable.getIn)(row, ['run', 'tree', 'sourceGroup'], '');
|
|
139
152
|
}
|
|
@@ -141,34 +154,39 @@ var columns = [{
|
|
|
141
154
|
value: 'treeName',
|
|
142
155
|
title: 'Name',
|
|
143
156
|
sortable: false,
|
|
157
|
+
toggleable: true,
|
|
144
158
|
valueTransform: function valueTransform(_value, row) {
|
|
145
159
|
return (0, _immutable.getIn)(row, ['run', 'tree', 'name'], '');
|
|
146
160
|
}
|
|
147
161
|
}, {
|
|
148
162
|
value: 'Summary',
|
|
149
163
|
title: 'Summary',
|
|
150
|
-
sortable: false
|
|
164
|
+
sortable: false,
|
|
165
|
+
toggleable: true
|
|
151
166
|
}, {
|
|
152
167
|
value: 'text',
|
|
153
168
|
title: 'Text',
|
|
154
|
-
sortable: false
|
|
169
|
+
sortable: false,
|
|
170
|
+
toggleable: true
|
|
155
171
|
}, {
|
|
156
172
|
value: 'type',
|
|
157
173
|
title: 'Type',
|
|
158
|
-
sortable: false
|
|
174
|
+
sortable: false,
|
|
175
|
+
toggleable: true
|
|
159
176
|
}, {
|
|
160
177
|
value: 'updatedAt',
|
|
161
178
|
title: 'Updated At',
|
|
162
|
-
sortable: true
|
|
179
|
+
sortable: true,
|
|
180
|
+
toggleable: true
|
|
163
181
|
}, {
|
|
164
182
|
value: 'updatedBy',
|
|
165
183
|
title: 'Updated By',
|
|
166
|
-
sortable: false
|
|
184
|
+
sortable: false,
|
|
185
|
+
toggleable: true
|
|
167
186
|
}];
|
|
168
|
-
var RunErrorTable = (0, _Table.generateTable)({
|
|
187
|
+
var RunErrorTable = exports.RunErrorTable = (0, _Table.generateTable)({
|
|
169
188
|
tableOptions: ['runId'],
|
|
170
189
|
columns: columns,
|
|
171
190
|
filters: filters,
|
|
172
191
|
dataSource: dataSource
|
|
173
|
-
});
|
|
174
|
-
exports.RunErrorTable = RunErrorTable;
|
|
192
|
+
});
|
|
@@ -77,11 +77,10 @@ var columns = [{
|
|
|
77
77
|
title: 'Updated By',
|
|
78
78
|
sortable: true
|
|
79
79
|
}];
|
|
80
|
-
var SystemErrorsTable = (0, _Table.generateTable)({
|
|
80
|
+
var SystemErrorsTable = exports.SystemErrorsTable = (0, _Table.generateTable)({
|
|
81
81
|
columns: columns,
|
|
82
82
|
filters: filters,
|
|
83
83
|
dataSource: dataSource
|
|
84
84
|
});
|
|
85
|
-
exports.SystemErrorsTable = SystemErrorsTable;
|
|
86
85
|
SystemErrorsTable.propTypes = {};
|
|
87
86
|
SystemErrorsTable.displayName = 'SystemErrorsTable';
|
|
@@ -155,7 +155,7 @@ var fields = function fields(_ref4) {
|
|
|
155
155
|
}].concat(propertiesFields);
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
var HandlerForm = function HandlerForm(_ref7) {
|
|
158
|
+
var HandlerForm = exports.HandlerForm = function HandlerForm(_ref7) {
|
|
159
159
|
var addFields = _ref7.addFields,
|
|
160
160
|
alterFields = _ref7.alterFields,
|
|
161
161
|
fieldSet = _ref7.fieldSet,
|
|
@@ -180,5 +180,4 @@ var HandlerForm = function HandlerForm(_ref7) {
|
|
|
180
180
|
definitionId: definitionId
|
|
181
181
|
}
|
|
182
182
|
}, children);
|
|
183
|
-
};
|
|
184
|
-
exports.HandlerForm = HandlerForm;
|
|
183
|
+
};
|
|
@@ -62,42 +62,53 @@ var filters = function filters() {
|
|
|
62
62
|
};
|
|
63
63
|
var columns = [{
|
|
64
64
|
title: 'ID',
|
|
65
|
-
value: 'id'
|
|
65
|
+
value: 'id',
|
|
66
|
+
toggleable: true
|
|
66
67
|
}, {
|
|
67
68
|
title: 'Name',
|
|
68
|
-
value: 'name'
|
|
69
|
+
value: 'name',
|
|
70
|
+
toggleable: false,
|
|
71
|
+
columnOrder: 'first'
|
|
69
72
|
}, {
|
|
70
73
|
title: 'Status',
|
|
71
|
-
value: 'status'
|
|
74
|
+
value: 'status',
|
|
75
|
+
toggleable: true
|
|
72
76
|
}, {
|
|
73
77
|
title: 'Definition ID',
|
|
74
|
-
value: 'definitionId'
|
|
78
|
+
value: 'definitionId',
|
|
79
|
+
toggleable: true
|
|
75
80
|
}, {
|
|
76
81
|
title: 'Definition Name',
|
|
77
|
-
value: 'definitionName'
|
|
82
|
+
value: 'definitionName',
|
|
83
|
+
toggleable: true
|
|
78
84
|
}, {
|
|
79
85
|
title: 'Definition Version',
|
|
80
|
-
value: 'definitionVersion'
|
|
86
|
+
value: 'definitionVersion',
|
|
87
|
+
toggleable: true
|
|
81
88
|
}, {
|
|
82
89
|
title: 'Description',
|
|
83
|
-
value: 'description'
|
|
90
|
+
value: 'description',
|
|
91
|
+
toggleable: true
|
|
84
92
|
}, {
|
|
85
93
|
title: 'Created',
|
|
86
|
-
value: 'createdAt'
|
|
94
|
+
value: 'createdAt',
|
|
95
|
+
toggleable: true
|
|
87
96
|
}, {
|
|
88
97
|
title: 'Created By',
|
|
89
|
-
value: 'createdBy'
|
|
98
|
+
value: 'createdBy',
|
|
99
|
+
toggleable: true
|
|
90
100
|
}, {
|
|
91
101
|
title: 'Updated',
|
|
92
|
-
value: 'updatedAt'
|
|
102
|
+
value: 'updatedAt',
|
|
103
|
+
toggleable: true
|
|
93
104
|
}, {
|
|
94
105
|
title: 'Updated By',
|
|
95
|
-
value: 'updatedBy'
|
|
106
|
+
value: 'updatedBy',
|
|
107
|
+
toggleable: true
|
|
96
108
|
}];
|
|
97
|
-
var HandlerTable = (0, _Table.generateTable)({
|
|
109
|
+
var HandlerTable = exports.HandlerTable = (0, _Table.generateTable)({
|
|
98
110
|
columns: columns,
|
|
99
111
|
filters: filters,
|
|
100
112
|
dataSource: dataSource
|
|
101
113
|
});
|
|
102
|
-
exports.HandlerTable = HandlerTable;
|
|
103
114
|
HandlerTable.displayName = 'HandlerTable';
|
|
@@ -48,11 +48,10 @@ var columns = [{
|
|
|
48
48
|
title: 'Nodes',
|
|
49
49
|
sortable: true
|
|
50
50
|
}];
|
|
51
|
-
var MissingHandlerTable = (0, _Table.generateTable)({
|
|
51
|
+
var MissingHandlerTable = exports.MissingHandlerTable = (0, _Table.generateTable)({
|
|
52
52
|
tableOptions: [],
|
|
53
53
|
columns: columns,
|
|
54
54
|
filters: filters,
|
|
55
55
|
dataSource: dataSource
|
|
56
56
|
});
|
|
57
|
-
exports.MissingHandlerTable = MissingHandlerTable;
|
|
58
57
|
MissingHandlerTable.displayName = 'MissingHandlerTable';
|
|
@@ -204,7 +204,7 @@ var fields = function fields(_ref4) {
|
|
|
204
204
|
}];
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
-
var PolicyRuleForm = function PolicyRuleForm(_ref16) {
|
|
207
|
+
var PolicyRuleForm = exports.PolicyRuleForm = function PolicyRuleForm(_ref16) {
|
|
208
208
|
var addFields = _ref16.addFields,
|
|
209
209
|
alterFields = _ref16.alterFields,
|
|
210
210
|
fieldSet = _ref16.fieldSet,
|
|
@@ -231,5 +231,4 @@ var PolicyRuleForm = function PolicyRuleForm(_ref16) {
|
|
|
231
231
|
policyType: policyType
|
|
232
232
|
}
|
|
233
233
|
}, children);
|
|
234
|
-
};
|
|
235
|
-
exports.PolicyRuleForm = PolicyRuleForm;
|
|
234
|
+
};
|
|
@@ -70,11 +70,10 @@ var columns = [{
|
|
|
70
70
|
title: 'Updated By',
|
|
71
71
|
sortable: true
|
|
72
72
|
}];
|
|
73
|
-
var PolicyRuleTable = (0, _Table.generateTable)({
|
|
73
|
+
var PolicyRuleTable = exports.PolicyRuleTable = (0, _Table.generateTable)({
|
|
74
74
|
columns: columns,
|
|
75
75
|
filters: filters,
|
|
76
76
|
dataSource: dataSource
|
|
77
77
|
});
|
|
78
|
-
exports.PolicyRuleTable = PolicyRuleTable;
|
|
79
78
|
PolicyRuleTable.propTypes = {};
|
|
80
79
|
PolicyRuleTable.displayName = 'PolicyRuleTable';
|
|
@@ -76,11 +76,10 @@ var fields = function fields() {
|
|
|
76
76
|
}];
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
var CreateManualTriggerForm = (0, _Form.generateForm)({
|
|
79
|
+
var CreateManualTriggerForm = exports.CreateManualTriggerForm = (0, _Form.generateForm)({
|
|
80
80
|
formOptions: ['runId', 'tree'],
|
|
81
81
|
dataSources: dataSources,
|
|
82
82
|
fields: fields,
|
|
83
83
|
handleSubmit: handleSubmit
|
|
84
84
|
});
|
|
85
|
-
exports.CreateManualTriggerForm = CreateManualTriggerForm;
|
|
86
85
|
CreateManualTriggerForm.displayName = 'CreateManualTriggerForm';
|
|
@@ -126,26 +126,32 @@ var filters = function filters() {
|
|
|
126
126
|
var columns = [{
|
|
127
127
|
value: 'id',
|
|
128
128
|
title: 'Id',
|
|
129
|
-
sortable: true
|
|
129
|
+
sortable: true,
|
|
130
|
+
toggleable: false,
|
|
131
|
+
columnOrder: 'first'
|
|
130
132
|
}, {
|
|
131
133
|
value: 'originatingId',
|
|
132
134
|
title: 'Originating ID',
|
|
133
|
-
sortable: false
|
|
135
|
+
sortable: false,
|
|
136
|
+
toggleable: true
|
|
134
137
|
}, {
|
|
135
138
|
value: 'sourceName',
|
|
136
139
|
valueTransform: function valueTransform(_value, row) {
|
|
137
140
|
return (0, _immutable.getIn)(row, ['source', 'name'], '');
|
|
138
141
|
},
|
|
139
142
|
title: 'Source',
|
|
140
|
-
sortable: true
|
|
143
|
+
sortable: true,
|
|
144
|
+
toggleable: true
|
|
141
145
|
}, {
|
|
142
146
|
value: 'sourceId',
|
|
143
147
|
title: 'Source Id',
|
|
144
|
-
sortable: false
|
|
148
|
+
sortable: false,
|
|
149
|
+
toggleable: true
|
|
145
150
|
}, {
|
|
146
151
|
value: 'tree',
|
|
147
152
|
title: 'Tree',
|
|
148
153
|
sortable: true,
|
|
154
|
+
toggleable: true,
|
|
149
155
|
valueTransform: function valueTransform(value) {
|
|
150
156
|
return (0, _immutable.get)(value, 'name', '');
|
|
151
157
|
}
|
|
@@ -153,6 +159,7 @@ var columns = [{
|
|
|
153
159
|
value: 'sourceGroup',
|
|
154
160
|
title: 'Group',
|
|
155
161
|
sortable: true,
|
|
162
|
+
toggleable: true,
|
|
156
163
|
valueTransform: function valueTransform(_value, row) {
|
|
157
164
|
return row.getIn(['tree', 'sourceGroup']);
|
|
158
165
|
}
|
|
@@ -160,35 +167,40 @@ var columns = [{
|
|
|
160
167
|
value: 'type',
|
|
161
168
|
title: 'Type',
|
|
162
169
|
sortable: true,
|
|
170
|
+
toggleable: true,
|
|
163
171
|
valueTransform: function valueTransform(_value, row) {
|
|
164
172
|
return row.getIn(['tree', 'type']);
|
|
165
173
|
}
|
|
166
174
|
}, {
|
|
167
175
|
value: 'status',
|
|
168
176
|
title: 'Status',
|
|
169
|
-
sortable: false
|
|
177
|
+
sortable: false,
|
|
178
|
+
toggleable: true
|
|
170
179
|
}, {
|
|
171
180
|
value: 'createdAt',
|
|
172
181
|
title: 'Created',
|
|
173
|
-
sortable: true
|
|
182
|
+
sortable: true,
|
|
183
|
+
toggleable: true
|
|
174
184
|
}, {
|
|
175
185
|
value: 'createdBy',
|
|
176
186
|
title: 'Created By',
|
|
177
|
-
sortable: false
|
|
187
|
+
sortable: false,
|
|
188
|
+
toggleable: true
|
|
178
189
|
}, {
|
|
179
190
|
value: 'updatedAt',
|
|
180
191
|
title: 'Updated',
|
|
181
|
-
sortable: true
|
|
192
|
+
sortable: true,
|
|
193
|
+
toggleable: true
|
|
182
194
|
}, {
|
|
183
195
|
value: 'updatedBy',
|
|
184
196
|
title: 'Updated By',
|
|
185
|
-
sortable: false
|
|
197
|
+
sortable: false,
|
|
198
|
+
toggleable: true
|
|
186
199
|
}];
|
|
187
|
-
var RunTable = (0, _Table.generateTable)({
|
|
200
|
+
var RunTable = exports.RunTable = (0, _Table.generateTable)({
|
|
188
201
|
tableOptions: ['sourceName', 'sourceGroup', 'treeName', 'sourceId', 'count'],
|
|
189
202
|
columns: columns,
|
|
190
203
|
filters: filters,
|
|
191
204
|
dataSource: dataSource,
|
|
192
205
|
filterDataSources: filterDataSources
|
|
193
|
-
});
|
|
194
|
-
exports.RunTable = RunTable;
|
|
206
|
+
});
|
|
@@ -54,11 +54,10 @@ var columns = [{
|
|
|
54
54
|
title: 'Created',
|
|
55
55
|
sortable: true
|
|
56
56
|
}];
|
|
57
|
-
var RunTaskTable = (0, _.generateTable)({
|
|
57
|
+
var RunTaskTable = exports.RunTaskTable = (0, _.generateTable)({
|
|
58
58
|
tableOptions: ['run'],
|
|
59
59
|
dataSource: dataSource,
|
|
60
60
|
filters: filters,
|
|
61
61
|
columns: columns
|
|
62
62
|
});
|
|
63
|
-
exports.RunTaskTable = RunTaskTable;
|
|
64
63
|
RunTaskTable.displayName = 'RunTaskTable';
|
|
@@ -148,11 +148,10 @@ var fields = function fields(_ref5) {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
var SourceForm = (0, _Form.generateForm)({
|
|
151
|
+
var SourceForm = exports.SourceForm = (0, _Form.generateForm)({
|
|
152
152
|
formOptions: ['sourceName', 'sourceType'],
|
|
153
153
|
dataSources: dataSources,
|
|
154
154
|
fields: fields,
|
|
155
155
|
handleSubmit: handleSubmit
|
|
156
156
|
});
|
|
157
|
-
exports.SourceForm = SourceForm;
|
|
158
157
|
SourceForm.displayName = 'SourceForm';
|
|
@@ -58,31 +58,38 @@ var filters = function filters() {
|
|
|
58
58
|
};
|
|
59
59
|
var columns = [{
|
|
60
60
|
title: 'ID',
|
|
61
|
-
value: 'id'
|
|
61
|
+
value: 'id',
|
|
62
|
+
toggleable: true
|
|
62
63
|
}, {
|
|
63
64
|
title: 'Name',
|
|
64
|
-
value: 'name'
|
|
65
|
+
value: 'name',
|
|
66
|
+
toggleable: false,
|
|
67
|
+
columnOrder: 'first'
|
|
65
68
|
}, {
|
|
66
69
|
title: 'Type',
|
|
67
|
-
value: 'type'
|
|
70
|
+
value: 'type',
|
|
71
|
+
toggleable: true
|
|
68
72
|
}, {
|
|
69
73
|
title: 'Created',
|
|
70
|
-
value: 'createdAt'
|
|
74
|
+
value: 'createdAt',
|
|
75
|
+
toggleable: true
|
|
71
76
|
}, {
|
|
72
77
|
title: 'Created By',
|
|
73
|
-
value: 'createdBy'
|
|
78
|
+
value: 'createdBy',
|
|
79
|
+
toggleable: true
|
|
74
80
|
}, {
|
|
75
81
|
title: 'Updated',
|
|
76
|
-
value: 'updatedAt'
|
|
82
|
+
value: 'updatedAt',
|
|
83
|
+
toggleable: true
|
|
77
84
|
}, {
|
|
78
85
|
title: 'Updated By',
|
|
79
|
-
value: 'updatedBy'
|
|
86
|
+
value: 'updatedBy',
|
|
87
|
+
toggleable: true
|
|
80
88
|
}];
|
|
81
|
-
var SourceTable = (0, _Table.generateTable)({
|
|
89
|
+
var SourceTable = exports.SourceTable = (0, _Table.generateTable)({
|
|
82
90
|
columns: columns,
|
|
83
91
|
filters: filters,
|
|
84
92
|
filterDataSources: filterDataSources,
|
|
85
93
|
dataSource: dataSource
|
|
86
94
|
});
|
|
87
|
-
exports.SourceTable = SourceTable;
|
|
88
95
|
SourceTable.displayName = 'SourceTable';
|
|
@@ -88,80 +88,100 @@ var filters = function filters() {
|
|
|
88
88
|
var columns = [{
|
|
89
89
|
value: 'action',
|
|
90
90
|
title: 'Action',
|
|
91
|
-
sortable: false
|
|
91
|
+
sortable: false,
|
|
92
|
+
toggleable: true
|
|
92
93
|
}, {
|
|
93
94
|
value: 'branchId',
|
|
94
95
|
title: 'Branch Id',
|
|
95
|
-
sortable: false
|
|
96
|
+
sortable: false,
|
|
97
|
+
toggleable: true
|
|
96
98
|
}, {
|
|
97
99
|
value: 'type',
|
|
98
100
|
title: 'Type',
|
|
99
|
-
sortable: false
|
|
101
|
+
sortable: false,
|
|
102
|
+
toggleable: true
|
|
100
103
|
}, {
|
|
101
104
|
value: 'engineIdentification',
|
|
102
105
|
title: 'Engine Identification',
|
|
103
|
-
sortable: false
|
|
106
|
+
sortable: false,
|
|
107
|
+
toggleable: true
|
|
104
108
|
}, {
|
|
105
109
|
value: 'flags',
|
|
106
110
|
title: 'Flags',
|
|
107
|
-
sortable: false
|
|
111
|
+
sortable: false,
|
|
112
|
+
toggleable: true
|
|
108
113
|
}, {
|
|
109
114
|
value: 'loopIndex',
|
|
110
115
|
title: 'Loop Index',
|
|
111
|
-
sortable: false
|
|
116
|
+
sortable: false,
|
|
117
|
+
toggleable: true
|
|
112
118
|
}, {
|
|
113
119
|
value: 'managementAction',
|
|
114
120
|
title: 'Management Action',
|
|
115
|
-
sortable: false
|
|
121
|
+
sortable: false,
|
|
122
|
+
toggleable: true
|
|
116
123
|
}, {
|
|
117
124
|
value: 'message',
|
|
118
125
|
title: 'Message',
|
|
119
|
-
sortable: false
|
|
126
|
+
sortable: false,
|
|
127
|
+
toggleable: true
|
|
120
128
|
}, {
|
|
121
129
|
value: 'mode',
|
|
122
130
|
title: 'Mode',
|
|
123
|
-
sortable: false
|
|
131
|
+
sortable: false,
|
|
132
|
+
toggleable: true
|
|
124
133
|
}, {
|
|
125
134
|
value: 'nodeId',
|
|
126
135
|
title: 'Node Id',
|
|
127
|
-
sortable: false
|
|
136
|
+
sortable: false,
|
|
137
|
+
toggleable: true
|
|
128
138
|
}, {
|
|
129
139
|
value: 'nodeName',
|
|
130
140
|
title: 'Node Name',
|
|
131
|
-
sortable: false
|
|
141
|
+
sortable: false,
|
|
142
|
+
toggleable: true
|
|
132
143
|
}, {
|
|
133
144
|
value: 'originator',
|
|
134
145
|
title: 'Originator',
|
|
135
|
-
sortable: false
|
|
146
|
+
sortable: false,
|
|
147
|
+
toggleable: true
|
|
136
148
|
}, {
|
|
137
149
|
value: 'results',
|
|
138
150
|
title: 'Results',
|
|
139
|
-
sortable: false
|
|
151
|
+
sortable: false,
|
|
152
|
+
toggleable: true
|
|
140
153
|
}, {
|
|
141
154
|
value: 'scheduledAt',
|
|
142
155
|
title: 'Scheduled At',
|
|
143
|
-
sortable: true
|
|
156
|
+
sortable: true,
|
|
157
|
+
toggleable: true
|
|
144
158
|
}, {
|
|
145
159
|
value: 'selectionCriterion',
|
|
146
160
|
title: 'Selection Criterion',
|
|
147
|
-
sortable: false
|
|
161
|
+
sortable: false,
|
|
162
|
+
toggleable: true
|
|
148
163
|
}, {
|
|
149
164
|
value: 'status',
|
|
150
165
|
title: 'Status',
|
|
151
|
-
sortable: false
|
|
166
|
+
sortable: false,
|
|
167
|
+
toggleable: true
|
|
152
168
|
}, {
|
|
153
169
|
value: 'token',
|
|
154
170
|
title: 'Token',
|
|
155
|
-
sortable: false
|
|
171
|
+
sortable: false,
|
|
172
|
+
toggleable: true
|
|
156
173
|
}, {
|
|
157
174
|
value: 'sourceName',
|
|
158
175
|
//valueTransform: (_value, row) => getIn(row, ['tree', 'sourceName'], ''),
|
|
159
176
|
title: 'Source',
|
|
160
|
-
sortable: false
|
|
177
|
+
sortable: false,
|
|
178
|
+
toggleable: false,
|
|
179
|
+
columnOrder: 'first'
|
|
161
180
|
}, {
|
|
162
181
|
value: 'sourceGroup',
|
|
163
182
|
title: 'Group',
|
|
164
183
|
sortable: false,
|
|
184
|
+
toggleable: true,
|
|
165
185
|
valueTransform: function valueTransform(_value, row) {
|
|
166
186
|
return row.getIn(['tree', 'sourceGroup']);
|
|
167
187
|
}
|
|
@@ -169,6 +189,7 @@ var columns = [{
|
|
|
169
189
|
value: 'tree',
|
|
170
190
|
title: 'Tree',
|
|
171
191
|
sortable: false,
|
|
192
|
+
toggleable: true,
|
|
172
193
|
valueTransform: function valueTransform(value) {
|
|
173
194
|
return (0, _immutable.get)(value, 'name', '');
|
|
174
195
|
}
|
|
@@ -176,35 +197,40 @@ var columns = [{
|
|
|
176
197
|
value: 'treeType',
|
|
177
198
|
title: 'Tree Type',
|
|
178
199
|
sortable: false,
|
|
200
|
+
toggleable: true,
|
|
179
201
|
valueTransform: function valueTransform(_value, row) {
|
|
180
202
|
return row.getIn(['tree', 'type']);
|
|
181
203
|
}
|
|
182
204
|
}, {
|
|
183
205
|
value: 'createdAt',
|
|
184
206
|
title: 'Created',
|
|
185
|
-
sortable: true
|
|
207
|
+
sortable: true,
|
|
208
|
+
toggleable: true
|
|
186
209
|
}, {
|
|
187
210
|
value: 'createdBy',
|
|
188
211
|
title: 'Created By',
|
|
189
|
-
sortable: false
|
|
212
|
+
sortable: false,
|
|
213
|
+
toggleable: true
|
|
190
214
|
}, {
|
|
191
215
|
value: 'id',
|
|
192
216
|
title: 'ID',
|
|
193
|
-
sortable: false
|
|
217
|
+
sortable: false,
|
|
218
|
+
toggleable: true
|
|
194
219
|
}, {
|
|
195
220
|
value: 'updatedAt',
|
|
196
221
|
title: 'Updated',
|
|
197
|
-
sortable: true
|
|
222
|
+
sortable: true,
|
|
223
|
+
toggleable: true
|
|
198
224
|
}, {
|
|
199
225
|
value: 'updatedBy',
|
|
200
226
|
title: 'Updated By',
|
|
201
|
-
sortable: false
|
|
227
|
+
sortable: false,
|
|
228
|
+
toggleable: true
|
|
202
229
|
}];
|
|
203
|
-
var TriggerTable = (0, _Table.generateTable)({
|
|
230
|
+
var TriggerTable = exports.TriggerTable = (0, _Table.generateTable)({
|
|
204
231
|
tableOptions: ['runId', 'triggerStatus'],
|
|
205
232
|
columns: columns,
|
|
206
233
|
filters: filters,
|
|
207
234
|
filterDataSources: filterDataSources,
|
|
208
235
|
dataSource: dataSource
|
|
209
|
-
});
|
|
210
|
-
exports.TriggerTable = TriggerTable;
|
|
236
|
+
});
|
|
@@ -28,14 +28,13 @@ var formTrees = function formTrees(webhookEvents) {
|
|
|
28
28
|
return "Submission ".concat(event);
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
var getPossibleTrees = function getPossibleTrees(_ref) {
|
|
31
|
+
var getPossibleTrees = exports.getPossibleTrees = function getPossibleTrees(_ref) {
|
|
32
32
|
var kappSlug = _ref.kappSlug,
|
|
33
33
|
formSlug = _ref.formSlug,
|
|
34
34
|
spaceWebhookEvents = _ref.spaceWebhookEvents,
|
|
35
35
|
kappWebhookEvents = _ref.kappWebhookEvents;
|
|
36
36
|
return kappSlug && formSlug ? formTrees(kappWebhookEvents) : !kappSlug && formSlug ? formTrees(spaceWebhookEvents) : kappSlug ? kappTrees(kappWebhookEvents) : spaceTrees(spaceWebhookEvents);
|
|
37
37
|
};
|
|
38
|
-
exports.getPossibleTrees = getPossibleTrees;
|
|
39
38
|
var dataSources = function dataSources(_ref2) {
|
|
40
39
|
var workflowId = _ref2.workflowId,
|
|
41
40
|
kappSlug = _ref2.kappSlug,
|
|
@@ -240,10 +239,9 @@ var fields = function fields(_ref8) {
|
|
|
240
239
|
}];
|
|
241
240
|
};
|
|
242
241
|
};
|
|
243
|
-
var LinkedWorkflowForm = (0, _Form.generateForm)({
|
|
242
|
+
var LinkedWorkflowForm = exports.LinkedWorkflowForm = (0, _Form.generateForm)({
|
|
244
243
|
formOptions: ['kappSlug', 'formSlug', 'workflowId', 'cloneGuid', 'scope'],
|
|
245
244
|
dataSources: dataSources,
|
|
246
245
|
handleSubmit: handleSubmit,
|
|
247
246
|
fields: fields
|
|
248
|
-
});
|
|
249
|
-
exports.LinkedWorkflowForm = LinkedWorkflowForm;
|
|
247
|
+
});
|