@kineticdata/react 6.0.1 → 6.0.3

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.
Files changed (258) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/lib/apis/agent/adapters.js +2 -3
  3. package/lib/apis/agent/bridges.js +7 -13
  4. package/lib/apis/agent/handlers.js +7 -13
  5. package/lib/apis/core/activity.js +2 -3
  6. package/lib/apis/core/attributeDefinitions.js +6 -11
  7. package/lib/apis/core/attributeDefinitions.test.js +201 -213
  8. package/lib/apis/core/authentication.js +74 -84
  9. package/lib/apis/core/backgroundJobs.js +5 -9
  10. package/lib/apis/core/bridgeModelAttributeMappings.js +5 -10
  11. package/lib/apis/core/bridgeModelAttributes.js +6 -11
  12. package/lib/apis/core/bridgeModelMappings.js +5 -10
  13. package/lib/apis/core/bridgeModelQualificationMappings.js +5 -10
  14. package/lib/apis/core/bridgeModelQualifications.js +5 -10
  15. package/lib/apis/core/bridgeModels.js +7 -13
  16. package/lib/apis/core/bridgeModels.test.js +313 -333
  17. package/lib/apis/core/bridgedresources.js +7 -13
  18. package/lib/apis/core/categories.js +6 -11
  19. package/lib/apis/core/fileResources.js +5 -10
  20. package/lib/apis/core/filestores.js +5 -10
  21. package/lib/apis/core/formTypes.js +6 -11
  22. package/lib/apis/core/forms.js +6 -11
  23. package/lib/apis/core/forms.test.js +201 -213
  24. package/lib/apis/core/kapps.js +6 -11
  25. package/lib/apis/core/kapps.test.js +122 -130
  26. package/lib/apis/core/logs.js +3 -5
  27. package/lib/apis/core/memberships.js +3 -5
  28. package/lib/apis/core/meta.js +6 -11
  29. package/lib/apis/core/notices.js +2 -3
  30. package/lib/apis/core/oauthClients.js +6 -11
  31. package/lib/apis/core/platformComponents.js +10 -19
  32. package/lib/apis/core/platformItems.js +2 -3
  33. package/lib/apis/core/profile.js +3 -5
  34. package/lib/apis/core/securityPolicyDefinitions.js +6 -11
  35. package/lib/apis/core/securityPolicyDefinitions.test.js +254 -268
  36. package/lib/apis/core/space.js +3 -5
  37. package/lib/apis/core/space.test.js +106 -114
  38. package/lib/apis/core/submissions.js +19 -35
  39. package/lib/apis/core/teams.js +6 -11
  40. package/lib/apis/core/translations.js +18 -35
  41. package/lib/apis/core/translations.test.js +1343 -1437
  42. package/lib/apis/core/users.js +6 -11
  43. package/lib/apis/core/version.js +2 -3
  44. package/lib/apis/core/webApis.js +5 -10
  45. package/lib/apis/core/webhooks.js +6 -11
  46. package/lib/apis/core/webhooks.test.js +243 -257
  47. package/lib/apis/core/webhooksJobs.js +3 -5
  48. package/lib/apis/core/workflows.js +7 -13
  49. package/lib/apis/http.js +16 -31
  50. package/lib/apis/system/index.js +46 -91
  51. package/lib/apis/task/index.js +60 -119
  52. package/lib/components/agent/bridge/BridgeForm.js +1 -2
  53. package/lib/components/agent/bridge/BridgeTable.js +1 -2
  54. package/lib/components/agent/filestore/FilestoreForm.js +1 -2
  55. package/lib/components/agent/filestore/FilestoreTable.js +1 -2
  56. package/lib/components/agent/handler/AgentHandlerForm.js +1 -2
  57. package/lib/components/agent/handler/AgentHandlerTable.js +1 -2
  58. package/lib/components/common/AttributeSelect.js +2 -3
  59. package/lib/components/common/BridgeSelect.js +16 -17
  60. package/lib/components/common/ComponentConfigContext.js +1 -2
  61. package/lib/components/common/ContentEditable.js +23 -3
  62. package/lib/components/common/FormSelect.js +16 -17
  63. package/lib/components/common/NodeSelect.js +2 -3
  64. package/lib/components/common/Scroller.js +2 -3
  65. package/lib/components/common/StaticSelect.js +14 -15
  66. package/lib/components/common/TableInput.js +276 -63
  67. package/lib/components/common/TeamSelect.js +16 -17
  68. package/lib/components/common/ToastContainer.js +7 -12
  69. package/lib/components/common/Typeahead.js +15 -2
  70. package/lib/components/common/UserSelect.js +16 -17
  71. package/lib/components/common/authentication/AuthInterceptor.js +2 -3
  72. package/lib/components/common/authentication/AuthInterceptor.test.js +141 -153
  73. package/lib/components/common/authentication/AuthenticationContainer.js +332 -343
  74. package/lib/components/common/authentication/RequestInterceptor.js +2 -10
  75. package/lib/components/common/code_input/CodeInput.js +4 -9
  76. package/lib/components/common/code_input/draftHelpers.js +20 -37
  77. package/lib/components/common/code_input/languageHelpers.js +6 -12
  78. package/lib/components/common/code_input/languageHelpers.test.js +10 -8
  79. package/lib/components/common/defaults/Toast.js +1 -2
  80. package/lib/components/common/defaults/index.js +2 -3
  81. package/lib/components/core/attribute_definition/AttributeDefinitionForm.js +1 -2
  82. package/lib/components/core/attribute_definition/AttributeDefinitionTable.js +1 -2
  83. package/lib/components/core/bridge_model/BridgeModelForm.js +52 -55
  84. package/lib/components/core/bridge_model/BridgeModelTable.js +1 -2
  85. package/lib/components/core/bridge_model_attribute/BridgeModelAttributeForm.js +1 -2
  86. package/lib/components/core/bridge_model_attribute/BridgeModelAttributeTable.js +1 -2
  87. package/lib/components/core/bridge_model_qualification/BridgeModelQualificationForm.js +1 -2
  88. package/lib/components/core/bridge_model_qualification/BridgeModelQualificationTable.js +1 -2
  89. package/lib/components/core/category/CategoryForm.js +1 -2
  90. package/lib/components/core/category/CategoryTable.js +1 -2
  91. package/lib/components/core/core_form/CoreForm.js +11 -22
  92. package/lib/components/core/core_form/defaults/index.js +11 -19
  93. package/lib/components/core/core_form/globals.js +3 -5
  94. package/lib/components/core/field_definition/FieldDefinitionForm.js +1 -2
  95. package/lib/components/core/field_definition/FieldDefinitionTable.js +2 -4
  96. package/lib/components/core/file_resource/FileResourceForm.js +1 -2
  97. package/lib/components/core/file_resource/FileResourceTable.js +1 -2
  98. package/lib/components/core/form/FormForm.js +4 -4
  99. package/lib/components/core/form/FormTable.js +1 -2
  100. package/lib/components/core/form_type/FormTypeForm.js +1 -2
  101. package/lib/components/core/form_type/FormTypeTable.js +1 -2
  102. package/lib/components/core/i18n/I18n.js +2 -4
  103. package/lib/components/core/i18n/I18nContext.js +1 -2
  104. package/lib/components/core/i18n/I18nProvider.js +2 -3
  105. package/lib/components/core/i18n/Moment.js +10 -9
  106. package/lib/components/core/index_definition/IndexDefinitionForm.js +1 -2
  107. package/lib/components/core/index_definition/IndexDefinitionTable.js +1 -2
  108. package/lib/components/core/index_job/IndexJobTable.js +1 -2
  109. package/lib/components/core/kapp/KappForm.js +1 -2
  110. package/lib/components/core/kapp/KappTable.js +1 -2
  111. package/lib/components/core/log/LogTable.js +2 -4
  112. package/lib/components/core/oauth_client/OAuthClientForm.js +1 -2
  113. package/lib/components/core/oauth_client/OAuthClientTable.js +1 -2
  114. package/lib/components/core/platform_component/AgentComponentForm.js +1 -2
  115. package/lib/components/core/platform_component/AgentComponentTable.js +1 -2
  116. package/lib/components/core/platform_component/TaskComponentForm.js +1 -2
  117. package/lib/components/core/profile/ProfileForm.js +1 -2
  118. package/lib/components/core/security_definition/SecurityDefinitionForm.js +3 -6
  119. package/lib/components/core/security_definition/SecurityDefinitionTable.js +1 -2
  120. package/lib/components/core/space/SpaceForm.js +1 -2
  121. package/lib/components/core/submission/DatastoreSubmissionFilters.js +3 -5
  122. package/lib/components/core/submission/DatastoreSubmissionTable.js +2 -4
  123. package/lib/components/core/submission/FormSubmissionFilters.js +4 -7
  124. package/lib/components/core/submission/FormSubmissionTable.js +2 -4
  125. package/lib/components/core/submission/KappSubmissionTable.js +2 -4
  126. package/lib/components/core/submission/SubmissionForm.js +1 -2
  127. package/lib/components/core/submission/SubmissionTable.js +2 -3
  128. package/lib/components/core/submission/helpers.js +4 -7
  129. package/lib/components/core/team/TeamForm.js +1 -2
  130. package/lib/components/core/team/TeamTable.js +1 -2
  131. package/lib/components/core/translation/ContextForm.js +1 -2
  132. package/lib/components/core/translation/ContextTable.js +1 -2
  133. package/lib/components/core/translation/EntryForm.js +1 -2
  134. package/lib/components/core/translation/EntryTable.js +1 -2
  135. package/lib/components/core/translation/LocaleForm.js +1 -2
  136. package/lib/components/core/translation/LocaleTable.js +1 -2
  137. package/lib/components/core/user/UserForm.js +1 -2
  138. package/lib/components/core/user/UserTable.js +1 -2
  139. package/lib/components/core/webapi/WebApiForm.js +97 -101
  140. package/lib/components/core/webapi/WebApiTable.js +1 -2
  141. package/lib/components/core/webhook/WebhookForm.js +1 -2
  142. package/lib/components/core/webhook/WebhookTable.js +1 -2
  143. package/lib/components/core/webhook_job/WebhookJobTable.js +1 -2
  144. package/lib/components/form/Form.helpers.js +10 -19
  145. package/lib/components/form/Form.js +312 -355
  146. package/lib/components/form/Form.models.js +6 -11
  147. package/lib/components/form/FormState.js +3 -3
  148. package/lib/components/form/KitchenSinkForm.js +23 -3
  149. package/lib/components/form/SimpleForm.helpers.js +262 -0
  150. package/lib/components/form/SimpleForm.js +462 -0
  151. package/lib/components/form/SimpleForm.models.js +62 -0
  152. package/lib/components/form/defaults/AttributesField.js +3 -4
  153. package/lib/components/form/defaults/CheckboxField.js +2 -3
  154. package/lib/components/form/defaults/CodeField.js +2 -3
  155. package/lib/components/form/defaults/FormButtons.js +2 -3
  156. package/lib/components/form/defaults/FormError.js +2 -3
  157. package/lib/components/form/defaults/FormField.js +2 -3
  158. package/lib/components/form/defaults/FormLayout.js +2 -3
  159. package/lib/components/form/defaults/FormMultiField.js +2 -3
  160. package/lib/components/form/defaults/PasswordField.js +2 -3
  161. package/lib/components/form/defaults/RadioField.js +2 -3
  162. package/lib/components/form/defaults/SampleTeamsRolesFIeld.js +2 -3
  163. package/lib/components/form/defaults/SelectField.js +2 -3
  164. package/lib/components/form/defaults/SelectMultiField.js +2 -3
  165. package/lib/components/form/defaults/TableField.js +2 -3
  166. package/lib/components/form/defaults/TeamField.js +2 -3
  167. package/lib/components/form/defaults/TeamMultiField.js +2 -3
  168. package/lib/components/form/defaults/TextField.js +2 -3
  169. package/lib/components/form/defaults/TextMultiField.js +2 -3
  170. package/lib/components/form/defaults/UserField.js +2 -3
  171. package/lib/components/form/defaults/UserMultiField.js +2 -3
  172. package/lib/components/form/defaults/index.js +2 -3
  173. package/lib/components/form/tests/Form.test.js +4354 -4508
  174. package/lib/components/form/tests/components.js +73 -64
  175. package/lib/components/index.js +7 -0
  176. package/lib/components/system/SystemBackgroundTasksTable.js +1 -2
  177. package/lib/components/system/SystemCassandraForm.js +1 -2
  178. package/lib/components/system/SystemElasticSearchForm.js +1 -2
  179. package/lib/components/system/SystemFilestoreForm.js +2 -3
  180. package/lib/components/system/SystemForm.js +1 -2
  181. package/lib/components/system/SystemIngressForm.js +1 -2
  182. package/lib/components/system/SystemSecurityForm.js +1 -2
  183. package/lib/components/system/SystemSmtpForm.js +1 -2
  184. package/lib/components/system/SystemTaskAdapterForm.js +1 -2
  185. package/lib/components/system/SystemTrustedCertificateForm.js +1 -2
  186. package/lib/components/system/SystemTrustedCertificatesTable.js +1 -2
  187. package/lib/components/system/SystemUserForm.js +1 -2
  188. package/lib/components/system/helpers.js +11 -21
  189. package/lib/components/system/spaces/SystemSpaceForm.js +2 -3
  190. package/lib/components/system/spaces/SystemTenantForm.js +2 -3
  191. package/lib/components/system/spaces/SystemTenantTable.js +1 -2
  192. package/lib/components/table/Table.js +48 -51
  193. package/lib/components/table/Table.redux.js +161 -188
  194. package/lib/components/table/Table.test.js +115 -123
  195. package/lib/components/table/defaults/BodyCell.js +1 -2
  196. package/lib/components/table/defaults/BodyRow.js +1 -2
  197. package/lib/components/table/defaults/BooleanFilter.js +1 -2
  198. package/lib/components/table/defaults/ColumnControl.js +1 -2
  199. package/lib/components/table/defaults/EmptyBodyRow.js +1 -2
  200. package/lib/components/table/defaults/FilterLayout.js +1 -2
  201. package/lib/components/table/defaults/Footer.js +1 -2
  202. package/lib/components/table/defaults/FooterCell.js +1 -2
  203. package/lib/components/table/defaults/FooterRow.js +1 -2
  204. package/lib/components/table/defaults/Header.js +1 -2
  205. package/lib/components/table/defaults/HeaderCell.js +1 -2
  206. package/lib/components/table/defaults/HeaderRow.js +1 -2
  207. package/lib/components/table/defaults/PaginationControl.js +2 -4
  208. package/lib/components/table/defaults/TableBody.js +1 -2
  209. package/lib/components/table/defaults/TableLayout.js +1 -2
  210. package/lib/components/table/defaults/TextFilter.js +1 -2
  211. package/lib/components/table/defaults/index.js +2 -3
  212. package/lib/components/table/tests/Table.redux.test.js +162 -0
  213. package/lib/components/table/tests/Table.test.js +767 -0
  214. package/lib/components/table/tests/components.js +182 -0
  215. package/lib/components/task/builder/Connector.js +26 -11
  216. package/lib/components/task/builder/ConnectorForm.js +1 -2
  217. package/lib/components/task/builder/Node.js +18 -9
  218. package/lib/components/task/builder/NodeForm.js +1 -2
  219. package/lib/components/task/builder/NodeParametersForm.js +1 -2
  220. package/lib/components/task/builder/SvgCanvas.js +2 -3
  221. package/lib/components/task/builder/SvgText.js +2 -3
  222. package/lib/components/task/builder/TaskDefinitionConfigForm.js +3 -6
  223. package/lib/components/task/builder/TreeBuilder.js +14 -5
  224. package/lib/components/task/builder/builder.redux.js +187 -186
  225. package/lib/components/task/builder/constants.js +38 -76
  226. package/lib/components/task/builder/helpers.js +23 -40
  227. package/lib/components/task/builder/models.js +24 -35
  228. package/lib/components/task/category/TaskCategoryForm.js +2 -3
  229. package/lib/components/task/category/TaskCategoryTable.js +1 -2
  230. package/lib/components/task/common/UsageTable.js +1 -2
  231. package/lib/components/task/engine/EngineSettingsForm.js +2 -3
  232. package/lib/components/task/errors/RunErrorTable.js +2 -3
  233. package/lib/components/task/errors/SystemErrorsTable.js +1 -2
  234. package/lib/components/task/handlers/HandlerForm.js +2 -3
  235. package/lib/components/task/handlers/HandlerTable.js +1 -2
  236. package/lib/components/task/handlers/MissingHandlerTable.js +1 -2
  237. package/lib/components/task/policy_rule/PolicyRuleForm.js +2 -3
  238. package/lib/components/task/policy_rule/PolicyRuleTable.js +1 -2
  239. package/lib/components/task/runs/CreateManualTriggerForm.js +1 -2
  240. package/lib/components/task/runs/RunTable.js +2 -3
  241. package/lib/components/task/runs/RunTaskTable.js +1 -2
  242. package/lib/components/task/sources/SourceForm.js +1 -2
  243. package/lib/components/task/sources/SourceTable.js +1 -2
  244. package/lib/components/task/triggers/TriggerTable.js +2 -3
  245. package/lib/components/task/workflows/LinkedWorkflowForm.js +3 -5
  246. package/lib/components/task/workflows/LinkedWorkflowTable.js +1 -2
  247. package/lib/components/task/workflows/MissingRoutineTable.js +1 -2
  248. package/lib/components/task/workflows/WorkflowForm.js +91 -41
  249. package/lib/components/task/workflows/WorkflowTable.js +1 -2
  250. package/lib/helpers/SearchBuilder.js +2 -4
  251. package/lib/helpers/index.js +13 -26
  252. package/lib/index.js +3 -6
  253. package/lib/reducer.js +3 -5
  254. package/lib/saga.js +32 -48
  255. package/lib/store.js +32 -42
  256. package/package.json +12 -15
  257. package/lib/components/core/CoreFormModal.js +0 -64
  258. package/lib/components/core/CoreModal.js +0 -114
