@angular-wave/angular.ts 0.0.62 → 0.0.63
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/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +0 -9
- package/src/animations/animate-css-driver.js +1 -1
- package/src/animations/animate-queue.js +9 -0
- package/src/core/compile/compile.js +0 -33
- package/src/core/compile/compile.spec.js +0 -47
- package/src/core/location/location.js +7 -0
- package/src/directive/init/init.spec.js +2 -2
- package/src/injector.js +7 -0
- package/src/loader.js +99 -660
- package/src/shared/jqlite/jqlite.js +20 -29
- package/src/shared/jqlite/jqlite.md +62 -0
- package/src/shared/min-err.spec.js +1 -2
- package/src/shared/utils.js +36 -2
- package/src/types.js +3 -4
- package/types/animations/animate-css-driver.d.ts +2 -1
- package/types/animations/animate-queue.d.ts +2 -1
- package/types/core/compile/compile.d.ts +0 -1
- package/types/core/location/location.d.ts +2 -1
- package/types/injector.d.ts +7 -7
- package/types/loader.d.ts +64 -136
- package/types/shared/jqlite/jqlite.d.ts +5 -5
- package/types/shared/utils.d.ts +20 -1
- package/types/types.d.ts +3 -3
package/types/shared/utils.d.ts
CHANGED
|
@@ -490,6 +490,11 @@ export function shallowCopy(src: any, dst: any): any;
|
|
|
490
490
|
*/
|
|
491
491
|
export function assertArg(arg: any, name: any, reason: any): any;
|
|
492
492
|
export function assertArgFn(arg: any, name: any, acceptArrayAnnotation: any): any;
|
|
493
|
+
/**
|
|
494
|
+
* @param {ErrorHandlingConfig} [config]
|
|
495
|
+
* @returns {ErrorHandlingConfig}
|
|
496
|
+
*/
|
|
497
|
+
export function errorHandlingConfig(config?: ErrorHandlingConfig): ErrorHandlingConfig;
|
|
493
498
|
/**
|
|
494
499
|
* This object provides a utility for producing rich Error messages within
|
|
495
500
|
* AngularJS. It can be called as follows:
|
|
@@ -543,4 +548,18 @@ export function directiveNormalize(name: any): any;
|
|
|
543
548
|
*/
|
|
544
549
|
export function hasAnimate(node: Node): boolean;
|
|
545
550
|
export const ngAttrPrefixes: string[];
|
|
546
|
-
|
|
551
|
+
/**
|
|
552
|
+
* Error configuration object. May only contain the options that need to be updated.
|
|
553
|
+
*/
|
|
554
|
+
export type ErrorHandlingConfig = {
|
|
555
|
+
/**
|
|
556
|
+
* - The max depth for stringifying objects. Setting to a
|
|
557
|
+
* non-positive or non-numeric value removes the max depth limit. Default: 5.
|
|
558
|
+
*/
|
|
559
|
+
objectMaxDepth?: number | undefined;
|
|
560
|
+
/**
|
|
561
|
+
* - Specifies whether the generated error URL will
|
|
562
|
+
* contain the parameters of the thrown error. Default: true. When used without argument, it returns the current value.
|
|
563
|
+
*/
|
|
564
|
+
urlErrorParamsEnabled?: boolean | undefined;
|
|
565
|
+
};
|
package/types/types.d.ts
CHANGED
|
@@ -429,15 +429,15 @@ export type InjectorService = {
|
|
|
429
429
|
/**
|
|
430
430
|
* - Add and load new modules to the injector.
|
|
431
431
|
*/
|
|
432
|
-
loadNewModules
|
|
432
|
+
loadNewModules?: (arg0: Array<Module | string | Injectable<(...args: any[]) => void>>) => void;
|
|
433
433
|
/**
|
|
434
434
|
* - A map of all the modules loaded into the injector.
|
|
435
435
|
*/
|
|
436
|
-
modules
|
|
436
|
+
modules?: {
|
|
437
437
|
[x: string]: Module;
|
|
438
438
|
};
|
|
439
439
|
/**
|
|
440
440
|
* - Indicates if strict dependency injection is enforced.
|
|
441
441
|
*/
|
|
442
|
-
strictDi
|
|
442
|
+
strictDi?: boolean;
|
|
443
443
|
};
|