UNPKG

2.13 kBJavaScriptView Raw
1"use strict";
2var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3 if (k2 === undefined) k2 = k;
4 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5}) : (function(o, m, k, k2) {
6 if (k2 === undefined) k2 = k;
7 o[k2] = m[k];
8}));
9var __exportStar = (this && this.__exportStar) || function(m, exports) {
10 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11};
12Object.defineProperty(exports, "__esModule", { value: true });
13/**
14 * # The state subsystem
15 *
16 * This subsystem implements the ui-router state tree
17 *
18 * - The [[StateService]] has state-related service methods such as:
19 * - [[StateService.get]]: Get a registered [[StateDeclaration]] object
20 * - [[StateService.go]]: Transition from the current state to a new state
21 * - [[StateService.reload]]: Reload the current state
22 * - [[StateService.target]]: Get a [[TargetState]] (useful when redirecting from a Transition Hook)
23 * - [[StateService.onInvalid]]: Register a callback for when a transition to an invalid state is started
24 * - [[StateService.defaultErrorHandler]]: Register a global callback for when a transition errors
25 * - The [[StateDeclaration]] interface defines the shape of a state declaration
26 * - The [[StateRegistry]] contains all the registered states
27 * - States can be added/removed using the [[StateRegistry.register]] and [[StateRegistry.deregister]]
28 * - Note: Bootstrap state registration differs by front-end framework.
29 * - Get notified of state registration/deregistration using [[StateRegistry.onStatesChanged]].
30 *
31 * @packageDocumentation
32 */
33__exportStar(require("./interface"), exports);
34__exportStar(require("./stateBuilder"), exports);
35__exportStar(require("./stateObject"), exports);
36__exportStar(require("./stateMatcher"), exports);
37__exportStar(require("./stateQueueManager"), exports);
38__exportStar(require("./stateRegistry"), exports);
39__exportStar(require("./stateService"), exports);
40__exportStar(require("./targetState"), exports);
41//# sourceMappingURL=index.js.map
\No newline at end of file