@angular-wave/angular.ts 0.0.73 → 0.1.1
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/.github/workflows/types.yml +19 -0
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/animations/animate-css.js +2 -2
- package/src/animations/animate.js +1 -8
- package/src/core/compile/attributes.js +3 -3
- package/src/core/compile/compile.js +432 -368
- package/src/core/interpolate/interpolate.js +14 -10
- package/src/directive/model/model.js +3 -17
- package/src/router/resolve/resolve-context.js +1 -0
- package/src/router/state/state-builder.js +38 -13
- package/src/router/state/state-object.js +12 -22
- package/src/router/state/state-queue-manager.js +1 -1
- package/src/router/state/state-registry.js +2 -1
- package/src/router/transition/transition.js +3 -1
- package/src/router/url/url-rule.js +14 -2
- package/src/router/view/view.spec.js +1 -1
- package/src/shared/predicates.js +3 -0
- package/tsconfig.json +1 -1
- package/types/core/compile/attributes.d.ts +5 -5
- package/types/core/interpolate/interpolate.d.ts +5 -5
- package/types/router/state/state-object.d.ts +12 -9
- package/types/router/state/state-registry.d.ts +2 -2
- package/types/router/transition/transition.d.ts +1 -1
- package/types/router/url/url-rule.d.ts +6 -1
- package/types/shared/predicates.d.ts +2 -0
- package/src/router/injectables.js +0 -263
- package/types/router/injectables.d.ts +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@angular-wave/angular.ts",
|
|
3
3
|
"description": "A modern, optimized and typesafe version of AngularJS",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.1.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/angular-ts.esm.js",
|
|
8
8
|
"browser": "dist/angular-ts.umd.js",
|
|
@@ -391,7 +391,7 @@ export function $AnimateCssProvider() {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
if (!options.$$skipPreparationClasses) {
|
|
394
|
-
element[0].classList.add(preparationClasses);
|
|
394
|
+
element[0].classList.add(preparationClasses.split(" ").filter(x => x !== ""));
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
let applyOnlyDuration;
|
|
@@ -785,7 +785,7 @@ export function $AnimateCssProvider() {
|
|
|
785
785
|
|
|
786
786
|
applyAnimationClasses(element, options);
|
|
787
787
|
|
|
788
|
-
element[0].classList.add(activeClasses);
|
|
788
|
+
element[0].classList.add(activeClasses.split(" ").filter(x => x !== ""));
|
|
789
789
|
if (flags.recalculateTimingStyles) {
|
|
790
790
|
cacheKey = $$animateCache.cacheKey(
|
|
791
791
|
node,
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
forEach,
|
|
3
|
-
isFunction,
|
|
4
|
-
isObject,
|
|
5
|
-
isString,
|
|
6
|
-
minErr,
|
|
7
|
-
extend,
|
|
8
|
-
} from "../shared/utils";
|
|
1
|
+
import { isFunction, isObject, minErr, extend } from "../shared/utils";
|
|
9
2
|
import { JQLite } from "../shared/jqlite/jqlite";
|
|
10
3
|
import { NG_ANIMATE_CLASSNAME } from "./shared";
|
|
11
4
|
|
|
@@ -16,12 +16,12 @@ const SIMPLE_ATTR_NAME = /^\w/;
|
|
|
16
16
|
const specialAttrHolder = window.document.createElement("div");
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* @typedef {Object}
|
|
20
|
-
* @property {
|
|
19
|
+
* @typedef {Object} AttributeLike
|
|
20
|
+
* @property {Object} $attr
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* @extends {
|
|
24
|
+
* @extends {AttributeLike}
|
|
25
25
|
*/
|
|
26
26
|
export class Attributes {
|
|
27
27
|
/**
|