/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2019
 */

export const ACTIONS = {
  // tableAction constants
  SORT_DATA: 'sortData',
  FILTER_DATA: 'filterData',
  REFRESH_DATA: 'refreshData',
  ADD_ITEM: 'addItem',
  ADD_RECORD: 'addRecord',
  HIDE_OVER_STOCKED: 'hideOverStocked',
  HIDE_STOCK_OUT: 'hideStockOut',
  SHOW_FINALISED: 'showFinalised',
  SHOW_NOT_FINALISED: 'showNotFinalised',
  REFRESH_DATA_WITH_FINALISED_TOGGLE: 'refreshDataWithFinalisedToggle',
  FILTER_DATA_WITH_FINALISED_TOGGLE: 'filterDataWithFinalisedToggle',
  FILTER_DATA_WITH_OVER_STOCK_TOGGLE: 'filterDataWithOverStockToggle',

  // pageAction constants
  OPEN_MODAL: 'openModal',
  CLOSE_MODAL: 'closeModal',
  EDIT_NAME: 'editName',

  // rowAction constants
  REFRESH_ROW: 'refreshRow',
  EDIT_TOTAL_QUANTITY: 'editTotalQuantity',
  EDIT_COUNTED_QUANTITY: 'editCountedQuantity',
  EDIT_REQUIRED_QUANTITY: 'editRequiredQuantity',
  EDIT_EXPIRY_DATE: 'editExpiryDate',
  ENFORCE_REASON: 'enforceReasonChoice',

  // cellAction constants
  FOCUS_CELL: 'focusCell',
  FOCUS_NEXT: 'focusNext',
  SELECT_ROW: 'selectRow',
  SELECT_ALL: 'selectAll',
  SELECT_ONE_ROW: 'selectOneRow',
  SELECT_ROWS: 'selectRows',
  DESELECT_ROW: 'deselectRow',
  DESELECT_ALL: 'deselectAll',
  DELETE_RECORDS: 'deleteRecords',
};

@@ -289,19 +289,21 @@
 ked',%0A  
-HID
+TOGGL
 E_STOCK_
@@ -308,19 +308,21 @@
 K_OUT: '
-hid
+toggl
 eStockOu
@@ -323,24 +323,31 @@
 tockOut',%0A  
+TOGGLE_
 SHOW_FINALIS
@@ -355,54 +355,18 @@
 D: '
-showFinalised',%0A  SHOW_NOT_FINALISED: 'showNot
+toggleShow
 Fina
@@ -1076,24 +1076,31 @@
 lectRow',%0A  
+TOGGLE_
 SELECT_ALL: 
@@ -1100,16 +1100,53 @@
 T_ALL: '
+toggleSelectAll',%0A  DESELECT_ALL: 'de
 selectAl
@@ -1189,39 +1189,46 @@
 ,%0A  
+DE
 SELECT_
+ONE_
 ROW
-S
 : '
+de
 select
+One
 Row
-s
 ',%0A  
-DE
 SELE
@@ -1229,29 +1229,28 @@
   SELECT_ROW
+S
 : '
-de
 selectRow',%0A
@@ -1242,24 +1242,25 @@
 : 'selectRow
+s
 ',%0A  DESELEC
@@ -1253,35 +1253,35 @@
 ws',%0A  DESELECT_
-ALL
+ROW
 : 'deselectAll',
@@ -1271,27 +1271,27 @@
 W: 'deselect
-All
+Row
 ',%0A  DELETE_

Add updatedaction constants