react-native-navigation的迁移库

testIDs.js 4.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. module.exports = {
  2. // Buttons
  3. TAB_BASED_APP_BUTTON: `TAB_BASED_APP_BUTTON`,
  4. TAB_BASED_APP_SIDE_BUTTON: `TAB_BASED_APP_SIDE_BUTTON`,
  5. PUSH_LIFECYCLE_BUTTON: `PUSH_LIFECYCLE_BUTTON`,
  6. PUSH_STATIC_LIFECYCLE_BUTTON: `PUSH_STATIC_LIFECYCLE_BUTTON`,
  7. PUSH_BUTTON: `PUSH_BUTTON`,
  8. PUSH_CONTEXT_SCREEN_BUTTON: `PUSH_CONTEXT_SCREEN_BUTTON`,
  9. SHOW_YELLOW_BOX: `SHOW_YELLOW_BOX`,
  10. SIDE_MENU_PUSH_BUTTON: `SIDE_MENU_PUSH_BUTTON`,
  11. LEFT_SIDE_MENU_PUSH_BUTTON: `leftSIDE_MENU_PUSH_BUTTON`,
  12. RIGHT_SIDE_MENU_PUSH_BUTTON: `rightSIDE_MENU_PUSH_BUTTON`,
  13. PUSH_OPTIONS_BUTTON: `PUSH_OPTIONS_BUTTON`,
  14. PUSH_DEFAULT_OPTIONS_BUTTON: `PUSH_DEFAULT_OPTIONS_BUTTON`,
  15. SHOW_TOPBAR_REACT_VIEW: `SHOW_TOPBAR_REACT_VIEW`,
  16. BACK_HANDLER_BUTTON: `BACK_HANDLER_BUTTON`,
  17. SHOW_MODAL_BUTTON: `SHOW_MODAL_BUTTON`,
  18. SHOW_REDBOX_BUTTON: `SHOW_REDBOX_BUTTON`,
  19. ORIENTATION_BUTTON: `ORIENTATION_BUTTON`,
  20. PROVIDED_ID: `PROVIDED_ID`,
  21. DISMISS_MODAL_BUTTON: `DISMISS_MODAL_BUTTON`,
  22. DISMISS_UNKNOWN_MODAL_BUTTON: `DISMISS_UNKNOWN_MODAL_BUTTON`,
  23. DISMISS_ALL_MODALS_BUTTON: `DISMISS_ALL_MODALS_BUTTON`,
  24. DISMISS_PREVIOUS_MODAL_BUTTON: `DISMISS_PREVIOUS_MODAL_BUTTON`,
  25. DISMISS_ALL_PREVIOUS_MODAL_BUTTON: `DISMISS_ALL_PREVIOUS_MODAL_BUTTON`,
  26. DISMISS_FIRST_MODAL_BUTTON: `DISMISS_FIRST_MODAL_BUTTON`,
  27. DEFAULT_ORIENTATION_BUTTON: `DEFAULT_ORIENTATION_BUTTON`,
  28. LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON: `LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON`,
  29. PORTRAIT_ORIENTATION_BUTTON: `PORTRAIT_ORIENTATION_BUTTON`,
  30. LANDSCAPE_ORIENTATION_BUTTON: `LANDSCAPE_ORIENTATION_BUTTON`,
  31. DISMISS_BUTTON: `DISMISS_BUTTON`,
  32. POP_BUTTON: `POP_BUTTON`,
  33. POP_PREVIOUS_BUTTON: `POP_PREVIOUS_BUTTON`,
  34. POP_TO_ROOT: `POP_TO_ROOT`,
  35. POP_STACK_POSITION_ONE_BUTTON: `POP_STACK_POSITION_ONE_BUTTON`,
  36. SWITCH_SECOND_TAB_BUTTON: `SWITCH_SECOND_TAB_BUTTON`,
  37. SWITCH_FIRST_TAB_BUTTON: `SWITCH_FIRST_TAB_BUTTON`,
  38. DYNAMIC_OPTIONS_BUTTON: `DYNAMIC_OPTIONS_BUTTON`,
  39. SHOW_TOP_BAR_BUTTON: `SHOW_TOP_BAR_BUTTON`,
  40. HIDE_TOP_BAR_BUTTON: `HIDE_TOP_BAR_BUTTON`,
  41. TOP_BAR_BUTTON: `TOP_BAR_BUTTON`,
  42. SCROLLVIEW_SCREEN_BUTTON: `SCROLLVIEW_SCREEN_BUTTON`,
  43. HIDE_FAB: `HIDE_FAB`,
  44. SHOW_SNACKBAR_BUTTON: `SHOW_SNACKBAR_BUTTON`,
  45. TOGGLE_TOP_BAR_HIDE_ON_SCROLL: `TOGGLE_TOP_BAR_HIDE_ON_SCROLL`,
  46. SET_TAB_BADGE_BUTTON: `SET_TAB_BADGE_BUTTON`,
  47. SET_TAB_BADGE_BUTTON_NULL: `SET_TAB_BADGE_BUTTON_NULL`,
  48. PUSH_TO_TEST_DID_DISAPPEAR_BUTTON: `PUSH_TO_TEST_DID_DISAPPEAR_BUTTON`,
  49. PUSH_BUTTON_WAIT_FOR_RENDER: `PUSH_AND_WAIT_FOR_RENDER`,
  50. SHOW_LEFT_SIDE_MENU_BUTTON: `SHOW_LEFT_SIDE_MENU_BUTTON`,
  51. SHOW_RIGHT_SIDE_MENU_BUTTON: `SHOW_RIGHT_SIDE_MENU_BUTTON`,
  52. HIDE_LEFT_SIDE_MENU_BUTTON: `HIDE_LEFT_SIDE_MENU_BUTTON`,
  53. HIDE_RIGHT_SIDE_MENU_BUTTON: `HIDE_RIGHT_SIDE_MENU_BUTTON`,
  54. HIDE_BOTTOM_TABS_BUTTON: `HIDE_BOTTOM_TABS_BUTTON`,
  55. SHOW_BOTTOM_TABS_BUTTON: `SHOW_BOTTOM_TABS_BUTTON`,
  56. FIRST_TAB_BAR_BUTTON: `FIRST_TAB_BAR_BUTTON`,
  57. SECOND_TAB_BAR_BUTTON: `SECOND_TAB_BAR_BUTTON`,
  58. THIRD_TAB_BAR_BUTTON: `THIRD_TAB_BAR_BUTTON`,
  59. SHOW_OVERLAY_BUTTON: `SHOW_OVERLAY_BUTTON`,
  60. SHOW_TOUCH_THROUGH_OVERLAY_BUTTON: `SHOW_TOUCH_THROUGH_OVERLAY_BUTTON`,
  61. OK_BUTTON: `OK_BUTTON`,
  62. MODAL_WITH_STACK_BUTTON: `MODAL_WITH_STACK_BUTTON`,
  63. CUSTOM_TRANSITION_BUTTON: `CUSTOM_TRANSITION_BUTTON`,
  64. PUSH_EXTERNAL_COMPONENT_BUTTON: `PUSH_EXTERNAL_COMPONENT_BUTTON`,
  65. COMPLEX_LAYOUT_BUTTON: `COMPLEX_LAYOUT_BUTTON`,
  66. EXTERNAL_COMPONENT_IN_STACK: `EXTERNAL_COMPONENT_IN_STACK`,
  67. EXTERNAL_COMPONENT_IN_DEEP_STACK: `EXTERNAL_COMPONENT_IN_DEEP_STACK`,
  68. SET_STACK_ROOT_BUTTON: `SET_STACK_ROOT_BUTTON`,
  69. MODAL_LIFECYCLE_BUTTON: `MODAL_LIFECYCLE_BUTTON`,
  70. SPLIT_VIEW_BUTTON: `SPLIT_VIEW_BUTTON`,
  71. SHOW_PREVIEW_BUTTON: `SHOW_PREVIEW_BUTTON`,
  72. SHOW_TOPBAR_SEARCHBAR: `SHOW_TOPBAR_SEARCHBAR`,
  73. SEARCH_RESULT_ITEM: `SEARCH_RESULT_ITEM`,
  74. HIDE_BOTTOM_TABS_ON_PUSH_BUTTON: `HIDE_BOTTOM_TABS_ON_PUSH_BUTTON`,
  75. SIDE_MENU_LAYOUT_INSIDE_BOTTOM_TAB: `SIDE_MENU_LAYOUT_INSIDE_BOTTOM_TAB`,
  76. OPEN_SIDE_MENU: `OPEN_SIDE_MENU`,
  77. SET_ROOT_BUTTON: `SET_ROOT_BUTTON`,
  78. SET_INTERCEPT_TOUCH: `SET_INTERCEPT_TOUCH`,
  79. PUSH_BOTTOM_TABS_BUTTON: `PUSH_BOTTOM_TABS_BUTTON`,
  80. // Elements
  81. SCROLLVIEW_ELEMENT: `SCROLLVIEW_ELEMENT`,
  82. BOTTOM_TABS_ELEMENT: `BOTTOM_TABS_ELEMENT`,
  83. TOP_BAR_ELEMENT: `TOP_BAR_ELEMENT`,
  84. LANDSCAPE_ELEMENT: `LANDSCAPE_ELEMENT`,
  85. PORTRAIT_ELEMENT: `PORTRAIT_ELEMENT`,
  86. // Headers
  87. WELCOME_SCREEN_HEADER: `WELCOME_SCREEN_HEADER`,
  88. PUSHED_SCREEN_HEADER: `PUSHED_SCREEN_HEADER`,
  89. OPTIONS_SCREEN_HEADER: `OPTIONS_SCREEN_HEADER`,
  90. MODAL_SCREEN: `MODAL_SCREEN`,
  91. CENTERED_TEXT_HEADER: `CENTERED_TEXT_HEADER`,
  92. DIALOG_HEADER: `DIALOG_HEADER`
  93. };