Front end of the Slack clone application.

index.js 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. (function (factory) {
  2. if (typeof module === "object" && typeof module.exports === "object") {
  3. var v = factory(require, exports);
  4. if (v !== undefined) module.exports = v;
  5. }
  6. else if (typeof define === "function" && define.amd) {
  7. define(["require", "exports", "./components/app/app-root", "./components/app/menu-controller", "./components/action-sheet/action-sheet", "./components/action-sheet/action-sheet-controller", "./components/action-sheet/action-sheet-component", "./components/alert/alert", "./components/alert/alert-controller", "./components/alert/alert-component", "./components/app/app", "./components/avatar/avatar", "./components/backdrop/backdrop", "./components/badge/badge", "./components/button/button", "./components/card/card", "./components/card/card-content", "./components/card/card-header", "./components/card/card-title", "./components/checkbox/checkbox", "./components/chip/chip", "./components/content/content", "./components/datetime/datetime", "./components/fab/fab", "./components/fab/fab-container", "./components/fab/fab-list", "./components/grid/col", "./components/grid/grid", "./components/grid/row", "./components/ion", "./components/icon/icon", "./components/img/img", "./components/infinite-scroll/infinite-scroll", "./components/infinite-scroll/infinite-scroll-content", "./components/input/input", "./components/item/item", "./components/item/item-content", "./components/item/item-divider", "./components/item/item-group", "./components/item/item-options", "./components/item/item-reorder", "./components/item/item-sliding", "./components/item/reorder", "./components/label/label", "./components/list/list", "./components/list/list-header", "./components/loading/loading", "./components/loading/loading-controller", "./components/loading/loading-component", "./components/menu/menu", "./components/menu/menu-close", "./components/menu/menu-toggle", "./components/menu/menu-types", "./components/modal/modal", "./components/modal/modal-component", "./components/modal/modal-controller", "./components/nav/nav", "./components/nav/nav-pop", "./components/nav/nav-pop-anchor", "./components/nav/nav-push", "./components/nav/nav-push-anchor", "./components/note/note", "./components/option/option", "./components/picker/picker", "./components/picker/picker-component", "./components/picker/picker-column", "./components/picker/picker-controller", "./components/popover/popover", "./components/popover/popover-component", "./components/popover/popover-controller", "./components/radio/radio-button", "./components/radio/radio-group", "./components/range/range", "./components/range/range-knob", "./components/refresher/refresher", "./components/refresher/refresher-content", "./components/scroll/scroll", "./components/searchbar/searchbar", "./components/segment/segment", "./components/segment/segment-button", "./components/select/select", "./components/select/select-popover-component", "./components/show-hide-when/show-when", "./components/show-hide-when/display-when", "./components/show-hide-when/hide-when", "./components/slides/slide", "./components/slides/slides", "./components/spinner/spinner", "./components/split-pane/split-pane", "./components/tabs/tab", "./components/tabs/tab-button", "./components/tabs/tab-highlight", "./components/tabs/tabs", "./components/toast/toast", "./components/toast/toast-component", "./components/toast/toast-controller", "./components/toggle/toggle", "./components/toolbar/toolbar-footer", "./components/toolbar/toolbar-header", "./components/toolbar/toolbar", "./components/toolbar/toolbar-item", "./components/toolbar/toolbar-title", "./components/toolbar/navbar", "./components/thumbnail/thumbnail", "./components/typography/typography", "./components/virtual-scroll/virtual-footer", "./components/virtual-scroll/virtual-header", "./components/virtual-scroll/virtual-item", "./components/virtual-scroll/virtual-scroll", "./config/config", "./platform/dom-controller", "./platform/platform", "./tap-click/haptic", "./navigation/deep-linker", "./navigation/ionic-page", "./navigation/nav-controller", "./navigation/nav-controller-base", "./navigation/nav-params", "./navigation/nav-util", "./tap-click/tap-click", "./navigation/url-serializer", "./navigation/view-controller", "./gestures/pan-gesture", "./gestures/gesture", "./gestures/slide-edge-gesture", "./gestures/slide-gesture", "./gestures/gesture-controller", "./util/events", "./util/ionic-error-handler", "./platform/keyboard", "./util/form", "./util/util", "./animations/animation", "./transitions/page-transition", "./transitions/transition", "./platform/platform-registry", "./config/mode-registry", "./gestures/gesture-config", "./module"], factory);
  8. }
  9. })(function (require, exports) {
  10. "use strict";
  11. Object.defineProperty(exports, "__esModule", { value: true });
  12. var app_root_1 = require("./components/app/app-root");
  13. exports.IonicApp = app_root_1.IonicApp;
  14. var menu_controller_1 = require("./components/app/menu-controller");
  15. exports.MenuController = menu_controller_1.MenuController;
  16. var action_sheet_1 = require("./components/action-sheet/action-sheet");
  17. exports.ActionSheet = action_sheet_1.ActionSheet;
  18. var action_sheet_controller_1 = require("./components/action-sheet/action-sheet-controller");
  19. exports.ActionSheetController = action_sheet_controller_1.ActionSheetController;
  20. var action_sheet_component_1 = require("./components/action-sheet/action-sheet-component");
  21. exports.ActionSheetCmp = action_sheet_component_1.ActionSheetCmp;
  22. var alert_1 = require("./components/alert/alert");
  23. exports.Alert = alert_1.Alert;
  24. var alert_controller_1 = require("./components/alert/alert-controller");
  25. exports.AlertController = alert_controller_1.AlertController;
  26. var alert_component_1 = require("./components/alert/alert-component");
  27. exports.AlertCmp = alert_component_1.AlertCmp;
  28. var app_1 = require("./components/app/app");
  29. exports.App = app_1.App;
  30. var avatar_1 = require("./components/avatar/avatar");
  31. exports.Avatar = avatar_1.Avatar;
  32. var backdrop_1 = require("./components/backdrop/backdrop");
  33. exports.Backdrop = backdrop_1.Backdrop;
  34. var badge_1 = require("./components/badge/badge");
  35. exports.Badge = badge_1.Badge;
  36. var button_1 = require("./components/button/button");
  37. exports.Button = button_1.Button;
  38. var card_1 = require("./components/card/card");
  39. exports.Card = card_1.Card;
  40. var card_content_1 = require("./components/card/card-content");
  41. exports.CardContent = card_content_1.CardContent;
  42. var card_header_1 = require("./components/card/card-header");
  43. exports.CardHeader = card_header_1.CardHeader;
  44. var card_title_1 = require("./components/card/card-title");
  45. exports.CardTitle = card_title_1.CardTitle;
  46. var checkbox_1 = require("./components/checkbox/checkbox");
  47. exports.Checkbox = checkbox_1.Checkbox;
  48. var chip_1 = require("./components/chip/chip");
  49. exports.Chip = chip_1.Chip;
  50. var content_1 = require("./components/content/content");
  51. exports.Content = content_1.Content;
  52. var datetime_1 = require("./components/datetime/datetime");
  53. exports.DateTime = datetime_1.DateTime;
  54. var fab_1 = require("./components/fab/fab");
  55. exports.FabButton = fab_1.FabButton;
  56. var fab_container_1 = require("./components/fab/fab-container");
  57. exports.FabContainer = fab_container_1.FabContainer;
  58. var fab_list_1 = require("./components/fab/fab-list");
  59. exports.FabList = fab_list_1.FabList;
  60. var col_1 = require("./components/grid/col");
  61. exports.Col = col_1.Col;
  62. var grid_1 = require("./components/grid/grid");
  63. exports.Grid = grid_1.Grid;
  64. var row_1 = require("./components/grid/row");
  65. exports.Row = row_1.Row;
  66. var ion_1 = require("./components/ion");
  67. exports.Ion = ion_1.Ion;
  68. var icon_1 = require("./components/icon/icon");
  69. exports.Icon = icon_1.Icon;
  70. var img_1 = require("./components/img/img");
  71. exports.Img = img_1.Img;
  72. var infinite_scroll_1 = require("./components/infinite-scroll/infinite-scroll");
  73. exports.InfiniteScroll = infinite_scroll_1.InfiniteScroll;
  74. var infinite_scroll_content_1 = require("./components/infinite-scroll/infinite-scroll-content");
  75. exports.InfiniteScrollContent = infinite_scroll_content_1.InfiniteScrollContent;
  76. var input_1 = require("./components/input/input");
  77. exports.TextInput = input_1.TextInput;
  78. var item_1 = require("./components/item/item");
  79. exports.Item = item_1.Item;
  80. var item_content_1 = require("./components/item/item-content");
  81. exports.ItemContent = item_content_1.ItemContent;
  82. var item_divider_1 = require("./components/item/item-divider");
  83. exports.ItemDivider = item_divider_1.ItemDivider;
  84. var item_group_1 = require("./components/item/item-group");
  85. exports.ItemGroup = item_group_1.ItemGroup;
  86. var item_options_1 = require("./components/item/item-options");
  87. exports.ItemOptions = item_options_1.ItemOptions;
  88. var item_reorder_1 = require("./components/item/item-reorder");
  89. exports.ItemReorder = item_reorder_1.ItemReorder;
  90. var item_sliding_1 = require("./components/item/item-sliding");
  91. exports.ItemSliding = item_sliding_1.ItemSliding;
  92. var reorder_1 = require("./components/item/reorder");
  93. exports.Reorder = reorder_1.Reorder;
  94. var label_1 = require("./components/label/label");
  95. exports.Label = label_1.Label;
  96. var list_1 = require("./components/list/list");
  97. exports.List = list_1.List;
  98. var list_header_1 = require("./components/list/list-header");
  99. exports.ListHeader = list_header_1.ListHeader;
  100. var loading_1 = require("./components/loading/loading");
  101. exports.Loading = loading_1.Loading;
  102. var loading_controller_1 = require("./components/loading/loading-controller");
  103. exports.LoadingController = loading_controller_1.LoadingController;
  104. var loading_component_1 = require("./components/loading/loading-component");
  105. exports.LoadingCmp = loading_component_1.LoadingCmp;
  106. var menu_1 = require("./components/menu/menu");
  107. exports.Menu = menu_1.Menu;
  108. var menu_close_1 = require("./components/menu/menu-close");
  109. exports.MenuClose = menu_close_1.MenuClose;
  110. var menu_toggle_1 = require("./components/menu/menu-toggle");
  111. exports.MenuToggle = menu_toggle_1.MenuToggle;
  112. var menu_types_1 = require("./components/menu/menu-types");
  113. exports.MenuType = menu_types_1.MenuType;
  114. var modal_1 = require("./components/modal/modal");
  115. exports.Modal = modal_1.Modal;
  116. var modal_component_1 = require("./components/modal/modal-component");
  117. exports.ModalCmp = modal_component_1.ModalCmp;
  118. var modal_controller_1 = require("./components/modal/modal-controller");
  119. exports.ModalController = modal_controller_1.ModalController;
  120. var nav_1 = require("./components/nav/nav");
  121. exports.Nav = nav_1.Nav;
  122. var nav_pop_1 = require("./components/nav/nav-pop");
  123. exports.NavPop = nav_pop_1.NavPop;
  124. var nav_pop_anchor_1 = require("./components/nav/nav-pop-anchor");
  125. exports.NavPopAnchor = nav_pop_anchor_1.NavPopAnchor;
  126. var nav_push_1 = require("./components/nav/nav-push");
  127. exports.NavPush = nav_push_1.NavPush;
  128. var nav_push_anchor_1 = require("./components/nav/nav-push-anchor");
  129. exports.NavPushAnchor = nav_push_anchor_1.NavPushAnchor;
  130. var note_1 = require("./components/note/note");
  131. exports.Note = note_1.Note;
  132. var option_1 = require("./components/option/option");
  133. exports.Option = option_1.Option;
  134. var picker_1 = require("./components/picker/picker");
  135. exports.Picker = picker_1.Picker;
  136. var picker_component_1 = require("./components/picker/picker-component");
  137. exports.PickerCmp = picker_component_1.PickerCmp;
  138. var picker_column_1 = require("./components/picker/picker-column");
  139. exports.PickerColumnCmp = picker_column_1.PickerColumnCmp;
  140. var picker_controller_1 = require("./components/picker/picker-controller");
  141. exports.PickerController = picker_controller_1.PickerController;
  142. var popover_1 = require("./components/popover/popover");
  143. exports.Popover = popover_1.Popover;
  144. var popover_component_1 = require("./components/popover/popover-component");
  145. exports.PopoverCmp = popover_component_1.PopoverCmp;
  146. var popover_controller_1 = require("./components/popover/popover-controller");
  147. exports.PopoverController = popover_controller_1.PopoverController;
  148. var radio_button_1 = require("./components/radio/radio-button");
  149. exports.RadioButton = radio_button_1.RadioButton;
  150. var radio_group_1 = require("./components/radio/radio-group");
  151. exports.RadioGroup = radio_group_1.RadioGroup;
  152. var range_1 = require("./components/range/range");
  153. exports.Range = range_1.Range;
  154. var range_knob_1 = require("./components/range/range-knob");
  155. exports.RangeKnob = range_knob_1.RangeKnob;
  156. var refresher_1 = require("./components/refresher/refresher");
  157. exports.Refresher = refresher_1.Refresher;
  158. var refresher_content_1 = require("./components/refresher/refresher-content");
  159. exports.RefresherContent = refresher_content_1.RefresherContent;
  160. var scroll_1 = require("./components/scroll/scroll");
  161. exports.Scroll = scroll_1.Scroll;
  162. var searchbar_1 = require("./components/searchbar/searchbar");
  163. exports.Searchbar = searchbar_1.Searchbar;
  164. var segment_1 = require("./components/segment/segment");
  165. exports.Segment = segment_1.Segment;
  166. var segment_button_1 = require("./components/segment/segment-button");
  167. exports.SegmentButton = segment_button_1.SegmentButton;
  168. var select_1 = require("./components/select/select");
  169. exports.Select = select_1.Select;
  170. var select_popover_component_1 = require("./components/select/select-popover-component");
  171. exports.SelectPopover = select_popover_component_1.SelectPopover;
  172. var show_when_1 = require("./components/show-hide-when/show-when");
  173. exports.ShowWhen = show_when_1.ShowWhen;
  174. var display_when_1 = require("./components/show-hide-when/display-when");
  175. exports.DisplayWhen = display_when_1.DisplayWhen;
  176. var hide_when_1 = require("./components/show-hide-when/hide-when");
  177. exports.HideWhen = hide_when_1.HideWhen;
  178. var slide_1 = require("./components/slides/slide");
  179. exports.Slide = slide_1.Slide;
  180. var slides_1 = require("./components/slides/slides");
  181. exports.Slides = slides_1.Slides;
  182. var spinner_1 = require("./components/spinner/spinner");
  183. exports.Spinner = spinner_1.Spinner;
  184. var split_pane_1 = require("./components/split-pane/split-pane");
  185. exports.SplitPane = split_pane_1.SplitPane;
  186. exports.RootNode = split_pane_1.RootNode;
  187. var tab_1 = require("./components/tabs/tab");
  188. exports.Tab = tab_1.Tab;
  189. var tab_button_1 = require("./components/tabs/tab-button");
  190. exports.TabButton = tab_button_1.TabButton;
  191. var tab_highlight_1 = require("./components/tabs/tab-highlight");
  192. exports.TabHighlight = tab_highlight_1.TabHighlight;
  193. var tabs_1 = require("./components/tabs/tabs");
  194. exports.Tabs = tabs_1.Tabs;
  195. var toast_1 = require("./components/toast/toast");
  196. exports.Toast = toast_1.Toast;
  197. var toast_component_1 = require("./components/toast/toast-component");
  198. exports.ToastCmp = toast_component_1.ToastCmp;
  199. var toast_controller_1 = require("./components/toast/toast-controller");
  200. exports.ToastController = toast_controller_1.ToastController;
  201. var toggle_1 = require("./components/toggle/toggle");
  202. exports.Toggle = toggle_1.Toggle;
  203. var toolbar_footer_1 = require("./components/toolbar/toolbar-footer");
  204. exports.Footer = toolbar_footer_1.Footer;
  205. var toolbar_header_1 = require("./components/toolbar/toolbar-header");
  206. exports.Header = toolbar_header_1.Header;
  207. var toolbar_1 = require("./components/toolbar/toolbar");
  208. exports.Toolbar = toolbar_1.Toolbar;
  209. var toolbar_item_1 = require("./components/toolbar/toolbar-item");
  210. exports.ToolbarItem = toolbar_item_1.ToolbarItem;
  211. var toolbar_title_1 = require("./components/toolbar/toolbar-title");
  212. exports.ToolbarTitle = toolbar_title_1.ToolbarTitle;
  213. var navbar_1 = require("./components/toolbar/navbar");
  214. exports.Navbar = navbar_1.Navbar;
  215. var thumbnail_1 = require("./components/thumbnail/thumbnail");
  216. exports.Thumbnail = thumbnail_1.Thumbnail;
  217. var typography_1 = require("./components/typography/typography");
  218. exports.Typography = typography_1.Typography;
  219. var virtual_footer_1 = require("./components/virtual-scroll/virtual-footer");
  220. exports.VirtualFooter = virtual_footer_1.VirtualFooter;
  221. var virtual_header_1 = require("./components/virtual-scroll/virtual-header");
  222. exports.VirtualHeader = virtual_header_1.VirtualHeader;
  223. var virtual_item_1 = require("./components/virtual-scroll/virtual-item");
  224. exports.VirtualItem = virtual_item_1.VirtualItem;
  225. var virtual_scroll_1 = require("./components/virtual-scroll/virtual-scroll");
  226. exports.VirtualScroll = virtual_scroll_1.VirtualScroll;
  227. /**
  228. * Global Providers
  229. */
  230. var config_1 = require("./config/config");
  231. exports.Config = config_1.Config;
  232. exports.setupConfig = config_1.setupConfig;
  233. exports.ConfigToken = config_1.ConfigToken;
  234. var dom_controller_1 = require("./platform/dom-controller");
  235. exports.DomController = dom_controller_1.DomController;
  236. var platform_1 = require("./platform/platform");
  237. exports.Platform = platform_1.Platform;
  238. exports.setupPlatform = platform_1.setupPlatform;
  239. var haptic_1 = require("./tap-click/haptic");
  240. exports.Haptic = haptic_1.Haptic;
  241. var deep_linker_1 = require("./navigation/deep-linker");
  242. exports.DeepLinker = deep_linker_1.DeepLinker;
  243. var ionic_page_1 = require("./navigation/ionic-page");
  244. exports.IonicPage = ionic_page_1.IonicPage;
  245. var nav_controller_1 = require("./navigation/nav-controller");
  246. exports.NavController = nav_controller_1.NavController;
  247. var nav_controller_base_1 = require("./navigation/nav-controller-base");
  248. exports.NavControllerBase = nav_controller_base_1.NavControllerBase;
  249. var nav_params_1 = require("./navigation/nav-params");
  250. exports.NavParams = nav_params_1.NavParams;
  251. var nav_util_1 = require("./navigation/nav-util");
  252. exports.DeepLinkMetadata = nav_util_1.DeepLinkMetadata;
  253. exports.DeepLinkMetadataFactory = nav_util_1.DeepLinkMetadataFactory;
  254. var tap_click_1 = require("./tap-click/tap-click");
  255. exports.TapClick = tap_click_1.TapClick;
  256. exports.setupTapClick = tap_click_1.setupTapClick;
  257. exports.isActivatable = tap_click_1.isActivatable;
  258. var url_serializer_1 = require("./navigation/url-serializer");
  259. exports.UrlSerializer = url_serializer_1.UrlSerializer;
  260. exports.DeepLinkConfigToken = url_serializer_1.DeepLinkConfigToken;
  261. var view_controller_1 = require("./navigation/view-controller");
  262. exports.ViewController = view_controller_1.ViewController;
  263. /**
  264. * Export Utils
  265. */
  266. var pan_gesture_1 = require("./gestures/pan-gesture");
  267. exports.PanGesture = pan_gesture_1.PanGesture;
  268. var gesture_1 = require("./gestures/gesture");
  269. exports.Gesture = gesture_1.Gesture;
  270. var slide_edge_gesture_1 = require("./gestures/slide-edge-gesture");
  271. exports.SlideEdgeGesture = slide_edge_gesture_1.SlideEdgeGesture;
  272. var slide_gesture_1 = require("./gestures/slide-gesture");
  273. exports.SlideGesture = slide_gesture_1.SlideGesture;
  274. var gesture_controller_1 = require("./gestures/gesture-controller");
  275. exports.BLOCK_ALL = gesture_controller_1.BLOCK_ALL;
  276. exports.GESTURE_GO_BACK_SWIPE = gesture_controller_1.GESTURE_GO_BACK_SWIPE;
  277. exports.GESTURE_MENU_SWIPE = gesture_controller_1.GESTURE_MENU_SWIPE;
  278. exports.GESTURE_ITEM_SWIPE = gesture_controller_1.GESTURE_ITEM_SWIPE;
  279. exports.GESTURE_REFRESHER = gesture_controller_1.GESTURE_REFRESHER;
  280. exports.GESTURE_TOGGLE = gesture_controller_1.GESTURE_TOGGLE;
  281. exports.GestureController = gesture_controller_1.GestureController;
  282. exports.GestureDelegate = gesture_controller_1.GestureDelegate;
  283. exports.BlockerDelegate = gesture_controller_1.BlockerDelegate;
  284. var events_1 = require("./util/events");
  285. exports.Events = events_1.Events;
  286. exports.setupEvents = events_1.setupEvents;
  287. exports.setupProvideEvents = events_1.setupProvideEvents;
  288. var ionic_error_handler_1 = require("./util/ionic-error-handler");
  289. exports.IonicErrorHandler = ionic_error_handler_1.IonicErrorHandler;
  290. var keyboard_1 = require("./platform/keyboard");
  291. exports.Keyboard = keyboard_1.Keyboard;
  292. var form_1 = require("./util/form");
  293. exports.Form = form_1.Form;
  294. exports.IonicFormInput = form_1.IonicFormInput;
  295. exports.IonicTapInput = form_1.IonicTapInput;
  296. var util_1 = require("./util/util");
  297. exports.reorderArray = util_1.reorderArray;
  298. exports.normalizeURL = util_1.normalizeURL;
  299. var animation_1 = require("./animations/animation");
  300. exports.Animation = animation_1.Animation;
  301. var page_transition_1 = require("./transitions/page-transition");
  302. exports.PageTransition = page_transition_1.PageTransition;
  303. var transition_1 = require("./transitions/transition");
  304. exports.Transition = transition_1.Transition;
  305. var platform_registry_1 = require("./platform/platform-registry");
  306. exports.PlatformConfigToken = platform_registry_1.PlatformConfigToken;
  307. var mode_registry_1 = require("./config/mode-registry");
  308. exports.registerModeConfigs = mode_registry_1.registerModeConfigs;
  309. var gesture_config_1 = require("./gestures/gesture-config");
  310. exports.IonicGestureConfig = gesture_config_1.IonicGestureConfig;
  311. var module_1 = require("./module");
  312. exports.IonicModule = module_1.IonicModule;
  313. exports.IonicPageModule = module_1.IonicPageModule;
  314. exports.provideLocationStrategy = module_1.provideLocationStrategy;
  315. });
  316. //# sourceMappingURL=index.js.map