@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
@@ -7,14 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.sortColumns = exports.getToggleableColumns = exports.generateTable = exports.generateColumns = exports.extractColumnComponents = exports.buildTableHeaderRow = exports.buildTableHeaderCell = exports.buildTableHeader = exports.buildTableFooterRow = exports.buildTableFooterCells = exports.buildTableFooter = exports.buildTableBodyRows = exports.buildTableBodyCells = exports.buildTableBody = exports.buildTable = exports.Table = void 0;
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
10
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
10
11
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/classCallCheck"));
11
12
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createClass"));
12
13
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/inherits"));
13
14
  var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createSuper"));
14
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
15
15
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
16
16
  var _react = _interopRequireWildcard(require("react"));
17
- var _recompose = require("recompose");
18
17
  var _immutable = require("immutable");
19
18
  var _ComponentConfigContext = require("../common/ComponentConfigContext");
20
19
  var _store = require("../../store");
@@ -287,7 +286,7 @@ var buildPaginationControl = function buildPaginationControl(props) {
287
286
  extraData: extraData
288
287
  });
289
288
  };
290
- var getToggleableColumns = function getToggleableColumns(columns, columnSet, tableKey) {
289
+ var getToggleableColumns = exports.getToggleableColumns = function getToggleableColumns(columns, columnSet, tableKey) {
291
290
  return columns.reduce(function (list, column) {
292
291
  var label = column.get('columnLabel') && column.get('columnLabel').trim() || column.get('title') && column.get('title').trim();
293
292
  // Include all columns that have a columnLabel or title, and are toggleable
@@ -307,7 +306,6 @@ var getToggleableColumns = function getToggleableColumns(columns, columnSet, tab
307
306
  return list;
308
307
  }, (0, _immutable.List)());
309
308
  };
310
- exports.getToggleableColumns = getToggleableColumns;
311
309
  var buildColumnControl = function buildColumnControl(props) {
312
310
  var tableKey = props.tableKey,
313
311
  columns = props.columns,
@@ -325,7 +323,7 @@ var buildColumnControl = function buildColumnControl(props) {
325
323
  extraData: extraData
326
324
  });
327
325
  };
328
- var buildTable = function buildTable(props) {
326
+ var buildTable = exports.buildTable = function buildTable(props) {
329
327
  var TableLayout = props.components.TableLayout;
330
328
  var header = buildTableHeader(props);
331
329
  var body = buildTableBody(props);
@@ -345,8 +343,7 @@ var buildTable = function buildTable(props) {
345
343
  extraData: props.extraData
346
344
  });
347
345
  };
348
- exports.buildTable = buildTable;
349
- var buildTableHeader = function buildTableHeader(props) {
346
+ var buildTableHeader = exports.buildTableHeader = function buildTableHeader(props) {
350
347
  var Header = props.components.Header;
351
348
  var headerRow = buildTableHeaderRow(props);
352
349
  return props.omitHeader ? null : /*#__PURE__*/_react["default"].createElement(Header, {
@@ -357,8 +354,7 @@ var buildTableHeader = function buildTableHeader(props) {
357
354
  tableOptions: props.tableOptions
358
355
  });
359
356
  };
360
- exports.buildTableHeader = buildTableHeader;
361
- var buildTableHeaderRow = function buildTableHeaderRow(props) {
357
+ var buildTableHeaderRow = exports.buildTableHeaderRow = function buildTableHeaderRow(props) {
362
358
  var components = props.components,
363
359
  rows = props.rows,
364
360
  columns = props.columns,
@@ -372,8 +368,7 @@ var buildTableHeaderRow = function buildTableHeaderRow(props) {
372
368
  tableOptions: props.tableOptions
373
369
  });
374
370
  };
375
- exports.buildTableHeaderRow = buildTableHeaderRow;
376
- var buildTableHeaderCell = function buildTableHeaderCell(props) {
371
+ var buildTableHeaderCell = exports.buildTableHeaderCell = function buildTableHeaderCell(props) {
377
372
  return function (column, index) {
378
373
  var tableKey = props.tableKey,
379
374
  components = props.components,
@@ -399,8 +394,7 @@ var buildTableHeaderCell = function buildTableHeaderCell(props) {
399
394
  }));
400
395
  };
401
396
  };
402
- exports.buildTableHeaderCell = buildTableHeaderCell;
403
- var buildTableBody = function buildTableBody(props) {
397
+ var buildTableBody = exports.buildTableBody = function buildTableBody(props) {
404
398
  var Body = props.components.Body;
405
399
  var tableRows = buildTableBodyRows(props);
406
400
  return /*#__PURE__*/_react["default"].createElement(Body, {
@@ -413,8 +407,7 @@ var buildTableBody = function buildTableBody(props) {
413
407
  empty: props.rows.isEmpty()
414
408
  });
415
409
  };
416
- exports.buildTableBody = buildTableBody;
417
- var buildTableBodyRows = function buildTableBodyRows(props) {
410
+ var buildTableBodyRows = exports.buildTableBodyRows = function buildTableBodyRows(props) {
418
411
  var components = props.components,
419
412
  rows = props.rows,
420
413
  columns = props.columns,
@@ -446,8 +439,7 @@ var buildTableBodyRows = function buildTableBodyRows(props) {
446
439
  error: props.error
447
440
  });
448
441
  };
449
- exports.buildTableBodyRows = buildTableBodyRows;
450
- var buildTableBodyCells = function buildTableBodyCells(props, row, rowIndex) {
442
+ var buildTableBodyCells = exports.buildTableBodyCells = function buildTableBodyCells(props, row, rowIndex) {
451
443
  var tableKey = props.tableKey,
452
444
  components = props.components,
453
445
  rows = props.rows,
@@ -478,8 +470,7 @@ var buildTableBodyCells = function buildTableBodyCells(props, row, rowIndex) {
478
470
  }));
479
471
  });
480
472
  };
481
- exports.buildTableBodyCells = buildTableBodyCells;
482
- var buildTableFooter = function buildTableFooter(props) {
473
+ var buildTableFooter = exports.buildTableFooter = function buildTableFooter(props) {
483
474
  var components = props.components,
484
475
  columnSet = props.columnSet,
485
476
  renderOptions = props.renderOptions,
@@ -496,8 +487,7 @@ var buildTableFooter = function buildTableFooter(props) {
496
487
  tableOptions: tableOptions
497
488
  }) : null;
498
489
  };
499
- exports.buildTableFooter = buildTableFooter;
500
- var buildTableFooterRow = function buildTableFooterRow(props) {
490
+ var buildTableFooterRow = exports.buildTableFooterRow = function buildTableFooterRow(props) {
501
491
  var components = props.components,
502
492
  renderOptions = props.renderOptions,
503
493
  tableOptions = props.tableOptions;
@@ -509,8 +499,7 @@ var buildTableFooterRow = function buildTableFooterRow(props) {
509
499
  tableOptions: tableOptions
510
500
  });
511
501
  };
512
- exports.buildTableFooterRow = buildTableFooterRow;
513
- var buildTableFooterCells = function buildTableFooterCells(props) {
502
+ var buildTableFooterCells = exports.buildTableFooterCells = function buildTableFooterCells(props) {
514
503
  var components = props.components,
515
504
  columns = props.columns,
516
505
  columnSet = props.columnSet,
@@ -528,7 +517,6 @@ var buildTableFooterCells = function buildTableFooterCells(props) {
528
517
  }));
529
518
  });
