@angular-wave/angular.ts 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,6 @@ import { StateObject } from "../state/state-object.js";
5
5
  import { PathNode } from "../path/path-node.js";
6
6
  import { TargetState } from "../state/target-state.js";
7
7
  import { RegisteredHook } from "./hook-registry.js";
8
- import { TransitionHookScope } from "./transition-hook.js";
9
8
  /**
10
9
  * The TransitionOptions object can be used to change the behavior of a transition.
11
10
  *
@@ -79,16 +78,6 @@ export interface TransitionOptions {
79
78
  * @default `true`
80
79
  */
81
80
  supercede?: boolean;
82
- /** @internal */
83
- reloadState?: StateObject;
84
- /** @internal
85
- * If this transition is a redirect, this property should be the original Transition (which was redirected to this one)
86
- */
87
- redirectedFrom?: Transition;
88
- /** @internal */
89
- current?: () => Transition;
90
- /** @internal */
91
- source?: "sref" | "url" | "redirect" | "otherwise" | "unknown";
92
81
  }
93
82
  export interface TransitionHookOptions {
94
83
  current?: () => Transition;
@@ -299,10 +288,6 @@ export interface HookRegOptions {
299
288
  * Note: the Transition object only allows hooks to be registered before the Transition is started.
300
289
  */
301
290
  export interface IHookRegistry {
302
- /** @internal place to store the hooks */
303
- _registeredHooks: {
304
- [key: string]: RegisteredHook[];
305
- };
306
291
  /**
307
292
  * Registers a [[TransitionHookFn]], called *before a transition starts*.
308
293
  *
@@ -838,24 +823,6 @@ export interface IMatchingNodes {
838
823
  retained: PathNode[];
839
824
  entering: PathNode[];
840
825
  }
841
- /** @internal */
842
- export interface RegisteredHooks {
843
- [key: string]: RegisteredHook[];
844
- }
845
- /** @internal */
846
- export interface PathTypes {
847
- [key: string]: PathType;
848
- to: PathType;
849
- from: PathType;
850
- exiting: PathType;
851
- retained: PathType;
852
- entering: PathType;
853
- }
854
- /** @internal */
855
- export interface PathType {
856
- name: string;
857
- scope: TransitionHookScope;
858
- }
859
826
  /**
860
827
  * Hook Criterion used to match a transition.
861
828
  *
@@ -133,7 +133,7 @@ export function setIsolateScope(
133
133
  * Gets the controller instance for a given element, if exists. Defaults to "ngControllerController"
134
134
  *
135
135
  * @param {Element} element - The DOM element to get data from.
136
- * @param {string} [name] - The DOM element to get data from.
136
+ * @param {string} [name] - Controller name.
137
137
  * @returns {import("../core/scope/scope.js").Scope|undefined} - The retrieved data
138
138
  */
139
139
  export function getController(
@@ -198,11 +198,9 @@ export function cleanElementData(nodes: NodeListOf<Element> | Element[]): void;
198
198
  /**
199
199
  * Return instance of InjectorService attached to element
200
200
  * @param {Element} element
201
- * @returns {import('../core/di/internal-injector.js').InjectorService}
201
+ * @returns {ng.InjectorService}
202
202
  */
203
- export function getInjector(
204
- element: Element,
205
- ): import("../core/di/internal-injector.js").InjectorService;
203
+ export function getInjector(element: Element): ng.InjectorService;
206
204
  /**
207
205
  * Creates a DOM element from an HTML string.
208
206
  * @param {string} htmlString - A string representing the HTML to parse. Must have only one root element.
@@ -240,6 +238,7 @@ export function domInsert(
240
238
  parentElement: any,
241
239
  afterElement: any,
242
240
  ): void;
241
+ export function animatedomInsert(element: any, parent: any, after: any): void;
243
242
  /**
244
243
  * Returns the base href of the document.
245
244
  *