@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.
- package/@types/angular.d.ts +22 -9
- package/@types/animations/animate-css-driver.d.ts +0 -1
- package/@types/animations/animate-css.d.ts +0 -1
- package/@types/animations/animate-js-driver.d.ts +1 -7
- package/@types/animations/animate-js.d.ts +1 -4
- package/@types/animations/animate-queue.d.ts +2 -3
- package/@types/animations/animate.d.ts +22 -22
- package/@types/animations/animation.d.ts +2 -2
- package/@types/animations/interface.d.ts +12 -0
- package/@types/animations/runner/animate-runner.d.ts +99 -0
- package/@types/core/filter/filter.d.ts +2 -2
- package/@types/core/scope/scope.d.ts +5 -0
- package/@types/directive/class/class.d.ts +3 -3
- package/@types/directive/inject/inject.d.ts +2 -2
- package/@types/directive/input/input.d.ts +10 -10
- package/@types/directive/messages/messages.d.ts +1 -1
- package/@types/interface.d.ts +35 -6
- package/@types/namespace.d.ts +4 -0
- package/@types/ng.d.ts +3 -5
- package/@types/router/params/interface.d.ts +0 -25
- package/@types/router/state/interface.d.ts +0 -9
- package/@types/router/template-factory.d.ts +1 -1
- package/@types/router/transition/interface.d.ts +0 -33
- package/@types/shared/dom.d.ts +4 -5
- package/dist/angular-ts.esm.js +425 -318
- package/dist/angular-ts.umd.js +425 -318
- package/dist/angular-ts.umd.min.js +1 -1
- package/dist/angular.css +1 -1
- package/package.json +1 -2
- package/@types/animations/animate-runner.d.ts +0 -31
|
@@ -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
|
*
|
package/@types/shared/dom.d.ts
CHANGED
|
@@ -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] -
|
|
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 {
|
|
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
|
*
|