530
519
  };
531
- exports.buildTableFooterCells = buildTableFooterCells;
532
520
  var onNextPage = function onNextPage(tableKey) {
533
521
  return function () {
534
522
  return (0, _store.dispatch)('NEXT_PAGE', {
@@ -574,23 +562,37 @@ var mapStateToProps = function mapStateToProps() {
574
562
  return state.getIn(['tables', props.tableKey], (0, _immutable.Map)()).toObject();
575
563
  };
576
564
  };
577
-
578
- /**
579
- * @component
580
- */
581
- var TableImpl = (0, _recompose.compose)((0, _store.connect)(mapStateToProps), (0, _recompose.lifecycle)({
582
- componentDidMount: function componentDidMount() {
583
- if (this.props.mounted && !this.props.configured) {
584
- (0, _Table.configureTable)(this.props);
565
+ var TableImplComponent = /*#__PURE__*/function (_Component) {
566
+ (0, _inherits2["default"])(TableImplComponent, _Component);
567
+ var _super = (0, _createSuper2["default"])(TableImplComponent);
568
+ function TableImplComponent(props) {
569
+ (0, _classCallCheck2["default"])(this, TableImplComponent);
570
+ return _super.call(this, props);
571
+ }
572
+ (0, _createClass2["default"])(TableImplComponent, [{
573
+ key: "componentDidMount",
574
+ value: function componentDidMount() {
575
+ if (this.props.mounted && !this.props.configured) {
576
+ (0, _Table.configureTable)(this.props);
577
+ }
578
+ }
579
+ }, {
580
+ key: "componentDidUpdate",
581
+ value: function componentDidUpdate() {
582
+ if (this.props.mounted && !this.props.configured) {
583
+ (0, _Table.configureTable)(this.props);
584
+ }
585
585
  }
586
- },
587
- componentDidUpdate: function componentDidUpdate() {
588
- if (this.props.mounted && !this.props.configured) {
589
- (0, _Table.configureTable)(this.props);
586
+ }, {
587
+ key: "render",
588
+ value: function render() {
589
+ return /*#__PURE__*/_react["default"].createElement(TableComponent, this.props);
590
590
  }
591
- }
592
- }))(TableComponent);
593
- var generateColumns = function generateColumns(columns) {
591
+ }]);
592
+ return TableImplComponent;
593
+ }(_react.Component);
594
+ var TableImpl = (0, _store.connect)(mapStateToProps)(TableImplComponent);
595
+ var generateColumns = exports.generateColumns = function generateColumns(columns) {
594
596
  var addColumns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
595
597
  var alterColumns = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
596
598
  return (0, _immutable.List)(columns).concat(addColumns).map(function (c) {
@@ -599,8 +601,7 @@ var generateColumns = function generateColumns(columns) {
599
601
  }));
600
602
  });
601
603
  };
602
- exports.generateColumns = generateColumns;
603
- var sortColumns = function sortColumns(columns, columnSet) {
604
+ var sortColumns = exports.sortColumns = function sortColumns(columns, columnSet) {
604
605
  return columns
605
606
  // First sort columns by the columnOrder value if provided
606
607
  .sortBy(function (column) {
@@ -627,16 +628,14 @@ var sortColumns = function sortColumns(columns, columnSet) {
627
628
  // Lastly flatten the groups back to a list of columns
628
629
  .flatten(true);
629
630
  };
630
- exports.sortColumns = sortColumns;
631
- var extractColumnComponents = function extractColumnComponents(columns) {
631
+ var extractColumnComponents = exports.extractColumnComponents = function extractColumnComponents(columns) {
632
632
  return columns.filter(function (c) {
633
633
  return c.has('components');
634
634
  }).reduce(function (result, current) {
635
635
  return result.set(current.get('value'), current.get('components'));
636
636
  }, (0, _immutable.Map)());
637
637
  };
638
- exports.extractColumnComponents = extractColumnComponents;
639
- var generateTable = function generateTable(_ref4) {
638
+ var generateTable = exports.generateTable = function generateTable(_ref4) {
640
639
  var _ref4$tableOptions = _ref4.tableOptions,
641
640
  tableOptions = _ref4$tableOptions === void 0 ? [] : _ref4$tableOptions,
642
641
  _ref4$filterDataSourc = _ref4.filterDataSources,
@@ -718,14 +717,13 @@ var generateTable = function generateTable(_ref4) {
718
717
  return /*#__PURE__*/_react["default"].createElement(Table, setProps, props.children);
719
718
  };
720
719
  };
721
- exports.generateTable = generateTable;
722
- var Table = /*#__PURE__*/function (_Component) {
723
- (0, _inherits2["default"])(Table, _Component);
724
- var _super = (0, _createSuper2["default"])(Table);
720
+ var Table = exports.Table = /*#__PURE__*/function (_Component2) {
721
+ (0, _inherits2["default"])(Table, _Component2);
722
+ var _super2 = (0, _createSuper2["default"])(Table);
725
723
  function Table(props) {
726
724
  var _this;
727
725
  (0, _classCallCheck2["default"])(this, Table);
728
- _this = _super.call(this, props);
726
+ _this = _super2.call(this, props);
729
727
  var components = props.components,
730
728
  tableKey = props.tableKey,
731
729
  config = (0, _objectWithoutProperties2["default"])(props, _excluded);
@@ -777,7 +775,6 @@ var Table = /*#__PURE__*/function (_Component) {
777
775
  }]);
778
776
  return Table;
779
777
  }(_react.Component);
780
- exports.Table = Table;
781
778
  var defaultProps = {
782
779
  components: {},
783
780
  rows: (0, _immutable.List)([]),