@kineticdata/react 5.1.2 → 6.0.1
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/assets/task/icons/drag-handle.svg +3 -0
- package/assets/task/icons/plus_small.svg +2 -4
- package/lib/apis/agent/adapters.js +16 -12
- package/lib/apis/agent/bridges.js +54 -41
- package/lib/apis/agent/handlers.js +51 -38
- package/lib/apis/core/activity.js +19 -11
- package/lib/apis/core/attributeDefinitions.js +54 -46
- package/lib/apis/core/attributeDefinitions.test.js +47 -55
- package/lib/apis/core/authentication.js +58 -63
- package/lib/apis/core/backgroundJobs.js +38 -30
- package/lib/apis/core/bridgeModelAttributeMappings.js +42 -34
- package/lib/apis/core/bridgeModelAttributes.js +47 -37
- package/lib/apis/core/bridgeModelMappings.js +42 -34
- package/lib/apis/core/bridgeModelQualificationMappings.js +42 -34
- package/lib/apis/core/bridgeModelQualifications.js +42 -34
- package/lib/apis/core/bridgeModels.js +56 -46
- package/lib/apis/core/bridgeModels.test.js +64 -80
- package/lib/apis/core/bridgedresources.js +64 -72
- package/lib/apis/core/bridgedresources.test.js +33 -30
- package/lib/apis/core/categories.js +59 -52
- package/lib/apis/core/categories.test.js +36 -33
- package/lib/apis/core/fileResources.js +41 -33
- package/lib/apis/core/filestores.js +42 -34
- package/lib/apis/core/formTypes.js +50 -44
- package/lib/apis/core/forms.js +53 -49
- package/lib/apis/core/forms.test.js +60 -74
- package/lib/apis/core/kapps.js +45 -39
- package/lib/apis/core/kapps.test.js +45 -52
- package/lib/apis/core/logs.js +20 -16
- package/lib/apis/core/memberships.js +23 -20
- package/lib/apis/core/meta.js +31 -19
- package/lib/apis/core/notices.js +17 -9
- package/lib/apis/core/oauthClients.js +49 -45
- package/lib/apis/core/platformComponents.js +73 -57
- package/lib/apis/core/platformItems.js +22 -13
- package/lib/apis/core/profile.js +28 -21
- package/lib/apis/core/profile.test.js +20 -17
- package/lib/apis/core/securityPolicyDefinitions.js +48 -41
- package/lib/apis/core/securityPolicyDefinitions.test.js +50 -60
- package/lib/apis/core/space.js +23 -16
- package/lib/apis/core/space.test.js +31 -38
- package/lib/apis/core/submissions.js +213 -186
- package/lib/apis/core/submissions.test.js +39 -36
- package/lib/apis/core/teams.js +51 -44
- package/lib/apis/core/teams.test.js +42 -39
- package/lib/apis/core/translations.js +123 -130
- package/lib/apis/core/translations.test.js +278 -368
- package/lib/apis/core/users.js +56 -49
- package/lib/apis/core/users.test.js +42 -39
- package/lib/apis/core/version.js +20 -11
- package/lib/apis/core/webApis.js +42 -34
- package/lib/apis/core/webhooks.js +48 -41
- package/lib/apis/core/webhooks.test.js +50 -60
- package/lib/apis/core/webhooksJobs.js +30 -26
- package/lib/apis/core/workflows.js +52 -44
- package/lib/apis/http.js +121 -80
- package/lib/apis/http.test.js +137 -38
- package/lib/apis/index.js +506 -50
- package/lib/apis/system/index.js +363 -215
- package/lib/apis/task/index.js +294 -227
- package/lib/components/agent/bridge/BridgeForm.js +50 -50
- package/lib/components/agent/bridge/BridgeTable.js +16 -9
- package/lib/components/agent/filestore/FilestoreForm.js +49 -48
- package/lib/components/agent/filestore/FilestoreTable.js +16 -9
- package/lib/components/agent/handler/AgentHandlerForm.js +24 -27
- package/lib/components/agent/handler/AgentHandlerTable.js +17 -10
- package/lib/components/common/AttributeSelect.js +15 -9
- package/lib/components/common/BridgeSelect.js +48 -43
- package/lib/components/common/ComponentConfigContext.js +9 -2
- package/lib/components/common/ContentEditable.js +36 -60
- package/lib/components/common/FormSelect.js +70 -58
- package/lib/components/common/NodeSelect.js +23 -19
- package/lib/components/common/Scroller.js +24 -23
- package/lib/components/common/StaticSelect.js +57 -50
- package/lib/components/common/TableInput.js +54 -57
- package/lib/components/common/TeamSelect.js +42 -39
- package/lib/components/common/ToastContainer.js +170 -0
- package/lib/components/common/Typeahead.js +121 -138
- package/lib/components/common/UserSelect.js +42 -41
- package/lib/components/common/authentication/AuthInterceptor.js +15 -19
- package/lib/components/common/authentication/AuthInterceptor.test.js +46 -64
- package/lib/components/common/authentication/AuthenticationContainer.js +350 -454
- package/lib/components/common/authentication/RequestInterceptor.js +16 -19
- package/lib/components/common/code_input/CodeInput.js +92 -122
- package/lib/components/common/code_input/draftHelpers.js +96 -90
- package/lib/components/common/code_input/languageHelpers.js +49 -47
- package/lib/components/common/code_input/languageHelpers.test.js +21 -16
- package/lib/components/common/defaults/Toast.js +26 -0
- package/lib/components/common/defaults/index.js +13 -0
- package/lib/components/core/CoreFormModal.js +26 -24
- package/lib/components/core/CoreModal.js +37 -31
- package/lib/components/core/attribute_definition/AttributeDefinitionForm.js +24 -23
- package/lib/components/core/attribute_definition/AttributeDefinitionTable.js +25 -18
- package/lib/components/core/bridge_model/BridgeModelForm.js +27 -37
- package/lib/components/core/bridge_model/BridgeModelTable.js +17 -10
- package/lib/components/core/bridge_model_attribute/BridgeModelAttributeForm.js +17 -16
- package/lib/components/core/bridge_model_attribute/BridgeModelAttributeTable.js +25 -21
- package/lib/components/core/bridge_model_qualification/BridgeModelQualificationForm.js +20 -20
- package/lib/components/core/bridge_model_qualification/BridgeModelQualificationTable.js +27 -22
- package/lib/components/core/category/CategoryForm.js +22 -22
- package/lib/components/core/category/CategoryTable.js +28 -16
- package/lib/components/core/core_form/CoreForm.js +209 -285
- package/lib/components/core/core_form/CoreForm.test.js +12 -10
- package/lib/components/core/core_form/defaults/index.js +52 -44
- package/lib/components/core/core_form/globals.js +14 -5
- package/lib/components/core/field_definition/FieldDefinitionForm.js +23 -21
- package/lib/components/core/field_definition/FieldDefinitionTable.js +26 -15
- package/lib/components/core/file_resource/FileResourceForm.js +38 -37
- package/lib/components/core/file_resource/FileResourceTable.js +16 -12
- package/lib/components/core/form/FormForm.js +56 -61
- package/lib/components/core/form/FormTable.js +47 -33
- package/lib/components/core/form_type/FormTypeForm.js +14 -13
- package/lib/components/core/form_type/FormTypeTable.js +15 -9
- package/lib/components/core/i18n/I18n.js +54 -61
- package/lib/components/core/i18n/I18nContext.js +9 -2
- package/lib/components/core/i18n/I18nProvider.js +40 -43
- package/lib/components/core/i18n/Moment.js +40 -50
- package/lib/components/core/index_definition/IndexDefinitionForm.js +23 -24
- package/lib/components/core/index_definition/IndexDefinitionTable.js +31 -16
- package/lib/components/core/index_job/IndexJobTable.js +20 -15
- package/lib/components/core/kapp/KappForm.js +57 -58
- package/lib/components/core/kapp/KappTable.js +34 -44
- package/lib/components/core/log/LogTable.js +42 -34
- package/lib/components/core/oauth_client/OAuthClientForm.js +17 -17
- package/lib/components/core/oauth_client/OAuthClientTable.js +12 -8
- package/lib/components/core/platform_component/AgentComponentForm.js +15 -15
- package/lib/components/core/platform_component/AgentComponentTable.js +10 -5
- package/lib/components/core/platform_component/TaskComponentForm.js +14 -14
- package/lib/components/core/profile/ProfileForm.js +40 -39
- package/lib/components/core/security_definition/SecurityDefinitionForm.js +28 -25
- package/lib/components/core/security_definition/SecurityDefinitionTable.js +27 -17
- package/lib/components/core/space/SpaceForm.js +79 -90
- package/lib/components/core/submission/DatastoreSubmissionFilters.js +39 -40
- package/lib/components/core/submission/DatastoreSubmissionTable.js +37 -34
- package/lib/components/core/submission/FormSubmissionFilters.js +79 -75
- package/lib/components/core/submission/FormSubmissionTable.js +64 -39
- package/lib/components/core/submission/KappSubmissionTable.js +67 -48
- package/lib/components/core/submission/SubmissionForm.js +126 -55
- package/lib/components/core/submission/SubmissionTable.js +24 -20
- package/lib/components/core/submission/helpers.js +37 -33
- package/lib/components/core/submission/helpers.test.js +69 -20
- package/lib/components/core/team/TeamForm.js +24 -21
- package/lib/components/core/team/TeamTable.js +27 -16
- package/lib/components/core/translation/ContextForm.js +13 -10
- package/lib/components/core/translation/ContextTable.js +13 -10
- package/lib/components/core/translation/EntryForm.js +27 -24
- package/lib/components/core/translation/EntryTable.js +19 -16
- package/lib/components/core/translation/LocaleForm.js +16 -13
- package/lib/components/core/translation/LocaleTable.js +12 -8
- package/lib/components/core/user/UserForm.js +38 -37
- package/lib/components/core/user/UserTable.js +42 -20
- package/lib/components/core/webapi/WebApiForm.js +87 -80
- package/lib/components/core/webapi/WebApiTable.js +28 -17
- package/lib/components/core/webhook/WebhookForm.js +33 -32
- package/lib/components/core/webhook/WebhookTable.js +41 -29
- package/lib/components/core/webhook_job/WebhookJobTable.js +58 -35
- package/lib/components/form/Form.helpers.js +182 -108
- package/lib/components/form/Form.js +467 -524
- package/lib/components/form/Form.models.js +39 -24
- package/lib/components/form/FormState.js +8 -5
- package/lib/components/form/KitchenSinkForm.js +135 -4
- package/lib/components/form/defaults/AttributesField.js +48 -59
- package/lib/components/form/defaults/CheckboxField.js +14 -6
- package/lib/components/form/defaults/CodeField.js +15 -7
- package/lib/components/form/defaults/FormButtons.js +12 -4
- package/lib/components/form/defaults/FormError.js +12 -4
- package/lib/components/form/defaults/FormField.js +15 -7
- package/lib/components/form/defaults/FormLayout.js +12 -4
- package/lib/components/form/defaults/FormMultiField.js +15 -7
- package/lib/components/form/defaults/PasswordField.js +14 -6
- package/lib/components/form/defaults/RadioField.js +15 -7
- package/lib/components/form/defaults/SampleTeamsRolesFIeld.js +17 -9
- package/lib/components/form/defaults/SelectField.js +16 -8
- package/lib/components/form/defaults/SelectMultiField.js +15 -7
- package/lib/components/form/defaults/TableField.js +14 -6
- package/lib/components/form/defaults/TeamField.js +15 -7
- package/lib/components/form/defaults/TeamMultiField.js +15 -7
- package/lib/components/form/defaults/TextField.js +14 -6
- package/lib/components/form/defaults/TextMultiField.js +26 -28
- package/lib/components/form/defaults/UserField.js +15 -7
- package/lib/components/form/defaults/UserMultiField.js +15 -7
- package/lib/components/form/defaults/index.js +48 -41
- package/lib/components/form/tests/Form.test.js +568 -864
- package/lib/components/form/tests/components.js +15 -25
- package/lib/components/form/tests/helpers.test.js +35 -33
- package/lib/components/index.js +1034 -135
- package/lib/components/system/SystemBackgroundTasksTable.js +14 -10
- package/lib/components/system/SystemCassandraForm.js +98 -0
- package/lib/components/system/SystemElasticSearchForm.js +98 -0
- package/lib/components/system/SystemFilestoreForm.js +36 -28
- package/lib/components/system/SystemForm.js +19 -16
- package/lib/components/system/SystemIngressForm.js +85 -36
- package/lib/components/system/SystemSecurityForm.js +17 -14
- package/lib/components/system/SystemSmtpForm.js +13 -13
- package/lib/components/system/SystemTaskAdapterForm.js +49 -21
- package/lib/components/system/SystemTrustedCertificateForm.js +40 -0
- package/lib/components/system/SystemTrustedCertificatesTable.js +74 -0
- package/lib/components/system/SystemUserForm.js +15 -14
- package/lib/components/system/helpers.js +281 -98
- package/lib/components/system/helpers.test.js +16 -12
- package/lib/components/system/spaces/SystemSpaceForm.js +25 -24
- package/lib/components/system/spaces/SystemTenantForm.js +112 -68
- package/lib/components/system/spaces/SystemTenantTable.js +12 -8
- package/lib/components/table/Table.js +295 -227
- package/lib/components/table/Table.redux.js +339 -355
- package/lib/components/table/Table.redux.test.js +49 -47
- package/lib/components/table/Table.test.js +146 -132
- package/lib/components/table/defaults/BodyCell.js +12 -6
- package/lib/components/table/defaults/BodyRow.js +10 -4
- package/lib/components/table/defaults/BooleanFilter.js +17 -11
- package/lib/components/table/defaults/ColumnControl.js +26 -0
- package/lib/components/table/defaults/EmptyBodyRow.js +12 -6
- package/lib/components/table/defaults/FilterLayout.js +17 -11
- package/lib/components/table/defaults/Footer.js +11 -5
- package/lib/components/table/defaults/FooterCell.js +10 -4
- package/lib/components/table/defaults/FooterRow.js +10 -4
- package/lib/components/table/defaults/Header.js +10 -4
- package/lib/components/table/defaults/HeaderCell.js +16 -10
- package/lib/components/table/defaults/HeaderRow.js +10 -4
- package/lib/components/table/defaults/PaginationControl.js +18 -9
- package/lib/components/table/defaults/TableBody.js +10 -4
- package/lib/components/table/defaults/TableLayout.js +12 -6
- package/lib/components/table/defaults/TextFilter.js +16 -10
- package/lib/components/table/defaults/index.js +43 -33
- package/lib/components/task/builder/Connector.js +100 -111
- package/lib/components/task/builder/ConnectorForm.js +17 -11
- package/lib/components/task/builder/Node.js +101 -83
- package/lib/components/task/builder/NodeForm.js +30 -27
- package/lib/components/task/builder/NodeParametersForm.js +27 -24
- package/lib/components/task/builder/SvgCanvas.js +67 -96
- package/lib/components/task/builder/SvgText.js +19 -134
- package/lib/components/task/builder/TaskDefinitionConfigForm.js +27 -22
- package/lib/components/task/builder/TreeBuilder.js +140 -115
- package/lib/components/task/builder/builder.redux.js +311 -326
- package/lib/components/task/builder/constants.js +94 -45
- package/lib/components/task/builder/helpers.js +184 -173
- package/lib/components/task/builder/helpers.test.js +20 -18
- package/lib/components/task/builder/models.js +121 -98
- package/lib/components/task/category/TaskCategoryForm.js +31 -29
- package/lib/components/task/category/TaskCategoryTable.js +12 -8
- package/lib/components/task/common/UsageTable.js +16 -12
- package/lib/components/task/engine/EngineSettingsForm.js +13 -11
- package/lib/components/task/errors/RunErrorTable.js +50 -27
- package/lib/components/task/errors/SystemErrorsTable.js +13 -9
- package/lib/components/task/handlers/HandlerForm.js +55 -55
- package/lib/components/task/handlers/HandlerTable.js +35 -19
- package/lib/components/task/handlers/MissingHandlerTable.js +12 -8
- package/lib/components/task/policy_rule/PolicyRuleForm.js +33 -32
- package/lib/components/task/policy_rule/PolicyRuleTable.js +12 -8
- package/lib/components/task/runs/CreateManualTriggerForm.js +17 -15
- package/lib/components/task/runs/RunTable.js +45 -29
- package/lib/components/task/runs/RunTaskTable.js +10 -6
- package/lib/components/task/sources/SourceForm.js +47 -47
- package/lib/components/task/sources/SourceTable.js +29 -18
- package/lib/components/task/triggers/TriggerTable.js +71 -41
- package/lib/components/task/workflows/LinkedWorkflowForm.js +48 -54
- package/lib/components/task/workflows/LinkedWorkflowTable.js +46 -26
- package/lib/components/task/workflows/MissingRoutineTable.js +12 -8
- package/lib/components/task/workflows/WorkflowForm.js +49 -44
- package/lib/components/task/workflows/WorkflowTable.js +47 -29
- package/lib/helpers/SearchBuilder.js +73 -127
- package/lib/helpers/SearchBuilder.test.js +184 -175
- package/lib/helpers/index.js +116 -74
- package/lib/index.js +87 -38
- package/lib/reducer.js +11 -3
- package/lib/saga.js +42 -38
- package/lib/store.js +59 -35
- package/package.json +17 -29
- package/proxyhelper.js +122 -57
- package/assets/discussions/images/avi_128.png +0 -0
- package/assets/discussions/images/excel_128.png +0 -0
- package/assets/discussions/images/html_128.png +0 -0
- package/assets/discussions/images/illustrator_128.png +0 -0
- package/assets/discussions/images/indesign_128.png +0 -0
- package/assets/discussions/images/movie_128.png +0 -0
- package/assets/discussions/images/mpeg_128.png +0 -0
- package/assets/discussions/images/pdf_128.png +0 -0
- package/assets/discussions/images/photoshop_128.png +0 -0
- package/assets/discussions/images/powerpoint_128.png +0 -0
- package/assets/discussions/images/txt_128.png +0 -0
- package/assets/discussions/images/unknown_128.png +0 -0
- package/assets/discussions/images/word_128.png +0 -0
- package/assets/discussions/styles/_discussion.scss +0 -506
- package/lib/apis/discussions/index.js +0 -395
- package/lib/apis/socket/index.js +0 -77
- package/lib/apis/socket/socket.js +0 -350
- package/lib/apis/socket/socket.test.js +0 -90
- package/lib/apis/socket/timer.js +0 -45
- package/lib/apis/socket/timer.test.js +0 -51
- package/lib/apis/socket/topic.js +0 -185
- package/lib/apis/topics/index.js +0 -19
- package/lib/components/discussions/ChatInputForm.js +0 -424
- package/lib/components/discussions/DateBanner.js +0 -10
- package/lib/components/discussions/Discussion.js +0 -202
- package/lib/components/discussions/DiscussionForm.js +0 -227
- package/lib/components/discussions/InvitationForm.js +0 -107
- package/lib/components/discussions/MessageHistory.js +0 -110
- package/lib/components/discussions/MessagesByDate.js +0 -40
- package/lib/components/discussions/MessagesList.js +0 -30
- package/lib/components/discussions/MoreMessagesBanner.js +0 -26
- package/lib/components/discussions/ScrollHelper.js +0 -84
- package/lib/components/discussions/SystemMessage.js +0 -88
- package/lib/components/discussions/SystemMessageGroup.js +0 -15
- package/lib/components/discussions/UserMessage.js +0 -163
- package/lib/components/discussions/UserMessageGroup.js +0 -34
- package/lib/components/discussions/redux.js +0 -178
- package/lib/components/discussions/sagas.js +0 -500
- package/lib/helpers/discussions/canManage.js +0 -30
- package/lib/helpers/discussions/canManage.test.js +0 -69
- package/lib/helpers/discussions/generateSystemMessageContent.js +0 -131
- package/lib/helpers/discussions/generateSystemMessageContent.test.js +0 -450
- package/lib/models/discussions.js +0 -76
- package/lib/models/index.js +0 -1
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import { fetchUsage } from '../../../apis';
|
|
3
|
-
import { defineFilter } from '../../../helpers';
|
|
4
|
-
var clientSide = defineFilter(true).equals('type', 'type').startsWith('source', 'source').startsWith('group', 'group').startsWith('name', 'name').end();
|
|
1
|
+
"use strict";
|
|
5
2
|
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.UsageTable = void 0;
|
|
7
|
+
var _Table = require("../../table/Table");
|
|
8
|
+
var _apis = require("../../../apis");
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
10
|
+
var clientSide = (0, _helpers.defineFilter)(true).equals('type', 'type').startsWith('source', 'source').startsWith('group', 'group').startsWith('name', 'name').end();
|
|
6
11
|
var dataSource = function dataSource(_ref) {
|
|
7
12
|
var definitionId = _ref.definitionId,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
sourceName = _ref.sourceName,
|
|
14
|
+
sourceGroup = _ref.sourceGroup,
|
|
15
|
+
name = _ref.name,
|
|
16
|
+
usageType = _ref.usageType;
|
|
12
17
|
return {
|
|
13
|
-
fn: fetchUsage,
|
|
18
|
+
fn: _apis.fetchUsage,
|
|
14
19
|
clientSide: clientSide,
|
|
15
20
|
params: function params() {
|
|
16
21
|
return [{
|
|
@@ -28,7 +33,6 @@ var dataSource = function dataSource(_ref) {
|
|
|
28
33
|
}
|
|
29
34
|
};
|
|
30
35
|
};
|
|
31
|
-
|
|
32
36
|
var filters = function filters() {
|
|
33
37
|
return function () {
|
|
34
38
|
return [{
|
|
@@ -50,7 +54,6 @@ var filters = function filters() {
|
|
|
50
54
|
}];
|
|
51
55
|
};
|
|
52
56
|
};
|
|
53
|
-
|
|
54
57
|
var columns = [{
|
|
55
58
|
value: 'type',
|
|
56
59
|
title: 'Type',
|
|
@@ -76,10 +79,11 @@ var columns = [{
|
|
|
76
79
|
title: 'Updated',
|
|
77
80
|
sortable: true
|
|
78
81
|
}];
|
|
79
|
-
|
|
82
|
+
var UsageTable = (0, _Table.generateTable)({
|
|
80
83
|
tableOptions: ['definitionId', 'sourceName', 'sourceGroup', 'name', 'usageType'],
|
|
81
84
|
columns: columns,
|
|
82
85
|
filters: filters,
|
|
83
86
|
dataSource: dataSource
|
|
84
87
|
});
|
|
88
|
+
exports.UsageTable = UsageTable;
|
|
85
89
|
UsageTable.displayName = 'UsageTable';
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import { generateForm } from '../../form/Form';
|
|
1
|
+
"use strict";
|
|
3
2
|
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EngineSettingsForm = void 0;
|
|
7
|
+
var _apis = require("../../../apis");
|
|
8
|
+
var _Form = require("../../form/Form");
|
|
4
9
|
var dataSources = function dataSources(_ref) {
|
|
5
10
|
var spaceSlug = _ref.spaceSlug;
|
|
6
11
|
return {
|
|
7
12
|
settings: {
|
|
8
|
-
fn: fetchEngineSettings,
|
|
13
|
+
fn: _apis.fetchEngineSettings,
|
|
9
14
|
params: [{
|
|
10
15
|
spaceSlug: spaceSlug
|
|
11
16
|
}],
|
|
@@ -15,19 +20,17 @@ var dataSources = function dataSources(_ref) {
|
|
|
15
20
|
}
|
|
16
21
|
};
|
|
17
22
|
};
|
|
18
|
-
|
|
19
23
|
var handleSubmit = function handleSubmit(_ref2) {
|
|
20
24
|
var spaceSlug = _ref2.spaceSlug;
|
|
21
25
|
return function (values) {
|
|
22
26
|
return new Promise(function (resolve, reject) {
|
|
23
27
|
var settings = values.toJS();
|
|
24
|
-
updateEngineSettings({
|
|
28
|
+
(0, _apis.updateEngineSettings)({
|
|
25
29
|
spaceSlug: spaceSlug,
|
|
26
30
|
settings: settings
|
|
27
31
|
}).then(function (_ref3) {
|
|
28
32
|
var message = _ref3.message,
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
error = _ref3.error;
|
|
31
34
|
if (message) {
|
|
32
35
|
resolve(message);
|
|
33
36
|
} else {
|
|
@@ -37,7 +40,6 @@ var handleSubmit = function handleSubmit(_ref2) {
|
|
|
37
40
|
});
|
|
38
41
|
};
|
|
39
42
|
};
|
|
40
|
-
|
|
41
43
|
var fields = function fields() {
|
|
42
44
|
return function (_ref4) {
|
|
43
45
|
var settings = _ref4.settings;
|
|
@@ -62,10 +64,10 @@ var fields = function fields() {
|
|
|
62
64
|
}];
|
|
63
65
|
};
|
|
64
66
|
};
|
|
65
|
-
|
|
66
|
-
export var EngineSettingsForm = generateForm({
|
|
67
|
+
var EngineSettingsForm = (0, _Form.generateForm)({
|
|
67
68
|
formOptions: ['spaceSlug'],
|
|
68
69
|
dataSources: dataSources,
|
|
69
70
|
fields: fields,
|
|
70
71
|
handleSubmit: handleSubmit
|
|
71
|
-
});
|
|
72
|
+
});
|
|
73
|
+
exports.EngineSettingsForm = EngineSettingsForm;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import { generateTable } from '../../table/Table';
|
|
3
|
-
import { getIn } from 'immutable';
|
|
4
|
-
var ERROR_TYPES = ['Connector Error', 'Handler Error', 'Invalid Trigger Error', 'Missing Handler Error', 'Missing Routine Error', 'Node Message Error', 'Node Parameter Error', 'Source Error', 'Tree Error', 'Unidentified Error', 'Unknown Variable Error'];
|
|
1
|
+
"use strict";
|
|
5
2
|
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RunErrorTable = void 0;
|
|
7
|
+
var _task = require("../../../apis/task");
|
|
8
|
+
var _Table = require("../../table/Table");
|
|
9
|
+
var _immutable = require("immutable");
|
|
10
|
+
var ERROR_TYPES = ['Connector Error', 'Handler Error', 'Invalid Trigger Error', 'Missing Handler Error', 'Missing Routine Error', 'Node Message Error', 'Node Parameter Error', 'Source Error', 'Tree Error', 'Unidentified Error', 'Unknown Variable Error'];
|
|
6
11
|
var dataSource = function dataSource(_ref) {
|
|
7
12
|
var runId = _ref.runId,
|
|
8
|
-
|
|
13
|
+
id = _ref.id;
|
|
9
14
|
return {
|
|
10
|
-
fn: fetchTaskRunErrors,
|
|
15
|
+
fn: _task.fetchTaskRunErrors,
|
|
11
16
|
params: function params(paramData) {
|
|
12
17
|
return [{
|
|
13
18
|
runId: runId,
|
|
@@ -41,7 +46,6 @@ var dataSource = function dataSource(_ref) {
|
|
|
41
46
|
}
|
|
42
47
|
};
|
|
43
48
|
};
|
|
44
|
-
|
|
45
49
|
var filters = function filters() {
|
|
46
50
|
return function () {
|
|
47
51
|
return [{
|
|
@@ -83,88 +87,107 @@ var filters = function filters() {
|
|
|
83
87
|
}];
|
|
84
88
|
};
|
|
85
89
|
};
|
|
86
|
-
|
|
87
90
|
var columns = [{
|
|
91
|
+
// Note: This appears as 'Occured' in the columnControl
|
|
88
92
|
value: 'createdAt',
|
|
89
93
|
title: 'Created At',
|
|
90
|
-
sortable: true
|
|
94
|
+
sortable: true,
|
|
95
|
+
toggleable: true
|
|
91
96
|
}, {
|
|
92
97
|
value: 'createdBy',
|
|
93
98
|
title: 'Created By',
|
|
94
|
-
sortable: false
|
|
99
|
+
sortable: false,
|
|
100
|
+
toggleable: true
|
|
95
101
|
}, {
|
|
96
102
|
value: 'engineIdentification',
|
|
97
103
|
title: 'Engine Identification',
|
|
98
|
-
sortable: false
|
|
104
|
+
sortable: false,
|
|
105
|
+
toggleable: true
|
|
99
106
|
}, {
|
|
100
107
|
value: 'id',
|
|
101
108
|
title: 'Error Id',
|
|
102
|
-
sortable: false
|
|
109
|
+
sortable: false,
|
|
110
|
+
toggleable: false,
|
|
111
|
+
columnOrder: 'first'
|
|
103
112
|
}, {
|
|
104
113
|
value: 'relatedItem1Id',
|
|
105
114
|
title: 'Related Item 1 ID',
|
|
106
|
-
sortable: false
|
|
115
|
+
sortable: false,
|
|
116
|
+
toggleable: true
|
|
107
117
|
}, {
|
|
108
118
|
value: 'relatedItem1Type',
|
|
109
119
|
title: 'Related Item 1 Type',
|
|
110
|
-
sortable: false
|
|
120
|
+
sortable: false,
|
|
121
|
+
toggleable: true
|
|
111
122
|
}, {
|
|
112
123
|
value: 'relatedItem2Id',
|
|
113
124
|
title: 'Related Item 2 ID',
|
|
114
|
-
sortable: false
|
|
125
|
+
sortable: false,
|
|
126
|
+
toggleable: true
|
|
115
127
|
}, {
|
|
116
128
|
value: 'relatedItem2Type',
|
|
117
129
|
title: 'Related Item 2 Type',
|
|
118
|
-
sortable: false
|
|
130
|
+
sortable: false,
|
|
131
|
+
toggleable: true
|
|
119
132
|
}, {
|
|
120
133
|
value: 'status',
|
|
121
134
|
title: 'Status',
|
|
122
|
-
sortable: false
|
|
135
|
+
sortable: false,
|
|
136
|
+
toggleable: true
|
|
123
137
|
}, {
|
|
124
138
|
value: 'sourceName',
|
|
125
139
|
title: 'Source',
|
|
126
140
|
sortable: false,
|
|
141
|
+
toggleable: true,
|
|
127
142
|
valueTransform: function valueTransform(_value, row) {
|
|
128
|
-
return getIn(row, ['run', 'tree', 'sourceName'], '');
|
|
143
|
+
return (0, _immutable.getIn)(row, ['run', 'tree', 'sourceName'], '');
|
|
129
144
|
}
|
|
130
145
|
}, {
|
|
131
146
|
value: 'sourceGroup',
|
|
132
147
|
title: 'Group',
|
|
133
148
|
sortable: false,
|
|
149
|
+
toggleable: true,
|
|
134
150
|
valueTransform: function valueTransform(_value, row) {
|
|
135
|
-
return getIn(row, ['run', 'tree', 'sourceGroup'], '');
|
|
151
|
+
return (0, _immutable.getIn)(row, ['run', 'tree', 'sourceGroup'], '');
|
|
136
152
|
}
|
|
137
153
|
}, {
|
|
138
154
|
value: 'treeName',
|
|
139
155
|
title: 'Name',
|
|
140
156
|
sortable: false,
|
|
157
|
+
toggleable: true,
|
|
141
158
|
valueTransform: function valueTransform(_value, row) {
|
|
142
|
-
return getIn(row, ['run', 'tree', 'name'], '');
|
|
159
|
+
return (0, _immutable.getIn)(row, ['run', 'tree', 'name'], '');
|
|
143
160
|
}
|
|
144
161
|
}, {
|
|
145
162
|
value: 'Summary',
|
|
146
163
|
title: 'Summary',
|
|
147
|
-
sortable: false
|
|
164
|
+
sortable: false,
|
|
165
|
+
toggleable: true
|
|
148
166
|
}, {
|
|
149
167
|
value: 'text',
|
|
150
168
|
title: 'Text',
|
|
151
|
-
sortable: false
|
|
169
|
+
sortable: false,
|
|
170
|
+
toggleable: true
|
|
152
171
|
}, {
|
|
153
172
|
value: 'type',
|
|
154
173
|
title: 'Type',
|
|
155
|
-
sortable: false
|
|
174
|
+
sortable: false,
|
|
175
|
+
toggleable: true
|
|
156
176
|
}, {
|
|
157
177
|
value: 'updatedAt',
|
|
158
178
|
title: 'Updated At',
|
|
159
|
-
sortable: true
|
|
179
|
+
sortable: true,
|
|
180
|
+
toggleable: true
|
|
160
181
|
}, {
|
|
161
182
|
value: 'updatedBy',
|
|
162
183
|
title: 'Updated By',
|
|
163
|
-
sortable: false
|
|
184
|
+
sortable: false,
|
|
185
|
+
toggleable: true
|
|
164
186
|
}];
|
|
165
|
-
|
|
187
|
+
var RunErrorTable = (0, _Table.generateTable)({
|
|
166
188
|
tableOptions: ['runId'],
|
|
167
189
|
columns: columns,
|
|
168
190
|
filters: filters,
|
|
169
191
|
dataSource: dataSource
|
|
170
|
-
});
|
|
192
|
+
});
|
|
193
|
+
exports.RunErrorTable = RunErrorTable;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SystemErrorsTable = void 0;
|
|
7
|
+
var _Table = require("../../table/Table");
|
|
8
|
+
var _apis = require("../../../apis");
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
4
10
|
var STATUS_VALUES = ['Active', 'Handled'].map(function (s) {
|
|
5
11
|
return {
|
|
6
12
|
value: s,
|
|
7
13
|
label: s
|
|
8
14
|
};
|
|
9
15
|
});
|
|
10
|
-
var clientSide = defineFilter(true).equals('status', 'status').end();
|
|
11
|
-
|
|
16
|
+
var clientSide = (0, _helpers.defineFilter)(true).equals('status', 'status').end();
|
|
12
17
|
var dataSource = function dataSource() {
|
|
13
18
|
return {
|
|
14
|
-
fn: fetchSystemErrors,
|
|
19
|
+
fn: _apis.fetchSystemErrors,
|
|
15
20
|
clientSide: clientSide,
|
|
16
21
|
params: function params() {
|
|
17
22
|
return [{
|
|
@@ -25,7 +30,6 @@ var dataSource = function dataSource() {
|
|
|
25
30
|
}
|
|
26
31
|
};
|
|
27
32
|
};
|
|
28
|
-
|
|
29
33
|
var filters = function filters() {
|
|
30
34
|
return function () {
|
|
31
35
|
return [{
|
|
@@ -36,7 +40,6 @@ var filters = function filters() {
|
|
|
36
40
|
}];
|
|
37
41
|
};
|
|
38
42
|
};
|
|
39
|
-
|
|
40
43
|
var columns = [{
|
|
41
44
|
value: 'summary',
|
|
42
45
|
title: 'System Error',
|
|
@@ -74,10 +77,11 @@ var columns = [{
|
|
|
74
77
|
title: 'Updated By',
|
|
75
78
|
sortable: true
|
|
76
79
|
}];
|
|
77
|
-
|
|
80
|
+
var SystemErrorsTable = (0, _Table.generateTable)({
|
|
78
81
|
columns: columns,
|
|
79
82
|
filters: filters,
|
|
80
83
|
dataSource: dataSource
|
|
81
84
|
});
|
|
85
|
+
exports.SystemErrorsTable = SystemErrorsTable;
|
|
82
86
|
SystemErrorsTable.propTypes = {};
|
|
83
87
|
SystemErrorsTable.displayName = 'SystemErrorsTable';
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import { fetchHandler, fetchTaskCategories, updateHandler } from '../../../apis';
|
|
3
|
-
import { Form } from '../../form/Form';
|
|
4
|
-
import { get, Map, List } from 'immutable';
|
|
5
|
-
import { buildPropertyFields } from '../../form/Form.helpers';
|
|
1
|
+
"use strict";
|
|
6
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.HandlerForm = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _apis = require("../../../apis");
|
|
10
|
+
var _Form = require("../../form/Form");
|
|
11
|
+
var _immutable = require("immutable");
|
|
12
|
+
var _Form2 = require("../../form/Form.helpers");
|
|
7
13
|
var dataSources = function dataSources(_ref) {
|
|
8
14
|
var definitionId = _ref.definitionId;
|
|
9
15
|
return {
|
|
10
16
|
handler: {
|
|
11
|
-
fn: fetchHandler,
|
|
17
|
+
fn: _apis.fetchHandler,
|
|
12
18
|
params: definitionId && [{
|
|
13
19
|
definitionId: definitionId,
|
|
14
20
|
include: 'details,categories,parameters,results,properties'
|
|
@@ -18,7 +24,7 @@ var dataSources = function dataSources(_ref) {
|
|
|
18
24
|
}
|
|
19
25
|
},
|
|
20
26
|
categories: {
|
|
21
|
-
fn: fetchTaskCategories,
|
|
27
|
+
fn: _apis.fetchTaskCategories,
|
|
22
28
|
params: [],
|
|
23
29
|
transform: function transform(result) {
|
|
24
30
|
return result.categories;
|
|
@@ -26,17 +32,15 @@ var dataSources = function dataSources(_ref) {
|
|
|
26
32
|
}
|
|
27
33
|
};
|
|
28
34
|
};
|
|
29
|
-
|
|
30
35
|
var handleSubmit = function handleSubmit(_ref2) {
|
|
31
36
|
var definitionId = _ref2.definitionId;
|
|
32
37
|
return function (values) {
|
|
33
|
-
updateHandler({
|
|
38
|
+
(0, _apis.updateHandler)({
|
|
34
39
|
definitionId: definitionId,
|
|
35
40
|
handler: values.toJS()
|
|
36
41
|
}).then(function (_ref3) {
|
|
37
42
|
var handler = _ref3.handler,
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
error = _ref3.error;
|
|
40
44
|
if (error) {
|
|
41
45
|
throw error.statusCode === 400 && error.message || 'There was an error saving the handler';
|
|
42
46
|
} else {
|
|
@@ -45,71 +49,67 @@ var handleSubmit = function handleSubmit(_ref2) {
|
|
|
45
49
|
});
|
|
46
50
|
};
|
|
47
51
|
};
|
|
48
|
-
|
|
49
52
|
var fields = function fields(_ref4) {
|
|
50
53
|
var definitionId = _ref4.definitionId;
|
|
51
54
|
return function (_ref5) {
|
|
52
55
|
var handler = _ref5.handler,
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
categories = _ref5.categories;
|
|
55
57
|
if (!(definitionId && handler && categories)) {
|
|
56
58
|
return false;
|
|
57
59
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
propertiesSerialize = _buildPropertyFields.propertiesSerialize;
|
|
77
|
-
|
|
60
|
+
var _buildPropertyFields = (0, _Form2.buildPropertyFields)({
|
|
61
|
+
isNew: false,
|
|
62
|
+
properties: handler.get('properties'),
|
|
63
|
+
getName: function getName(property) {
|
|
64
|
+
return property.get('name');
|
|
65
|
+
},
|
|
66
|
+
getRequired: function getRequired(property) {
|
|
67
|
+
return property.get('required');
|
|
68
|
+
},
|
|
69
|
+
getSensitive: function getSensitive(property) {
|
|
70
|
+
return property.get('type') === 'Encrypted';
|
|
71
|
+
},
|
|
72
|
+
getValue: function getValue(property) {
|
|
73
|
+
return property.get('type') === 'Encrypted' ? '' : property.get('value') === null ? '' : property.get('value');
|
|
74
|
+
}
|
|
75
|
+
}),
|
|
76
|
+
propertiesFields = _buildPropertyFields.propertiesFields,
|
|
77
|
+
propertiesSerialize = _buildPropertyFields.propertiesSerialize;
|
|
78
78
|
return definitionId && handler && categories && [{
|
|
79
79
|
name: 'definitionId',
|
|
80
80
|
label: 'Definition ID',
|
|
81
81
|
type: 'text',
|
|
82
82
|
"transient": true,
|
|
83
83
|
enabled: false,
|
|
84
|
-
initialValue: get(handler, 'definitionId', '')
|
|
84
|
+
initialValue: (0, _immutable.get)(handler, 'definitionId', '')
|
|
85
85
|
}, {
|
|
86
86
|
name: 'definitionName',
|
|
87
87
|
label: 'Definition Name',
|
|
88
88
|
type: 'text',
|
|
89
89
|
"transient": true,
|
|
90
90
|
enabled: false,
|
|
91
|
-
initialValue: get(handler, 'definitionName', '')
|
|
91
|
+
initialValue: (0, _immutable.get)(handler, 'definitionName', '')
|
|
92
92
|
}, {
|
|
93
93
|
name: 'definitionVersion',
|
|
94
94
|
label: 'Definition Version',
|
|
95
95
|
type: 'text',
|
|
96
96
|
"transient": true,
|
|
97
97
|
enabled: false,
|
|
98
|
-
initialValue: get(handler, 'definitionVersion', '')
|
|
98
|
+
initialValue: (0, _immutable.get)(handler, 'definitionVersion', '')
|
|
99
99
|
}, {
|
|
100
100
|
name: 'name',
|
|
101
101
|
label: 'Name',
|
|
102
102
|
type: 'text',
|
|
103
103
|
"transient": true,
|
|
104
104
|
enabled: false,
|
|
105
|
-
initialValue: get(handler, 'name', '')
|
|
105
|
+
initialValue: (0, _immutable.get)(handler, 'name', '')
|
|
106
106
|
}, {
|
|
107
107
|
name: 'description',
|
|
108
108
|
label: 'Description',
|
|
109
109
|
type: 'text',
|
|
110
110
|
"transient": true,
|
|
111
111
|
enabled: false,
|
|
112
|
-
initialValue: get(handler, 'description', '')
|
|
112
|
+
initialValue: (0, _immutable.get)(handler, 'description', '')
|
|
113
113
|
}, {
|
|
114
114
|
name: 'status',
|
|
115
115
|
label: 'Status',
|
|
@@ -122,19 +122,19 @@ var fields = function fields(_ref4) {
|
|
|
122
122
|
label: 'Paused',
|
|
123
123
|
value: 'Paused'
|
|
124
124
|
}],
|
|
125
|
-
initialValue: get(handler, 'status', '')
|
|
125
|
+
initialValue: (0, _immutable.get)(handler, 'status', '')
|
|
126
126
|
}, {
|
|
127
127
|
name: 'categories',
|
|
128
128
|
label: 'Categories',
|
|
129
129
|
type: 'select-multi',
|
|
130
130
|
required: false,
|
|
131
|
-
initialValue: get(handler, 'categories', List()).map(function (c) {
|
|
131
|
+
initialValue: (0, _immutable.get)(handler, 'categories', (0, _immutable.List)()).map(function (c) {
|
|
132
132
|
return c.get('name');
|
|
133
133
|
}),
|
|
134
134
|
options: categories.sort(function (a, b) {
|
|
135
135
|
return a.get('name').toLowerCase().localeCompare(b.get('name').toLowerCase());
|
|
136
136
|
}).map(function (c) {
|
|
137
|
-
return Map({
|
|
137
|
+
return (0, _immutable.Map)({
|
|
138
138
|
label: c.get('name'),
|
|
139
139
|
value: c.get('name')
|
|
140
140
|
});
|
|
@@ -150,23 +150,22 @@ var fields = function fields(_ref4) {
|
|
|
150
150
|
}, {
|
|
151
151
|
name: 'properties',
|
|
152
152
|
visible: false,
|
|
153
|
-
initialValue: get(handler, 'properties', []),
|
|
153
|
+
initialValue: (0, _immutable.get)(handler, 'properties', []),
|
|
154
154
|
serialize: propertiesSerialize
|
|
155
155
|
}].concat(propertiesFields);
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
|
|
159
|
-
export var HandlerForm = function HandlerForm(_ref7) {
|
|
158
|
+
var HandlerForm = function HandlerForm(_ref7) {
|
|
160
159
|
var addFields = _ref7.addFields,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
return /*#__PURE__*/
|
|
160
|
+
alterFields = _ref7.alterFields,
|
|
161
|
+
fieldSet = _ref7.fieldSet,
|
|
162
|
+
formKey = _ref7.formKey,
|
|
163
|
+
components = _ref7.components,
|
|
164
|
+
onSave = _ref7.onSave,
|
|
165
|
+
onError = _ref7.onError,
|
|
166
|
+
children = _ref7.children,
|
|
167
|
+
definitionId = _ref7.definitionId;
|
|
168
|
+
return /*#__PURE__*/_react["default"].createElement(_Form.Form, {
|
|
170
169
|
addFields: addFields,
|
|
171
170
|
alterFields: alterFields,
|
|
172
171
|
fieldSet: fieldSet,
|
|
@@ -181,4 +180,5 @@ export var HandlerForm = function HandlerForm(_ref7) {
|
|
|
181
180
|
definitionId: definitionId
|
|
182
181
|
}
|
|
183
182
|
}, children);
|
|
184
|
-
};
|
|
183
|
+
};
|
|
184
|
+
exports.HandlerForm = HandlerForm;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import { fetchHandlers } from '../../../apis';
|
|
3
|
-
import { defineFilter } from '../../../helpers';
|
|
4
|
-
var clientSide = defineFilter(true).equals('id', 'id').startsWith('name', 'name').equals('status', 'status').equals('definitionId', 'definitionId').startsWith('definitionName', 'definitionName').equals('definitionVersion', 'definitionVersion').end();
|
|
1
|
+
"use strict";
|
|
5
2
|
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.HandlerTable = void 0;
|
|
7
|
+
var _Table = require("../../table/Table");
|
|
8
|
+
var _apis = require("../../../apis");
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
10
|
+
var clientSide = (0, _helpers.defineFilter)(true).equals('id', 'id').startsWith('name', 'name').equals('status', 'status').equals('definitionId', 'definitionId').startsWith('definitionName', 'definitionName').equals('definitionVersion', 'definitionVersion').end();
|
|
6
11
|
var dataSource = function dataSource() {
|
|
7
12
|
return {
|
|
8
|
-
fn: fetchHandlers,
|
|
13
|
+
fn: _apis.fetchHandlers,
|
|
9
14
|
params: function params() {
|
|
10
15
|
return [{
|
|
11
16
|
include: 'details'
|
|
@@ -19,7 +24,6 @@ var dataSource = function dataSource() {
|
|
|
19
24
|
clientSide: clientSide
|
|
20
25
|
};
|
|
21
26
|
};
|
|
22
|
-
|
|
23
27
|
var filters = function filters() {
|
|
24
28
|
return function () {
|
|
25
29
|
return [{
|
|
@@ -56,44 +60,56 @@ var filters = function filters() {
|
|
|
56
60
|
}];
|
|
57
61
|
};
|
|
58
62
|
};
|
|
59
|
-
|
|
60
63
|
var columns = [{
|
|
61
64
|
title: 'ID',
|
|
62
|
-
value: 'id'
|
|
65
|
+
value: 'id',
|
|
66
|
+
toggleable: true
|
|
63
67
|
}, {
|
|
64
68
|
title: 'Name',
|
|
65
|
-
value: 'name'
|
|
69
|
+
value: 'name',
|
|
70
|
+
toggleable: false,
|
|
71
|
+
columnOrder: 'first'
|
|
66
72
|
}, {
|
|
67
73
|
title: 'Status',
|
|
68
|
-
value: 'status'
|
|
74
|
+
value: 'status',
|
|
75
|
+
toggleable: true
|
|
69
76
|
}, {
|
|
70
77
|
title: 'Definition ID',
|
|
71
|
-
value: 'definitionId'
|
|
78
|
+
value: 'definitionId',
|
|
79
|
+
toggleable: true
|
|
72
80
|
}, {
|
|
73
81
|
title: 'Definition Name',
|
|
74
|
-
value: 'definitionName'
|
|
82
|
+
value: 'definitionName',
|
|
83
|
+
toggleable: true
|
|
75
84
|
}, {
|
|
76
85
|
title: 'Definition Version',
|
|
77
|
-
value: 'definitionVersion'
|
|
86
|
+
value: 'definitionVersion',
|
|
87
|
+
toggleable: true
|
|
78
88
|
}, {
|
|
79
89
|
title: 'Description',
|
|
80
|
-
value: 'description'
|
|
90
|
+
value: 'description',
|
|
91
|
+
toggleable: true
|
|
81
92
|
}, {
|
|
82
93
|
title: 'Created',
|
|
83
|
-
value: 'createdAt'
|
|
94
|
+
value: 'createdAt',
|
|
95
|
+
toggleable: true
|
|
84
96
|
}, {
|
|
85
97
|
title: 'Created By',
|
|
86
|
-
value: 'createdBy'
|
|
98
|
+
value: 'createdBy',
|
|
99
|
+
toggleable: true
|
|
87
100
|
}, {
|
|
88
101
|
title: 'Updated',
|
|
89
|
-
value: 'updatedAt'
|
|
102
|
+
value: 'updatedAt',
|
|
103
|
+
toggleable: true
|
|
90
104
|
}, {
|
|
91
105
|
title: 'Updated By',
|
|
92
|
-
value: 'updatedBy'
|
|
106
|
+
value: 'updatedBy',
|
|
107
|
+
toggleable: true
|
|
93
108
|
}];
|
|
94
|
-
|
|
109
|
+
var HandlerTable = (0, _Table.generateTable)({
|
|
95
110
|
columns: columns,
|
|
96
111
|
filters: filters,
|
|
97
112
|
dataSource: dataSource
|
|
98
113
|
});
|
|
114
|
+
exports.HandlerTable = HandlerTable;
|
|
99
115
|
HandlerTable.displayName = 'HandlerTable';
|