@@ -12,14 +12,14 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/
12
12
  var _immutable = require("immutable");
13
13
  var _lodashEs = require("lodash-es");
14
14
  var _kldIntersections = require("kld-intersections");
15
- var constants = _interopRequireWildcard(require("./constants"));
15
+ var _constants = _interopRequireWildcard(require("./constants"));
16
+ var constants = _constants;
16
17
  var _store = require("../../../store");
17
18
  var _languageHelpers = require("../../common/code_input/languageHelpers");
18
19
  var _models = require("./models");
19
20
  var _excluded = ["name", "id", "defaultValue"];
20
- var isIE11 = document.documentMode === 11;
21
- exports.isIE11 = isIE11;
22
- var getRectIntersections = function getRectIntersections(_ref) {
21
+ var isIE11 = exports.isIE11 = document.documentMode === 11;
22
+ var getRectIntersections = exports.getRectIntersections = function getRectIntersections(_ref) {
23
23
  var dragging = _ref.dragging,
24
24
  head = _ref.head,
25
25
  headType = _ref.headType,
@@ -45,24 +45,20 @@ var getRectIntersections = function getRectIntersections(_ref) {
45
45
  var tailIntersection = _kldIntersections.Intersection.intersect(tailShape, line).points[0];
46
46
  return [dragging === 'tail' ? tail : tailIntersection || tailCenter, dragging === 'head' ? head : headIntersection || headCenter];
47
47
  };
48
- exports.getRectIntersections = getRectIntersections;
49
- var isPointInNode = function isPointInNode(point) {
48
+ var isPointInNode = exports.isPointInNode = function isPointInNode(point) {
50
49
  return function (node) {
51
50
  return point && node && point.x >= node.position.x && point.x <= node.position.x + constants.NODE_WIDTH && point.y >= node.position.y && point.y <= node.position.y + constants.NODE_HEIGHT;
52
51
  };
53
52
  };
54
- exports.isPointInNode = isPointInNode;
55
- var getNodeType = function getNodeType(node) {
53
+ var getNodeType = exports.getNodeType = function getNodeType(node) {
56
54
  return node ? node.definitionId.startsWith('system_join_v') ? 'join' : node.definitionId.startsWith('system_junction_v') ? 'junction' : node.definitionId.startsWith('system_loop_head_v') ? 'loop-head' : node.definitionId.startsWith('system_loop_tail_v') ? 'loop-tail' : node.definitionId.startsWith('system_start_v') ? 'start' : null : null;
57
55
  };
58
- exports.getNodeType = getNodeType;
59
- var getNodeShape = function getNodeShape(type, _ref2) {
56
+ var getNodeShape = exports.getNodeShape = function getNodeShape(type, _ref2) {
60
57
  var x = _ref2.x,
61
58
  y = _ref2.y;
62
59
  return type === 'start' ? _kldIntersections.ShapeInfo.circle(x + constants.NODE_START_RADIUS, y + constants.NODE_START_RADIUS, constants.NODE_START_RADIUS + constants.NODE_PADDING) : _kldIntersections.ShapeInfo.rectangle(x - constants.NODE_PADDING, y - constants.NODE_PADDING, constants.NODE_WIDTH + 2 * constants.NODE_PADDING, (type === 'join' || type === 'junction' ? constants.NODE_JOIN_JUNCTION_HEIGHT : constants.NODE_HEIGHT) + 2 * constants.NODE_PADDING);
63
60
  };
64
- exports.getNodeShape = getNodeShape;
65
- var getNodeCenter = function getNodeCenter(type, _ref3) {
61
+ var getNodeCenter = exports.getNodeCenter = function getNodeCenter(type, _ref3) {
66
62
  var x = _ref3.x,
67
63
  y = _ref3.y;
68
64
  return {
@@ -70,7 +66,6 @@ var getNodeCenter = function getNodeCenter(type, _ref3) {
70
66
  y: y + (type === 'start' ? constants.NODE_START_RADIUS : type === 'join' || type === 'junction' ? constants.NODE_JOIN_JUNCTION_CENTER_Y : constants.NODE_CENTER_Y)
71
67
  };
72
68
  };
73
- exports.getNodeCenter = getNodeCenter;
74
69
  var concatMap = function concatMap(map1, map2) {
75
70
  return map2.reduce(function (reduction, value, key) {
76
71
  return reduction.set(key, value);
@@ -91,7 +86,7 @@ var getParents = function getParents(tree, node) {
91
86
  // gets the ancestors for the given node by recursively traversing the parent
92
87
  // nodes, as a map, the result should not contain duplicates and this processes
93
88
  // in depth-first order
94
- var getAncestors = function getAncestors(tree, node) {
89
+ var getAncestors = exports.getAncestors = function getAncestors(tree, node) {
95
90
  var result = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (0, _immutable.Map)();
96
91
  return (
97
92
  // get the direct parents of the node, adding them to the result and making
@@ -114,7 +109,6 @@ var getAncestors = function getAncestors(tree, node) {
114
109
  // recursive helper that calls bindify if the current raw value is an object
115
110
  // or returns the leaf value object if not (removing the erb tags at the same
116
111
  // time)
117
- exports.getAncestors = getAncestors;
118
112
  var bindify = function bindify(raw) {
119
113
  return (0, _immutable.Map)(raw).sortBy(function (_, key) {
120
114
  return key;
@@ -126,7 +120,7 @@ var bindify = function bindify(raw) {
126
120
  });
127
121
  });
128
122
  };
129
- var buildBindings = function buildBindings(tree, tasks, node) {
123
+ var buildBindings = exports.buildBindings = function buildBindings(tree, tasks, node) {
130
124
  var Results = (0, _immutable.Map)({
131
125
  children: tree.nodes
132
126
  // convert the node map to use the name as the key
@@ -168,8 +162,7 @@ var buildBindings = function buildBindings(tree, tasks, node) {
168
162
  // should be called with a task definition, then it stubs out a node and
169
163
  // connector and passes a complete function which should be called with the
170
164
  // fully configured node and connector
171
- exports.buildBindings = buildBindings;
172
- var addNewTask = function addNewTask(treeKey, tree, parent, position, reset) {
165
+ var addNewTask = exports.addNewTask = function addNewTask(treeKey, tree, parent, position, reset) {
173
166
  return {
174
167
  cancel: reset,
175
168
  tree: tree,
@@ -195,7 +188,6 @@ var addNewTask = function addNewTask(treeKey, tree, parent, position, reset) {
195
188
  }
196
189
  };
197
190
  };
198
- exports.addNewTask = addNewTask;
199
191
  var addNewTaskNext = function addNewTaskNext(_ref4) {
200
192
  var cloneNode = _ref4.cloneNode,
201
193
  parent = _ref4.parent,
@@ -268,7 +260,7 @@ var STRING_CONTENT_REGEX = /((?:%[qQiIwWxs]?)?.)(.*)(.)/;
268
260
 
269
261
  // takes a erb / ruby strings and checks for references to @results['Node name']
270
262
  // using the language helpers,
271
- var parseNodeResultDependencies = function parseNodeResultDependencies(context, value, erb) {
263
+ var parseNodeResultDependencies = exports.parseNodeResultDependencies = function parseNodeResultDependencies(context, value, erb) {
272
264
  return (erb ? _languageHelpers.processErbTemplate : _languageHelpers.processRuby)(value).reduce(function (_ref6, token) {
273
265
  var _ref7 = (0, _slicedToArray2["default"])(_ref6, 4),
274
266
  reduction = _ref7[0],
@@ -298,14 +290,12 @@ var parseNodeResultDependencies = function parseNodeResultDependencies(context,
298
290
  return [newReduction, index + content.length, token, last1];
299
291
  }, [(0, _immutable.List)(), 0, null, null])[0];
300
292
  };
301
- exports.parseNodeResultDependencies = parseNodeResultDependencies;
302
- var getConnectorDependencies = function getConnectorDependencies(_ref8) {
293
+ var getConnectorDependencies = exports.getConnectorDependencies = function getConnectorDependencies(_ref8) {
303
294
  var condition = _ref8.condition,
304
295
  id = _ref8.id;
305
296
  return parseNodeResultDependencies(['connectors', id, 'condition'], condition);
306
297
  };
307
- exports.getConnectorDependencies = getConnectorDependencies;
308
- var getNodeDependencies = function getNodeDependencies(_ref9) {
298
+ var getNodeDependencies = exports.getNodeDependencies = function getNodeDependencies(_ref9) {
309
299
  var id = _ref9.id,
310
300
  messages = _ref9.messages,
311
301
  parameters = _ref9.parameters;
@@ -317,8 +307,7 @@ var getNodeDependencies = function getNodeDependencies(_ref9) {
317
307
  return parseNodeResultDependencies(['nodes', id, 'parameters', i, 'value'], value, true);
318
308
  }));
319
309
  };
320
- exports.getNodeDependencies = getNodeDependencies;
321
- var searchNodeResultDependencies = function searchNodeResultDependencies(tree, nodeName) {
310
+ var searchNodeResultDependencies = exports.searchNodeResultDependencies = function searchNodeResultDependencies(tree, nodeName) {
322
311
  return (0, _immutable.List)().concat(tree.connectors.toList().flatMap(getConnectorDependencies), tree.nodes.toList().flatMap(getNodeDependencies)).filter(function (dependency) {
323
312
  return dependency.name === nodeName;
324
313
  });
@@ -328,14 +317,12 @@ var searchNodeResultDependencies = function searchNodeResultDependencies(tree, n
328
317
  // then it takes the value and it splices the new node name into the value at
329
318
  // the index defined in the dependency record also using the length of the old
330
319
  // name in the dependency record
331
- exports.searchNodeResultDependencies = searchNodeResultDependencies;
332
- var replace = function replace(dependency, newName) {
320
+ var replace = exports.replace = function replace(dependency, newName) {
333
321
  return function (value) {
334
322
  return value.slice(0, dependency.index) + newName + value.slice(dependency.index + dependency.name.length);
335
323
  };
336
324
  };
337
- exports.replace = replace;
338
- var renameDependencies = function renameDependencies() {
325
+ var renameDependencies = exports.renameDependencies = function renameDependencies() {
339
326
  var dependencies = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _immutable.List)();
340
327
  var newName = arguments.length > 1 ? arguments[1] : undefined;
341
328
  return function (tree) {
@@ -354,8 +341,7 @@ var renameDependencies = function renameDependencies() {
354
341
  // routines have `inputs` and handlers have `parameters` with slightly different
355
342
  // properties so this is a helper function to take one or the other and return
356
343
  // a consistent object
357
- exports.renameDependencies = renameDependencies;
358
- var normalizeParameter = function normalizeParameter(_ref12) {
344
+ var normalizeParameter = exports.normalizeParameter = function normalizeParameter(_ref12) {
359
345
  var name = _ref12.name,
360
346
  id = _ref12.id,
361
347
  defaultValue = _ref12.defaultValue,
@@ -366,7 +352,6 @@ var normalizeParameter = function normalizeParameter(_ref12) {
366
352
  value: defaultValue
367
353
  }, rest);
368
354
  };
369
- exports.normalizeParameter = normalizeParameter;
370
355
  var defaultOutputs = (0, _immutable.List)([{
371
356
  id: 'content',
372
357
  name: 'Content'
@@ -383,7 +368,7 @@ var defaultOutputs = (0, _immutable.List)([{
383
368
  name: 'Response Code',
384
369
  defaultValue: '200'
385
370
  }]).map(_immutable.Map);
386
- var treeReturnTask = function treeReturnTask(tree) {
371
+ var treeReturnTask = exports.treeReturnTask = function treeReturnTask(tree) {
387
372
  return {
388
373
  deferrable: false,
389
374
  definitionId: 'system_tree_return_v1',
@@ -411,11 +396,10 @@ var treeReturnTask = function treeReturnTask(tree) {
411
396
  results: []
412
397
  };
413
398
  };
414
- exports.treeReturnTask = treeReturnTask;
415
- var getNewNodePosition = function getNewNodePosition(node, childNodes) {
399
+ var getNewNodePosition = exports.getNewNodePosition = function getNewNodePosition(node, childNodes) {
416
400
  if (childNodes.length === 0) {
417
401
  return node.position.update('x', function (x) {
418
- return x + constants.NEW_TASK_DX;
402
+ return x + _constants.NEW_TASK_DX;
419
403
  });
420
404
  } else {
421
405
  var maxChild = (0, _immutable.List)(childNodes).sortBy(function (node) {
@@ -424,8 +408,7 @@ var getNewNodePosition = function getNewNodePosition(node, childNodes) {
424
408
  return node.position.y;
425
409
  });
426
410
  return maxChild.position.update('y', function (y) {
427
- return y + constants.NEW_TASK_DY;
411
+ return y + _constants.NEW_TASK_DY;
428
412
  });
429
413
  }
430
- };
431
- exports.getNewNodePosition = getNewNodePosition;
414
+ };
@@ -13,12 +13,11 @@ var _excluded = ["id", "messages", "parameters", "position"];
13
13
  * Immutable records *
14
14
  ******************************************************************************/
15
15
 
16
- var Point = (0, _immutable.Record)({
16
+ var Point = exports.Point = (0, _immutable.Record)({
17
17
  x: 0,
18
18
  y: 0
19
19
  }, 'Point');
20
- exports.Point = Point;
21
- var WebApi = (0, _immutable.Record)({
20
+ var WebApi = exports.WebApi = (0, _immutable.Record)({
22
21
  createdAt: null,
23
22
  createdBy: null,
24
23
  method: null,
@@ -28,13 +27,13 @@ var WebApi = (0, _immutable.Record)({
28
27
  updatedAt: null,
29
28
  updatedBy: null
30
29
  });
31
- exports.WebApi = WebApi;
32
- var Tree = (0, _immutable.Record)({
30
+ var Tree = exports.Tree = (0, _immutable.Record)({
33
31
  bindings: (0, _immutable.OrderedMap)(),
34
32
  categories: (0, _immutable.List)(),
35
33
  connectors: (0, _immutable.OrderedMap)(),
36
34
  definitionId: null,
37
35
  event: null,
36
+ filter: null,
38
37
  guid: null,
39
38
  inputs: null,
40
39
  name: '',
@@ -53,8 +52,7 @@ var Tree = (0, _immutable.Record)({
53
52
  type: '',
54
53
  versionId: '0'
55
54
  });
56
- exports.Tree = Tree;
57
- var Node = (0, _immutable.Record)({
55
+ var Node = exports.Node = (0, _immutable.Record)({
58
56
  configured: true,
59
57
  deferrable: false,
60
58
  defers: false,
@@ -67,8 +65,7 @@ var Node = (0, _immutable.Record)({
67
65
  version: 1,
68
66
  visible: true
69
67
  });
70
- exports.Node = Node;
71
- var NodeParameter = (0, _immutable.Record)({
68
+ var NodeParameter = exports.NodeParameter = (0, _immutable.Record)({
72
69
  dependsOnId: '',
73
70
  dependsOnValue: '',
74
71
  description: '',
@@ -78,13 +75,11 @@ var NodeParameter = (0, _immutable.Record)({
78
75
  required: false,
79
76
  value: ''
80
77
  });
81
- exports.NodeParameter = NodeParameter;
82
- var NodeMessage = (0, _immutable.Record)({
78
+ var NodeMessage = exports.NodeMessage = (0, _immutable.Record)({
83
79
  type: '',
84
80
  value: ''
85
81
  });
86
- exports.NodeMessage = NodeMessage;
87
- var Connector = (0, _immutable.Record)({
82
+ var Connector = exports.Connector = (0, _immutable.Record)({
88
83
  condition: '',
89
84
  headId: null,
90
85
  id: null,
@@ -92,8 +87,7 @@ var Connector = (0, _immutable.Record)({
92
87
  tailId: null,
93
88
  type: 'Complete'
94
89
  });
95
- exports.Connector = Connector;
96
- var TreeBuilderState = (0, _immutable.Record)({
90
+ var TreeBuilderState = exports.TreeBuilderState = (0, _immutable.Record)({
97
91
  categories: (0, _immutable.OrderedMap)(),
98
92
  error: null,
99
93
  kappSlug: null,
@@ -108,8 +102,7 @@ var TreeBuilderState = (0, _immutable.Record)({
108
102
  undoStack: (0, _immutable.List)(),
109
103
  webApi: null
110
104
  });
111
- exports.TreeBuilderState = TreeBuilderState;
112
- var NodeResultDependency = (0, _immutable.Record)({
105
+ var NodeResultDependency = exports.NodeResultDependency = (0, _immutable.Record)({
113
106
  // where the dependency was found, one of:
114
107
  // connector id | node id message type | node id parameter id
115
108
  context: (0, _immutable.List)(),
@@ -124,17 +117,16 @@ var NodeResultDependency = (0, _immutable.Record)({
124
117
  * Should take native objects that are returned from the API endpoints and *
125
118
  * convert them to immutable records used by the builder implementation *
126
119
  ******************************************************************************/
127
- exports.NodeResultDependency = NodeResultDependency;
120
+
128
121
  var deserializeNodeId = function deserializeNodeId(id) {
129
122
  var match = id.match(/_(\d+)$/);
130
123
  // the start node will not match the pattern above so we give that an id of 0
131
124
  return match ? parseInt(match[1]) : 0;
132
125
  };
133
- var serializeNodeId = function serializeNodeId(node) {
126
+ var serializeNodeId = exports.serializeNodeId = function serializeNodeId(node) {
134
127
  return node.id === 0 ? 'start' : "".concat(node.definitionId, "_").concat(node.id);
135
128
  };
136
- exports.serializeNodeId = serializeNodeId;
137
- var deserializeNode = function deserializeNode(_ref) {
129
+ var deserializeNode = exports.deserializeNode = function deserializeNode(_ref) {
138
130
  var id = _ref.id,
139
131
  messages = _ref.messages,
140
132
  parameters = _ref.parameters,
@@ -147,12 +139,10 @@ var deserializeNode = function deserializeNode(_ref) {
147
139
  position: Point(position)
148
140
  }));
149
141
  };
150
- exports.deserializeNode = deserializeNode;
151
- var serializeNode = function serializeNode(node) {
142
+ var serializeNode = exports.serializeNode = function serializeNode(node) {
152
143
  return node.set('id', serializeNodeId(node)).toJS();
153
144
  };
154
- exports.serializeNode = serializeNode;
155
- var deserializeConnector = function deserializeConnector(_ref2, id) {
145
+ var deserializeConnector = exports.deserializeConnector = function deserializeConnector(_ref2, id) {
156
146
  var from = _ref2.from,
157
147
  label = _ref2.label,
158
148
  to = _ref2.to,
@@ -169,8 +159,7 @@ var deserializeConnector = function deserializeConnector(_ref2, id) {
169
159
  type: type
170
160
  });
171
161
  };
172
- exports.deserializeConnector = deserializeConnector;
173
- var serializeConnector = function serializeConnector(nodes) {
162
+ var serializeConnector = exports.serializeConnector = function serializeConnector(nodes) {
174
163
  return function (_ref3) {
175
164
  var condition = _ref3.condition,
176
165
  headId = _ref3.headId,
@@ -186,12 +175,12 @@ var serializeConnector = function serializeConnector(nodes) {
186
175
  };
187
176
  };
188
177
  };
189
- exports.serializeConnector = serializeConnector;
190
- var deserializeTree = function deserializeTree(_ref4) {
178
+ var deserializeTree = exports.deserializeTree = function deserializeTree(_ref4) {
191
179
  var bindings = _ref4.bindings,
192
180
  categories = _ref4.categories,
193
181
  definitionId = _ref4.definitionId,
194
182
  event = _ref4.event,
183
+ filter = _ref4.filter,
195
184
  guid = _ref4.guid,
196
185
  inputs = _ref4.inputs,
197
186
  name = _ref4.name,
@@ -216,6 +205,7 @@ var deserializeTree = function deserializeTree(_ref4) {
216
205
  })),
217
206
  definitionId: definitionId,
218
207
  event: event,
208
+ filter: filter,
219
209
  guid: guid,
220
210
  inputs: (0, _immutable.List)(inputs).map(_immutable.Map),
221
211
  name: name,
@@ -237,12 +227,12 @@ var deserializeTree = function deserializeTree(_ref4) {
237
227
  versionId: versionId
238
228
  });
239
229
  };
240
- exports.deserializeTree = deserializeTree;
241
- var serializeTree = function serializeTree(_ref5) {
230
+ var serializeTree = exports.serializeTree = function serializeTree(_ref5) {
242
231
  var connectors = _ref5.connectors,
243
232
  categories = _ref5.categories,
244
233
  definitionId = _ref5.definitionId,
245
234
  event = _ref5.event,
235
+ filter = _ref5.filter,
246
236
  inputs = _ref5.inputs,
247
237
  name = _ref5.name,
248
238
  nextNodeId = _ref5.nextNodeId,
@@ -262,6 +252,7 @@ var serializeTree = function serializeTree(_ref5) {
262
252
  categories: categories,
263
253
  definitionId: definitionId,
264
254
  event: event,
255
+ filter: filter,
265
256
  inputs: inputs,
266
257
  name: name,
267
258
  notes: notes,
@@ -281,8 +272,7 @@ var serializeTree = function serializeTree(_ref5) {
281
272
  versionId: overwrite ? null : versionId
282
273
  };
283
274
  };
284
- exports.serializeTree = serializeTree;
285
- var deserializeWebApi = function deserializeWebApi(_ref6, kappSlug) {
275
+ var deserializeWebApi = exports.deserializeWebApi = function deserializeWebApi(_ref6, kappSlug) {
286
276
  var createdAt = _ref6.createdAt,
287
277
  createdBy = _ref6.createdBy,
288
278
  method = _ref6.method,
@@ -300,5 +290,4 @@ var deserializeWebApi = function deserializeWebApi(_ref6, kappSlug) {
300
290
  updatedAt: updatedAt,
301
291
  updatedBy: updatedBy
302
292
  });
303
- };
304
- exports.deserializeWebApi = deserializeWebApi;
293
+ };
@@ -158,7 +158,7 @@ var fields = function fields(_ref4) {
158
158
  }];
159
159
  };
160
160
  };
161
- var TaskCategoryForm = function TaskCategoryForm(_ref12) {
161
+ var TaskCategoryForm = exports.TaskCategoryForm = function TaskCategoryForm(_ref12) {
162
162
  var addFields = _ref12.addFields,
163
163
  alterFields = _ref12.alterFields,
164
164
  fieldSet = _ref12.fieldSet,
@@ -183,5 +183,4 @@ var TaskCategoryForm = function TaskCategoryForm(_ref12) {
183
183
  categoryName: categoryName
184
184
  }
185
185
  }, children);
186
- };
187
- exports.TaskCategoryForm = TaskCategoryForm;
186
+ };
@@ -66,12 +66,11 @@ var columns = [{
66
66
  title: 'Updated By',
67
67
  sortable: true
68
68
  }];
69
- var TaskCategoryTable = (0, _Table.generateTable)({
69
+ var TaskCategoryTable = exports.TaskCategoryTable = (0, _Table.generateTable)({
70
70
  tableOptions: [],
71
71
  columns: columns,
72
72
  filters: filters,
73
73
  dataSource: dataSource
74
74
  });
75
- exports.TaskCategoryTable = TaskCategoryTable;
76
75
  TaskCategoryTable.propTypes = {};
77
76
  TaskCategoryTable.displayName = 'TaskCategoryTable';
@@ -79,11 +79,10 @@ var columns = [{
79
79
  title: 'Updated',
80
80
  sortable: true
81
81
  }];
82
- var UsageTable = (0, _Table.generateTable)({
82
+ var UsageTable = exports.UsageTable = (0, _Table.generateTable)({
83
83
  tableOptions: ['definitionId', 'sourceName', 'sourceGroup', 'name', 'usageType'],
84
84
  columns: columns,
85
85
  filters: filters,
86
86
  dataSource: dataSource
87
87
  });
88
- exports.UsageTable = UsageTable;
89
88
  UsageTable.displayName = 'UsageTable';
@@ -64,10 +64,9 @@ var fields = function fields() {
64
64
  }];
65
65
  };
66
66
  };
67
- var EngineSettingsForm = (0, _Form.generateForm)({
67
+ var EngineSettingsForm = exports.EngineSettingsForm = (0, _Form.generateForm)({
68
68
  formOptions: ['spaceSlug'],
69
69
  dataSources: dataSources,
70
70
  fields: fields,
71
71
  handleSubmit: handleSubmit
72
- });
73
- exports.EngineSettingsForm = EngineSettingsForm;
72
+ });
@@ -184,10 +184,9 @@ var columns = [{
184
184
  sortable: false,
185
185
  toggleable: true
186
186
  }];
187
- var RunErrorTable = (0, _Table.generateTable)({
187
+ var RunErrorTable = exports.RunErrorTable = (0, _Table.generateTable)({
188
188
  tableOptions: ['runId'],
189
189
  columns: columns,
190
190
  filters: filters,
191
191
  dataSource: dataSource
192
- });
193
- 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
+ };
@@ -106,10 +106,9 @@ var columns = [{
106
106
  value: 'updatedBy',
107
107
  toggleable: true
108
108
  }];
109
- var HandlerTable = (0, _Table.generateTable)({
109
+ var HandlerTable = exports.HandlerTable = (0, _Table.generateTable)({
110
110
  columns: columns,
111
111
  filters: filters,
112
112
  dataSource: dataSource
113
113
  });
114
- exports.HandlerTable = HandlerTable;
115
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';
@@ -197,11 +197,10 @@ var columns = [{
197
197
  sortable: false,
198
198
  toggleable: true
199
199
  }];
200
- var RunTable = (0, _Table.generateTable)({
200
+ var RunTable = exports.RunTable = (0, _Table.generateTable)({
201
201
  tableOptions: ['sourceName', 'sourceGroup', 'treeName', 'sourceId', 'count'],
202
202
  columns: columns,
203
203
  filters: filters,
204
204
  dataSource: dataSource,
205
205
  filterDataSources: filterDataSources
206
- });
207
- 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';
@@ -86,11 +86,10 @@ var columns = [{
86
86
  value: 'updatedBy',
87
87
  toggleable: true
88
88
  }];
89
- var SourceTable = (0, _Table.generateTable)({
89
+ var SourceTable = exports.SourceTable = (0, _Table.generateTable)({
90
90
  columns: columns,
91
91
  filters: filters,
92
92
  filterDataSources: filterDataSources,
93
93
  dataSource: dataSource
94
94
  });
95
- exports.SourceTable = SourceTable;
96
95
  SourceTable.displayName = 'SourceTable';
@@ -227,11 +227,10 @@ var columns = [{
227
227
  sortable: false,
228
228
  toggleable: true
229
229
  }];
230
- var TriggerTable = (0, _Table.generateTable)({
230
+ var TriggerTable = exports.TriggerTable = (0, _Table.generateTable)({
231
231
  tableOptions: ['runId', 'triggerStatus'],
232
232
  columns: columns,
233
233
  filters: filters,
234
234
  filterDataSources: filterDataSources,
235
235
  dataSource: dataSource
236
- });
237
- exports.TriggerTable = TriggerTable;
236
+ });