@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
|
@@ -66,72 +66,87 @@ var filters = function filters() {
|
|
|
66
66
|
var columns = [{
|
|
67
67
|
value: 'id',
|
|
68
68
|
title: 'ID',
|
|
69
|
-
sortable: false
|
|
69
|
+
sortable: false,
|
|
70
|
+
toggleable: true
|
|
70
71
|
}, {
|
|
71
72
|
value: 'name',
|
|
72
73
|
title: 'Name',
|
|
73
|
-
sortable: true
|
|
74
|
+
sortable: true,
|
|
75
|
+
toggleable: false,
|
|
76
|
+
columnOrder: 'first'
|
|
74
77
|
}, {
|
|
75
78
|
value: 'event',
|
|
76
79
|
title: 'Event',
|
|
77
|
-
sortable: true
|
|
80
|
+
sortable: true,
|
|
81
|
+
toggleable: true
|
|
78
82
|
}, {
|
|
79
83
|
value: 'notes',
|
|
80
84
|
title: 'Notes',
|
|
81
|
-
sortable: false
|
|
85
|
+
sortable: false,
|
|
86
|
+
toggleable: true
|
|
82
87
|
}, {
|
|
83
88
|
value: 'definitionId',
|
|
84
89
|
title: 'Definition ID',
|
|
85
|
-
sortable: true
|
|
90
|
+
sortable: true,
|
|
91
|
+
toggleable: true
|
|
86
92
|
}, {
|
|
87
93
|
value: 'ownerEmail',
|
|
88
|
-
title: 'Owner
|
|
89
|
-
sortable: false
|
|
94
|
+
title: 'Owner Email',
|
|
95
|
+
sortable: false,
|
|
96
|
+
toggleable: true
|
|
90
97
|
}, {
|
|
91
98
|
value: 'sourceGroup',
|
|
92
99
|
title: 'Source Group',
|
|
93
|
-
sortable: true
|
|
100
|
+
sortable: true,
|
|
101
|
+
toggleable: true
|
|
94
102
|
}, {
|
|
95
103
|
value: 'sourceName',
|
|
96
104
|
title: 'Source Name',
|
|
97
|
-
sortable: true
|
|
105
|
+
sortable: true,
|
|
106
|
+
toggleable: true
|
|
98
107
|
}, {
|
|
99
108
|
value: 'status',
|
|
100
109
|
title: 'Status',
|
|
101
110
|
sortable: true,
|
|
111
|
+
toggleable: true,
|
|
102
112
|
options: function options() {
|
|
103
113
|
return STATUS_OPTIONS;
|
|
104
114
|
}
|
|
105
115
|
}, {
|
|
106
116
|
value: 'title',
|
|
107
117
|
title: 'Title',
|
|
108
|
-
sortable: false
|
|
118
|
+
sortable: false,
|
|
119
|
+
toggleable: true
|
|
109
120
|
}, {
|
|
110
121
|
value: 'type',
|
|
111
|
-
title: '
|
|
112
|
-
sortable: false
|
|
122
|
+
title: 'Type',
|
|
123
|
+
sortable: false,
|
|
124
|
+
toggleable: true
|
|
113
125
|
}, {
|
|
114
126
|
value: 'createdAt',
|
|
115
127
|
title: 'Created',
|
|
116
|
-
sortable: false
|
|
128
|
+
sortable: false,
|
|
129
|
+
toggleable: true
|
|
117
130
|
}, {
|
|
118
131
|
value: 'createdBy',
|
|
119
132
|
title: 'Created By',
|
|
120
|
-
sortable: false
|
|
133
|
+
sortable: false,
|
|
134
|
+
toggleable: true
|
|
121
135
|
}, {
|
|
122
136
|
value: 'updatedAt',
|
|
123
137
|
title: 'Updated',
|
|
124
|
-
sortable: true
|
|
138
|
+
sortable: true,
|
|
139
|
+
toggleable: true
|
|
125
140
|
}, {
|
|
126
141
|
value: 'updatedBy',
|
|
127
142
|
title: 'Updated By',
|
|
128
|
-
sortable: false
|
|
143
|
+
sortable: false,
|
|
144
|
+
toggleable: true
|
|
129
145
|
}];
|
|
130
|
-
var LinkedWorkflowTable = (0, _Table.generateTable)({
|
|
146
|
+
var LinkedWorkflowTable = exports.LinkedWorkflowTable = (0, _Table.generateTable)({
|
|
131
147
|
tableOptions: ['kappSlug', 'formSlug'],
|
|
132
148
|
columns: columns,
|
|
133
149
|
filters: filters,
|
|
134
150
|
dataSource: dataSource
|
|
135
151
|
});
|
|
136
|
-
exports.LinkedWorkflowTable = LinkedWorkflowTable;
|
|
137
152
|
LinkedWorkflowTable.displayName = 'LinkedWorkflowTable';
|
|
@@ -48,11 +48,10 @@ var columns = [{
|
|
|
48
48
|
title: 'Nodes',
|
|
49
49
|
sortable: true
|
|
50
50
|
}];
|
|
51
|
-
var MissingRoutineTable = (0, _Table.generateTable)({
|
|
51
|
+
var MissingRoutineTable = exports.MissingRoutineTable = (0, _Table.generateTable)({
|
|
52
52
|
tableOptions: [],
|
|
53
53
|
columns: columns,
|
|
54
54
|
filters: filters,
|
|
55
55
|
dataSource: dataSource
|
|
56
56
|
});
|
|
57
|
-
exports.MissingRoutineTable = MissingRoutineTable;
|
|
58
57
|
MissingRoutineTable.displayName = 'MissingRoutineTable';
|
|
@@ -253,7 +253,7 @@ var fields = function fields(_ref4) {
|
|
|
253
253
|
}];
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
|
-
var WorkflowForm = function WorkflowForm(_ref13) {
|
|
256
|
+
var WorkflowForm = exports.WorkflowForm = function WorkflowForm(_ref13) {
|
|
257
257
|
var addFields = _ref13.addFields,
|
|
258
258
|
alterFields = _ref13.alterFields,
|
|
259
259
|
fieldSet = _ref13.fieldSet,
|
|
@@ -280,5 +280,4 @@ var WorkflowForm = function WorkflowForm(_ref13) {
|
|
|
280
280
|
workflowType: workflowType
|
|
281
281
|
}
|
|
282
282
|
}, children);
|
|
283
|
-
};
|
|
284
|
-
exports.WorkflowForm = WorkflowForm;
|
|
283
|
+
};
|
|
@@ -104,69 +104,83 @@ var filters = function filters() {
|
|
|
104
104
|
var columns = [{
|
|
105
105
|
value: 'id',
|
|
106
106
|
title: 'ID',
|
|
107
|
-
sortable: false
|
|
107
|
+
sortable: false,
|
|
108
|
+
toggleable: true
|
|
108
109
|
}, {
|
|
109
110
|
value: 'name',
|
|
110
111
|
title: 'Name',
|
|
111
|
-
sortable: true
|
|
112
|
+
sortable: true,
|
|
113
|
+
toggleable: false,
|
|
114
|
+
columnOrder: 'first'
|
|
112
115
|
}, {
|
|
113
116
|
value: 'notes',
|
|
114
117
|
title: 'Notes',
|
|
115
|
-
sortable: false
|
|
118
|
+
sortable: false,
|
|
119
|
+
toggleable: true
|
|
116
120
|
}, {
|
|
117
121
|
value: 'definitionId',
|
|
118
122
|
title: 'Definition ID',
|
|
119
|
-
sortable: true
|
|
123
|
+
sortable: true,
|
|
124
|
+
toggleable: true
|
|
120
125
|
}, {
|
|
121
126
|
value: 'ownerEmail',
|
|
122
|
-
title: 'Owner
|
|
123
|
-
sortable: false
|
|
127
|
+
title: 'Owner Email',
|
|
128
|
+
sortable: false,
|
|
129
|
+
toggleable: true
|
|
124
130
|
}, {
|
|
125
131
|
value: 'sourceGroup',
|
|
126
132
|
title: 'Source Group',
|
|
127
|
-
sortable: true
|
|
133
|
+
sortable: true,
|
|
134
|
+
toggleable: true
|
|
128
135
|
}, {
|
|
129
136
|
value: 'sourceName',
|
|
130
137
|
title: 'Source Name',
|
|
131
|
-
sortable: true
|
|
138
|
+
sortable: true,
|
|
139
|
+
toggleable: true
|
|
132
140
|
}, {
|
|
133
141
|
value: 'status',
|
|
134
142
|
title: 'Status',
|
|
135
143
|
sortable: true,
|
|
144
|
+
toggleable: true,
|
|
136
145
|
options: function options() {
|
|
137
146
|
return STATUS_OPTIONS;
|
|
138
147
|
}
|
|
139
148
|
}, {
|
|
140
149
|
value: 'title',
|
|
141
150
|
title: 'Title',
|
|
142
|
-
sortable: false
|
|
151
|
+
sortable: false,
|
|
152
|
+
toggleable: true
|
|
143
153
|
}, {
|
|
144
154
|
value: 'type',
|
|
145
|
-
title: '
|
|
146
|
-
sortable: false
|
|
155
|
+
title: 'Type',
|
|
156
|
+
sortable: false,
|
|
157
|
+
toggleable: true
|
|
147
158
|
}, {
|
|
148
159
|
value: 'createdAt',
|
|
149
160
|
title: 'Created',
|
|
150
|
-
sortable: false
|
|
161
|
+
sortable: false,
|
|
162
|
+
toggleable: true
|
|
151
163
|
}, {
|
|
152
164
|
value: 'createdBy',
|
|
153
165
|
title: 'Created By',
|
|
154
|
-
sortable: false
|
|
166
|
+
sortable: false,
|
|
167
|
+
toggleable: true
|
|
155
168
|
}, {
|
|
156
169
|
value: 'updatedAt',
|
|
157
170
|
title: 'Updated',
|
|
158
|
-
sortable: true
|
|
171
|
+
sortable: true,
|
|
172
|
+
toggleable: true
|
|
159
173
|
}, {
|
|
160
174
|
value: 'updatedBy',
|
|
161
175
|
title: 'Updated By',
|
|
162
|
-
sortable: false
|
|
176
|
+
sortable: false,
|
|
177
|
+
toggleable: true
|
|
163
178
|
}];
|
|
164
|
-
var WorkflowTable = (0, _Table.generateTable)({
|
|
179
|
+
var WorkflowTable = exports.WorkflowTable = (0, _Table.generateTable)({
|
|
165
180
|
tableOptions: ['alterData', 'workflowType', 'sourceName', 'sourceGroup'],
|
|
166
181
|
columns: columns,
|
|
167
182
|
filters: filters,
|
|
168
183
|
filterDataSources: filterDataSources,
|
|
169
184
|
dataSource: dataSource
|
|
170
185
|
});
|
|
171
|
-
exports.WorkflowTable = WorkflowTable;
|
|
172
186
|
WorkflowTable.displayName = 'WorkflowTable';
|
|
@@ -11,14 +11,12 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/es
|
|
|
11
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createClass"));
|
|
12
12
|
var _immutable = require("immutable");
|
|
13
13
|
var _lodashEs = require("lodash-es");
|
|
14
|
-
var defineKqlQuery = function defineKqlQuery() {
|
|
14
|
+
var defineKqlQuery = exports.defineKqlQuery = function defineKqlQuery() {
|
|
15
15
|
return new SearchBuilder('kql');
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
var defineFilter = function defineFilter(caseInsensitive, rootOperator) {
|
|
17
|
+
var defineFilter = exports.defineFilter = function defineFilter(caseInsensitive, rootOperator) {
|
|
19
18
|
return new SearchBuilder('filter', caseInsensitive, rootOperator);
|
|
20
19
|
};
|
|
21
|
-
exports.defineFilter = defineFilter;
|
|
22
20
|
var SearchBuilder = /*#__PURE__*/function () {
|
|
23
21
|
function SearchBuilder(type) {
|
|
24
22
|
var caseInsensitive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
package/lib/helpers/index.js
CHANGED
|
@@ -34,12 +34,11 @@ Object.keys(_SearchBuilder).forEach(function (key) {
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
|
-
var K = typeof window !== "undefined" ? window.K : function () {};
|
|
37
|
+
var K = exports.K = typeof window !== "undefined" ? window.K : function () {};
|
|
38
38
|
// platform consoles and other apps may not load app head content that
|
|
39
39
|
// instantiates the bundle object used by some of these helpers so we create a
|
|
40
40
|
// mock version here
|
|
41
|
-
exports.
|
|
42
|
-
var bundle = typeof window !== "undefined" && window.bundle ? window.bundle : {
|
|
41
|
+
var bundle = exports.bundle = typeof window !== "undefined" && window.bundle ? window.bundle : {
|
|
43
42
|
apiLocation: function apiLocation() {
|
|
44
43
|
return "".concat(process.env.REACT_APP_API_HOST || '', "/app/api/v1");
|
|
45
44
|
},
|
|
@@ -52,7 +51,6 @@ var bundle = typeof window !== "undefined" && window.bundle ? window.bundle : {
|
|
|
52
51
|
};
|
|
53
52
|
// when running the bundle in dev mode there will already be a bundle object but
|
|
54
53
|
// we want to prefix the locations with the REACT_APP_API_HOST value
|
|
55
|
-
exports.bundle = bundle;
|
|
56
54
|
if (typeof window !== "undefined" && window.bundle && process.env.REACT_APP_API_HOST) {
|
|
57
55
|
var spaceLocation = window.bundle.spaceLocation();
|
|
58
56
|
var apiLocation = window.bundle.apiLocation();
|
|
@@ -63,7 +61,7 @@ if (typeof window !== "undefined" && window.bundle && process.env.REACT_APP_API_
|
|
|
63
61
|
return process.env.REACT_APP_API_HOST + apiLocation;
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
|
-
var splitTeamName = function splitTeamName(team) {
|
|
64
|
+
var splitTeamName = exports.splitTeamName = function splitTeamName(team) {
|
|
67
65
|
var _team$get$split$rever = team.get('name').split('::').reverse(),
|
|
68
66
|
_team$get$split$rever2 = (0, _toArray2["default"])(_team$get$split$rever),
|
|
69
67
|
local = _team$get$split$rever2[0],
|
|
@@ -73,16 +71,14 @@ var splitTeamName = function splitTeamName(team) {
|
|
|
73
71
|
|
|
74
72
|
// Applies fn to each value in list, splitting it into a new list each time fn
|
|
75
73
|
// returns a different value.
|
|
76
|
-
exports.
|
|
77
|
-
var partitionListBy = function partitionListBy(fn, list) {
|
|
74
|
+
var partitionListBy = exports.partitionListBy = function partitionListBy(fn, list) {
|
|
78
75
|
return list.isEmpty() ? (0, _immutable.List)() : list.rest().reduce(function (reduction, current) {
|
|
79
76
|
return fn(reduction.last().last(), current) ? reduction.push((0, _immutable.List)([current])) : reduction.update(reduction.size - 1, function (list) {
|
|
80
77
|
return list.push(current);
|
|
81
78
|
});
|
|
82
79
|
}, (0, _immutable.List)([(0, _immutable.List)([list.first()])]));
|
|
83
80
|
};
|
|
84
|
-
exports.
|
|
85
|
-
var generateKey = function generateKey() {
|
|
81
|
+
var generateKey = exports.generateKey = function generateKey() {
|
|
86
82
|
var length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 6;
|
|
87
83
|
var result = '';
|
|
88
84
|
while (result.length < length) {
|
|
@@ -90,8 +86,7 @@ var generateKey = function generateKey() {
|
|
|
90
86
|
}
|
|
91
87
|
return result;
|
|
92
88
|
};
|
|
93
|
-
exports.
|
|
94
|
-
var slugify = function slugify(text) {
|
|
89
|
+
var slugify = exports.slugify = function slugify(text) {
|
|
95
90
|
return text.trim()
|
|
96
91
|
// Convert uppercase to lowercase
|
|
97
92
|
.toLowerCase()
|
|
@@ -100,8 +95,7 @@ var slugify = function slugify(text) {
|
|
|
100
95
|
// Remove all non-word chars
|
|
101
96
|
.replace(/[^A-Za-z0-9\u0080-\u00FF-]+/g, '');
|
|
102
97
|
};
|
|
103
|
-
exports.
|
|
104
|
-
var buildDefinitionId = function buildDefinitionId(text) {
|
|
98
|
+
var buildDefinitionId = exports.buildDefinitionId = function buildDefinitionId(text) {
|
|
105
99
|
return text.trim()
|
|
106
100
|
// Convert uppercase to lowercase
|
|
107
101
|
.toLowerCase()
|
|
@@ -110,7 +104,6 @@ var buildDefinitionId = function buildDefinitionId(text) {
|
|
|
110
104
|
// Remove unwanted chars
|
|
111
105
|
.replace(/[^A-Za-z0-9_]+/g, '');
|
|
112
106
|
};
|
|
113
|
-
exports.buildDefinitionId = buildDefinitionId;
|
|
114
107
|
var FILE_STATIC_BINDINGS = [['Folder', 'folder'], ['Name', 'name'], ['Path', 'path']];
|
|
115
108
|
var SUBMISSION_STATIC_BINDINGS = [['Anonymous', 'anonymous'], ['Closed At', 'closedAt'], ['Closed By', 'closedBy'], ['Core State', 'coreState'], ['Created At', 'createdAt'], ['Created By', 'createdBy'], ['Current Page', 'currentPage'], ['Id', 'id'], ['Session Token', 'sessionToken'], ['Submitted At', 'submittedAt'], ['Submitted By', 'submittedBy'], ['Type', 'type'], ['Updated At', 'updatedAt'], ['Updated By', 'updatedBy']];
|
|
116
109
|
var TEAM_STATIC_BINDINGS = [['Name', 'name'], ['Slug', 'slug']];
|
|
@@ -157,7 +150,7 @@ var bindify = function bindify(fnName, staticMap) {
|
|
|
157
150
|
});
|
|
158
151
|
}));
|
|
159
152
|
};
|
|
160
|
-
var buildBindings = function buildBindings(_ref) {
|
|
153
|
+
var buildBindings = exports.buildBindings = function buildBindings(_ref) {
|
|
161
154
|
var space = _ref.space,
|
|
162
155
|
kapp = _ref.kapp,
|
|
163
156
|
form = _ref.form,
|
|
@@ -190,12 +183,10 @@ var buildBindings = function buildBindings(_ref) {
|
|
|
190
183
|
return o.get('children') && !o.get('children').isEmpty() || o.has('value');
|
|
191
184
|
});
|
|
192
185
|
};
|
|
193
|
-
exports.
|
|
194
|
-
var buildAgentPath = function buildAgentPath(options) {
|
|
186
|
+
var buildAgentPath = exports.buildAgentPath = function buildAgentPath(options) {
|
|
195
187
|
return "".concat(bundle.spaceLocation(), "/app/components/agents/").concat(options.agentSlug ? options.agentSlug : 'system');
|
|
196
188
|
};
|
|
197
|
-
exports.
|
|
198
|
-
var handleFormErrors = function handleFormErrors(key) {
|
|
189
|
+
var handleFormErrors = exports.handleFormErrors = function handleFormErrors(key) {
|
|
199
190
|
return function (result) {
|
|
200
191
|
var error = result.error;
|
|
201
192
|
if (error) {
|
|
@@ -204,10 +195,6 @@ var handleFormErrors = function handleFormErrors(key) {
|
|
|
204
195
|
return key ? result[key] : result;
|
|
205
196
|
};
|
|
206
197
|
};
|
|
207
|
-
exports.
|
|
208
|
-
var
|
|
209
|
-
exports.
|
|
210
|
-
var TIMELINES = ['createdAt', 'updatedAt', 'submittedAt', 'closedAt'].sort();
|
|
211
|
-
exports.TIMELINES = TIMELINES;
|
|
212
|
-
var MAX_PART_LENGTH = 10;
|
|
213
|
-
exports.MAX_PART_LENGTH = MAX_PART_LENGTH;
|
|
198
|
+
var INDEX_STATIC_PARTS = exports.INDEX_STATIC_PARTS = ['closedBy', 'coreState', 'createdBy', 'handle', 'submittedBy', 'type', 'updatedBy'].sort();
|
|
199
|
+
var TIMELINES = exports.TIMELINES = ['createdAt', 'updatedAt', 'submittedAt', 'closedAt'].sort();
|
|
200
|
+
var MAX_PART_LENGTH = exports.MAX_PART_LENGTH = 10;
|
package/lib/index.js
CHANGED
|
@@ -29,8 +29,9 @@ Object.keys(_components).forEach(function (key) {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
var _globals = require("./components/core/core_form/globals");
|
|
32
|
-
var _defaults = require("./components/
|
|
33
|
-
var _defaults2 = require("./components/
|
|
32
|
+
var _defaults = require("./components/common/defaults");
|
|
33
|
+
var _defaults2 = require("./components/form/defaults");
|
|
34
|
+
var _defaults3 = require("./components/table/defaults");
|
|
34
35
|
var _ComponentConfigContext = require("./components/common/ComponentConfigContext");
|
|
35
36
|
var _AuthenticationContainer = require("./components/common/authentication/AuthenticationContainer");
|
|
36
37
|
var _AuthInterceptor = _interopRequireDefault(require("./components/common/authentication/AuthInterceptor"));
|
|
@@ -60,7 +61,7 @@ Object.keys(_helpers).forEach(function (key) {
|
|
|
60
61
|
});
|
|
61
62
|
});
|
|
62
63
|
var requestInterceptor = new _RequestInterceptor["default"](_store.store);
|
|
63
|
-
var authInterceptor = new _AuthInterceptor["default"](_store.store,
|
|
64
|
+
var authInterceptor = exports.authInterceptor = new _AuthInterceptor["default"](_store.store,
|
|
64
65
|
// callback to invoke when we get a 401 response
|
|
65
66
|
function () {
|
|
66
67
|
return (0, _store.action)('TIMEOUT');
|
|
@@ -73,12 +74,11 @@ function (state) {
|
|
|
73
74
|
function (state) {
|
|
74
75
|
return !state.getIn(['session', 'loggedIn']);
|
|
75
76
|
});
|
|
76
|
-
exports.authInterceptor = authInterceptor;
|
|
77
77
|
_axios["default"].defaults.withCredentials = true;
|
|
78
78
|
_axios["default"].interceptors.request.use(requestInterceptor.handleFulfilled);
|
|
79
79
|
_axios["default"].interceptors.response.use(null, authInterceptor.handleRejected);
|
|
80
80
|
(0, _store.commitStore)();
|
|
81
|
-
var KineticLib = function KineticLib(props) {
|
|
81
|
+
var KineticLib = exports.KineticLib = function KineticLib(props) {
|
|
82
82
|
return /*#__PURE__*/_react["default"].createElement(_reactRedux.Provider, {
|
|
83
83
|
store: _store.store,
|
|
84
84
|
context: _store.context
|
|
@@ -87,12 +87,10 @@ var KineticLib = function KineticLib(props) {
|
|
|
87
87
|
}, /*#__PURE__*/_react["default"].createElement(_globals.GlobalsProvider, {
|
|
88
88
|
globals: props.globals
|
|
89
89
|
}, /*#__PURE__*/_react["default"].createElement(_ComponentConfigContext.ComponentConfigContext.Provider, {
|
|
90
|
-
value: _defaults.
|
|
90
|
+
value: _defaults.DefaultCommonConfig.merge(_defaults2.DefaultFieldConfig).merge(_defaults3.DefaultTableConfig).merge((0, _immutable.remove)(props.components || {}, 'fields')).merge(props.components && props.components.fields)
|
|
91
91
|
}, typeof props.children === 'function' ? /*#__PURE__*/_react["default"].createElement(_AuthenticationContainer.AuthenticationContainer, {
|
|
92
92
|
skipInit: props.skipInit,
|
|
93
93
|
system: props.system
|
|
94
94
|
}, props.children) : props.children))));
|
|
95
95
|
};
|
|
96
|
-
exports.
|
|
97
|
-
var history = typeof window !== 'undefined' && window.bundle ? (0, _history.createHashHistory)() : null;
|
|
98
|
-
exports.history = history;
|
|
96
|
+
var history = exports.history = typeof window !== 'undefined' && window.bundle ? (0, _history.createHashHistory)() : null;
|
package/lib/reducer.js
CHANGED
|
@@ -5,11 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.regHandlers = exports.reducer = void 0;
|
|
7
7
|
var handlers = {};
|
|
8
|
-
var regHandlers = function regHandlers(newHandlers) {
|
|
8
|
+
var regHandlers = exports.regHandlers = function regHandlers(newHandlers) {
|
|
9
9
|
Object.assign(handlers, newHandlers);
|
|
10
10
|
};
|
|
11
|
-
exports.
|
|
12
|
-
var reducer = function reducer(state, action) {
|
|
11
|
+
var reducer = exports.reducer = function reducer(state, action) {
|
|
13
12
|
return handlers[action.type] ? handlers[action.type](state, action) : state;
|
|
14
|
-
};
|
|
15
|
-
exports.reducer = reducer;
|
|
13
|
+
};
|
package/lib/saga.js
CHANGED
|
@@ -15,52 +15,42 @@ var _symbols = require("@redux-saga/symbols");
|
|
|
15
15
|
// regSaga function.
|
|
16
16
|
var supportedEffects = [effects.takeEvery('NOOP', /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee() {
|
|
17
17
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee$(_context) {
|
|
18
|
-
while (1) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return _context.stop();
|
|
23
|
-
}
|
|
18
|
+
while (1) switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
case "end":
|
|
21
|
+
return _context.stop();
|
|
24
22
|
}
|
|
25
23
|
}, _callee);
|
|
26
24
|
})).payload.fn, effects.takeLatest('NOOP', /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee2() {
|
|
27
25
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee2$(_context2) {
|
|
28
|
-
while (1) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return _context2.stop();
|
|
33
|
-
}
|
|
26
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
27
|
+
case 0:
|
|
28
|
+
case "end":
|
|
29
|
+
return _context2.stop();
|
|
34
30
|
}
|
|
35
31
|
}, _callee2);
|
|
36
32
|
})).payload.fn, effects.takeLeading('NOOP', /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee3() {
|
|
37
33
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee3$(_context3) {
|
|
38
|
-
while (1) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return _context3.stop();
|
|
43
|
-
}
|
|
34
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
35
|
+
case 0:
|
|
36
|
+
case "end":
|
|
37
|
+
return _context3.stop();
|
|
44
38
|
}
|
|
45
39
|
}, _callee3);
|
|
46
40
|
})).payload.fn, effects.throttle(0, 'NOOP', /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee4() {
|
|
47
41
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee4$(_context4) {
|
|
48
|
-
while (1) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return _context4.stop();
|
|
53
|
-
}
|
|
42
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
43
|
+
case 0:
|
|
44
|
+
case "end":
|
|
45
|
+
return _context4.stop();
|
|
54
46
|
}
|
|
55
47
|
}, _callee4);
|
|
56
48
|
})).payload.fn, effects.debounce(0, 'NOOP', /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee5() {
|
|
57
49
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee5$(_context5) {
|
|
58
|
-
while (1) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return _context5.stop();
|
|
63
|
-
}
|
|
50
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
51
|
+
case 0:
|
|
52
|
+
case "end":
|
|
53
|
+
return _context5.stop();
|
|
64
54
|
}
|
|
65
55
|
}, _callee5);
|
|
66
56
|
})).payload.fn];
|
|
@@ -85,8 +75,7 @@ var parseSagaEffect = function parseSagaEffect(sagaEffect) {
|
|
|
85
75
|
throw new Error('regSaga called with single value that is not not a saga effect');
|
|
86
76
|
}
|
|
87
77
|
};
|
|
88
|
-
var sagaMiddleware = (0, _reduxSaga["default"])();
|
|
89
|
-
exports.sagaMiddleware = sagaMiddleware;
|
|
78
|
+
var sagaMiddleware = exports.sagaMiddleware = (0, _reduxSaga["default"])();
|
|
90
79
|
var generatorFns = {};
|
|
91
80
|
var runningTasks = {};
|
|
92
81
|
var pendingTasks = {};
|
|
@@ -96,7 +85,7 @@ var pendingTasks = {};
|
|
|
96
85
|
* extract from which we can extract the name automatically. Or a pair of
|
|
97
86
|
* arguments, the name and the saga generator function.
|
|
98
87
|
*/
|
|
99
|
-
var regSaga = function regSaga(arg0, arg1) {
|
|
88
|
+
var regSaga = exports.regSaga = function regSaga(arg0, arg1) {
|
|
100
89
|
if (arg1) {
|
|
101
90
|
pendingTasks[arg0] = arg1;
|
|
102
91
|
generatorFns[arg0] = arg1;
|
|
@@ -106,23 +95,20 @@ var regSaga = function regSaga(arg0, arg1) {
|
|
|
106
95
|
genFn = _parseSagaEffect.genFn;
|
|
107
96
|
pendingTasks[name] = /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee6() {
|
|
108
97
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee6$(_context6) {
|
|
109
|
-
while (1) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
return _context6.stop();
|
|
117
|
-
}
|
|
98
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
99
|
+
case 0:
|
|
100
|
+
_context6.next = 2;
|
|
101
|
+
return arg0;
|
|
102
|
+
case 2:
|
|
103
|
+
case "end":
|
|
104
|
+
return _context6.stop();
|
|
118
105
|
}
|
|
119
106
|
}, _callee6);
|
|
120
107
|
});
|
|
121
108
|
generatorFns[name] = genFn;
|
|
122
109
|
}
|
|
123
110
|
};
|
|
124
|
-
exports.
|
|
125
|
-
var commitSagas = function commitSagas() {
|
|
111
|
+
var commitSagas = exports.commitSagas = function commitSagas() {
|
|
126
112
|
Object.entries(pendingTasks).forEach(function (_ref) {
|
|
127
113
|
var _ref2 = (0, _slicedToArray2["default"])(_ref, 2),
|
|
128
114
|
name = _ref2[0],
|
|
@@ -134,11 +120,9 @@ var commitSagas = function commitSagas() {
|
|
|
134
120
|
delete pendingTasks[name];
|
|
135
121
|
});
|
|
136
122
|
};
|
|
137
|
-
exports.
|
|
138
|
-
var runSaga = function runSaga(name) {
|
|
123
|
+
var runSaga = exports.runSaga = function runSaga(name) {
|
|
139
124
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
140
125
|
args[_key - 1] = arguments[_key];
|
|
141
126
|
}
|
|
142
127
|
return generatorFns[name].apply(generatorFns, args);
|
|
143
|
-
};
|
|
144
|
-
exports.runSaga = runSaga;
|
|
128
|
+
};
|