react-native-navigation的迁移库

testIDs.js 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. CUSTOM_BACK_BUTTON: `CUSTOM_BACK_BUTTON`,
  18. SHOW_MODAL_BUTTON: `SHOW_MODAL_BUTTON`,
  19. SHOW_REDBOX_BUTTON: `SHOW_REDBOX_BUTTON`,
  20. ORIENTATION_BUTTON: `ORIENTATION_BUTTON`,
  21. PROVIDED_ID: `PROVIDED_ID`,
  22. DISMISS_MODAL_BUTTON: `DISMISS_MODAL_BUTTON`,
  23. DISMISS_UNKNOWN_MODAL_BUTTON: `DISMISS_UNKNOWN_MODAL_BUTTON`,
  24. DISMISS_ALL_MODALS_BUTTON: `DISMISS_ALL_MODALS_BUTTON`,
  25. DISMISS_PREVIOUS_MODAL_BUTTON: `DISMISS_PREVIOUS_MODAL_BUTTON`,
  26. DISMISS_ALL_PREVIOUS_MODAL_BUTTON: `DISMISS_ALL_PREVIOUS_MODAL_BUTTON`,
  27. DISMISS_FIRST_MODAL_BUTTON: `DISMISS_FIRST_MODAL_BUTTON`,
  28. DEFAULT_ORIENTATION_BUTTON: `DEFAULT_ORIENTATION_BUTTON`,
  29. LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON: `LANDSCAPE_PORTRAIT_ORIENTATION_BUTTON`,
  30. PORTRAIT_ORIENTATION_BUTTON: `PORTRAIT_ORIENTATION_BUTTON`,
  31. LANDSCAPE_ORIENTATION_BUTTON: `LANDSCAPE_ORIENTATION_BUTTON`,
  32. DISMISS_BUTTON: `DISMISS_BUTTON`,
  33. POP_BUTTON: `POP_BUTTON`,
  34. POP_PREVIOUS_BUTTON: `POP_PREVIOUS_BUTTON`,
  35. POP_TO_ROOT: `POP_TO_ROOT`,
  36. POP_STACK_POSITION_ONE_BUTTON: `POP_STACK_POSITION_ONE_BUTTON`,
  37. SWITCH_SECOND_TAB_BUTTON: `SWITCH_SECOND_TAB_BUTTON`,
  38. SWITCH_FIRST_TAB_BUTTON: `SWITCH_FIRST_TAB_BUTTON`,
  39. DYNAMIC_OPTIONS_BUTTON: `DYNAMIC_OPTIONS_BUTTON`,
  40. SHOW_TOP_BAR_BUTTON: `SHOW_TOP_BAR_BUTTON`,
  41. HIDE_TOP_BAR_BUTTON: `HIDE_TOP_BAR_BUTTON`,
  42. TOP_BAR_BUTTON: `TOP_BAR_BUTTON`,
  43. SCROLLVIEW_SCREEN_BUTTON: `SCROLLVIEW_SCREEN_BUTTON`,
  44. HIDE_FAB: `HIDE_FAB`,
  45. SHOW_SNACKBAR_BUTTON: `SHOW_SNACKBAR_BUTTON`,
  46. TOGGLE_TOP_BAR_HIDE_ON_SCROLL: `TOGGLE_TOP_BAR_HIDE_ON_SCROLL`,
  47. SET_TAB_BADGE_BUTTON: `SET_TAB_BADGE_BUTTON`,
  48. SET_TAB_BADGE_BUTTON_NULL: `SET_TAB_BADGE_BUTTON_NULL`,
  49. PUSH_TO_TEST_DID_DISAPPEAR_BUTTON: `PUSH_TO_TEST_DID_DISAPPEAR_BUTTON`,
  50. PUSH_BUTTON_WAIT_FOR_RENDER: `PUSH_AND_WAIT_FOR_RENDER`,
  51. PUSH_CUSTOM_BACK_BUTTON: `PUSH_CUSTOM_BACK_BUTTON`,
  52. SHOW_LEFT_SIDE_MENU_BUTTON: `SHOW_LEFT_SIDE_MENU_BUTTON`,
  53. SHOW_RIGHT_SIDE_MENU_BUTTON: `SHOW_RIGHT_SIDE_MENU_BUTTON`,
  54. HIDE_LEFT_SIDE_MENU_BUTTON: `HIDE_LEFT_SIDE_MENU_BUTTON`,
  55. HIDE_RIGHT_SIDE_MENU_BUTTON: `HIDE_RIGHT_SIDE_MENU_BUTTON`,
  56. HIDE_BOTTOM_TABS_BUTTON: `HIDE_BOTTOM_TABS_BUTTON`,
  57. SHOW_BOTTOM_TABS_BUTTON: `SHOW_BOTTOM_TABS_BUTTON`,
  58. FIRST_TAB_BAR_BUTTON: `FIRST_TAB_BAR_BUTTON`,
  59. SECOND_TAB_BAR_BUTTON: `SECOND_TAB_BAR_BUTTON`,
  60. THIRD_TAB_BAR_BUTTON: `THIRD_TAB_BAR_BUTTON`,
  61. SHOW_OVERLAY_BUTTON: `SHOW_OVERLAY_BUTTON`,
  62. SHOW_TOUCH_THROUGH_OVERLAY_SCROLLER: `SHOW_TOUCH_THROUGH_OVERLAY_SCROLLER`,
  63. SHOW_TOUCH_THROUGH_OVERLAY_BUTTON: `SHOW_TOUCH_THROUGH_OVERLAY_BUTTON`,
  64. OK_BUTTON: `OK_BUTTON`,
  65. MODAL_WITH_STACK_BUTTON: `MODAL_WITH_STACK_BUTTON`,
  66. CUSTOM_TRANSITION_BUTTON: `CUSTOM_TRANSITION_BUTTON`,
  67. PUSH_EXTERNAL_COMPONENT_BUTTON: `PUSH_EXTERNAL_COMPONENT_BUTTON`,
  68. COMPLEX_LAYOUT_BUTTON: `COMPLEX_LAYOUT_BUTTON`,
  69. EXTERNAL_COMPONENT_IN_STACK: `EXTERNAL_COMPONENT_IN_STACK`,
  70. EXTERNAL_COMPONENT_IN_DEEP_STACK: `EXTERNAL_COMPONENT_IN_DEEP_STACK`,
  71. SET_STACK_ROOT_BUTTON: `SET_STACK_ROOT_BUTTON`,
  72. MODAL_LIFECYCLE_BUTTON: `MODAL_LIFECYCLE_BUTTON`,
  73. SPLIT_VIEW_BUTTON: `SPLIT_VIEW_BUTTON`,
  74. SHOW_PREVIEW_BUTTON: `SHOW_PREVIEW_BUTTON`,
  75. SHOW_TOPBAR_SEARCHBAR: `SHOW_TOPBAR_SEARCHBAR`,
  76. SEARCH_RESULT_ITEM: `SEARCH_RESULT_ITEM`,
  77. HIDE_BOTTOM_TABS_ON_PUSH_BUTTON: `HIDE_BOTTOM_TABS_ON_PUSH_BUTTON`,
  78. SIDE_MENU_LAYOUT_INSIDE_BOTTOM_TAB: `SIDE_MENU_LAYOUT_INSIDE_BOTTOM_TAB`,
  79. OPEN_SIDE_MENU: `OPEN_SIDE_MENU`,
  80. SET_ROOT_BUTTON: `SET_ROOT_BUTTON`,
  81. SET_INTERCEPT_TOUCH: `SET_INTERCEPT_TOUCH`,
  82. PUSH_BOTTOM_TABS_BUTTON: `PUSH_BOTTOM_TABS_BUTTON`,
  83. // Elements
  84. SCROLLVIEW_ELEMENT: `SCROLLVIEW_ELEMENT`,
  85. BOTTOM_TABS_ELEMENT: `BOTTOM_TABS_ELEMENT`,
  86. TOP_BAR_ELEMENT: `TOP_BAR_ELEMENT`,
  87. LANDSCAPE_ELEMENT: `LANDSCAPE_ELEMENT`,
  88. PORTRAIT_ELEMENT: `PORTRAIT_ELEMENT`,
  89. // Headers
  90. WELCOME_SCREEN_HEADER: `WELCOME_SCREEN_HEADER`,
  91. PUSHED_SCREEN_HEADER: `PUSHED_SCREEN_HEADER`,
  92. OPTIONS_SCREEN_HEADER: `OPTIONS_SCREEN_HEADER`,
  93. MODAL_SCREEN: `MODAL_SCREEN`,
  94. CENTERED_TEXT_HEADER: `CENTERED_TEXT_HEADER`,
  95. DIALOG_HEADER: `DIALOG_HEADER`
  96. };