@angular-wave/angular.ts 0.6.4 → 0.6.6
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 +2 -1
- package/src/animations/animate-js.js +1 -1
- package/src/animations/animation.js +1 -1
- package/src/core/compile/attributes.js +21 -4
- package/src/core/compile/compile.js +66 -109
- package/src/core/compile/compile.spec.js +14 -13
- package/src/core/controller/controller.js +1 -1
- package/src/core/di/internal-injector.js +1 -1
- package/src/core/exception-handler.js +14 -12
- package/src/core/filter/filter.js +1 -1
- package/src/core/q/q.js +1 -1
- package/src/core/sce/sce.js +1 -1
- package/src/core/scope/scope.js +2 -2
- package/src/core/timeout/timeout.js +1 -1
- package/src/directive/bind/{bing-html.spec.js → bind-html.spec.js} +0 -1
- package/src/directive/bind/bind.html +1 -0
- package/src/directive/channel/channel.js +25 -7
- package/src/directive/channel/channel.spec.js +17 -0
- package/src/directive/events/events.js +1 -1
- package/src/directive/model/model.js +1 -1
- package/src/directive/options/options.spec.js +60 -54
- package/src/directive/setter/setter.js +18 -3
- package/src/directive/setter/setter.spec.js +29 -8
- package/src/loader.js +4 -13
- package/src/router/common/coreservices.js +1 -1
- package/src/router/state/state-registry.js +1 -1
- package/src/router/template-factory.js +8 -7
- package/src/router/url/url-matcher.js +1 -1
- package/src/services/http/http.js +1 -1
- package/src/services/template-request.js +1 -1
- package/types/animations/animate-js.d.ts +1 -1
- package/types/animations/animation.d.ts +1 -1
- package/types/core/compile/compile.d.ts +2 -1
- package/types/core/controller/controller.d.ts +1 -1
- package/types/core/filter/filter.d.ts +1 -1
- package/types/core/q/q.d.ts +1 -1
- package/types/core/sce/sce.d.ts +1 -1
- package/types/core/scope/scope.d.ts +1 -1
- package/types/core/timeout/timeout.d.ts +1 -1
- package/types/directive/channel/channel.d.ts +13 -4
- package/types/directive/model/model.d.ts +8 -8
- package/types/directive/repeat/repeat.d.ts +10 -7
- package/types/loader.d.ts +4 -7
- package/types/router/common/coreservices.d.ts +1 -1
- package/types/router/state/state-registry.d.ts +2 -2
- package/types/router/template-factory.d.ts +2 -2
- package/types/services/http/http.d.ts +1 -1
- package/types/services/template-request.d.ts +1 -1
|
@@ -52,16 +52,16 @@ export class NgModelController {
|
|
|
52
52
|
static $inject: string[];
|
|
53
53
|
/**
|
|
54
54
|
* @param {import('../../core/scope/scope').Scope} $scope
|
|
55
|
-
* @param {import('../../core/exception-handler').ErrorHandler} $exceptionHandler
|
|
55
|
+
* @param {import('../../core/exception-handler.js').ErrorHandler} $exceptionHandler
|
|
56
56
|
* @param {import('../../core/compile/attributes').Attributes} $attr
|
|
57
57
|
* @param {import('../../shared/jqlite/jqlite').JQLite} $element
|
|
58
|
-
* @param {import("../../core/parse/parse").ParseService} $parse
|
|
58
|
+
* @param {import("../../core/parse/parse.js").ParseService} $parse
|
|
59
59
|
* @param {*} $animate
|
|
60
60
|
* @param {*} $timeout
|
|
61
61
|
* @param {import("../../core/q/q").QPromise<any>} $q
|
|
62
62
|
* @param {*} $interpolate
|
|
63
63
|
*/
|
|
64
|
-
constructor($scope: import("../../core/scope/scope").Scope, $exceptionHandler: import("../../core/exception-handler").ErrorHandler, $attr: import("../../core/compile/attributes").Attributes, $element: import("../../shared/jqlite/jqlite").JQLite, $parse: import("../../core/parse/parse").ParseService, $animate: any, $timeout: any, $q: import("../../core/q/q").QPromise<any>, $interpolate: any);
|
|
64
|
+
constructor($scope: import("../../core/scope/scope").Scope, $exceptionHandler: import("../../core/exception-handler.js").ErrorHandler, $attr: import("../../core/compile/attributes").Attributes, $element: import("../../shared/jqlite/jqlite").JQLite, $parse: import("../../core/parse/parse.js").ParseService, $animate: any, $timeout: any, $q: import("../../core/q/q").QPromise<any>, $interpolate: any);
|
|
65
65
|
/** @type {any} The actual value from the control's view */
|
|
66
66
|
$viewValue: any;
|
|
67
67
|
/** @type {any} The value in the model that the control is bound to. */
|
|
@@ -108,10 +108,10 @@ export class NgModelController {
|
|
|
108
108
|
};
|
|
109
109
|
$$updateEvents: string;
|
|
110
110
|
$$updateEventHandler(ev: any): void;
|
|
111
|
-
$$parsedNgModel: import("../../core/parse/parse").CompiledExpression;
|
|
111
|
+
$$parsedNgModel: import("../../core/parse/parse.js").CompiledExpression;
|
|
112
112
|
$$parsedNgModelAssign: (arg0: any, arg1: any) => any;
|
|
113
|
-
/** @type {import("../../core/parse/parse").CompiledExpression|((Scope) => any)} */
|
|
114
|
-
$$ngModelGet: import("../../core/parse/parse").CompiledExpression | ((Scope: any) => any);
|
|
113
|
+
/** @type {import("../../core/parse/parse.js").CompiledExpression|((Scope) => any)} */
|
|
114
|
+
$$ngModelGet: import("../../core/parse/parse.js").CompiledExpression | ((Scope: any) => any);
|
|
115
115
|
$$ngModelSet: (arg0: any, arg1: any) => any;
|
|
116
116
|
$$pendingDebounce: any;
|
|
117
117
|
$$parserValid: boolean;
|
|
@@ -127,9 +127,9 @@ export class NgModelController {
|
|
|
127
127
|
$$element: import("../../shared/jqlite/jqlite.js").JQLite;
|
|
128
128
|
$$animate: any;
|
|
129
129
|
$$timeout: any;
|
|
130
|
-
$$parse: import("../../core/parse/parse").ParseService;
|
|
130
|
+
$$parse: import("../../core/parse/parse.js").ParseService;
|
|
131
131
|
$q: import("../../core/q/q").QPromise<any>;
|
|
132
|
-
$$exceptionHandler: import("../../core/exception-handler").ErrorHandler;
|
|
132
|
+
$$exceptionHandler: import("../../core/exception-handler.js").ErrorHandler;
|
|
133
133
|
$$hasNativeValidators: boolean;
|
|
134
134
|
set(object: any, property: any): void;
|
|
135
135
|
unset(object: any, property: any): void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {import("../../core/parse/parse.js").ParseService} $parse
|
|
4
|
+
* @param {*} $animate
|
|
5
|
+
* @returns {import("../../types.js").Directive}
|
|
6
|
+
*/
|
|
7
|
+
export function ngRepeatDirective($parse: import("../../core/parse/parse.js").ParseService, $animate: any): import("../../types.js").Directive;
|
|
8
|
+
export namespace ngRepeatDirective {
|
|
9
|
+
let $inject: string[];
|
|
10
|
+
}
|
package/types/loader.d.ts
CHANGED
|
@@ -6,17 +6,15 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export class Angular {
|
|
8
8
|
/** @type {Map<number, import("./core/cache/cache").ExpandoStore>} */
|
|
9
|
-
|
|
9
|
+
Cache: Map<number, import("./core/cache/cache").ExpandoStore>;
|
|
10
10
|
/** @type {import('./core/pubsub/pubsub.js').PubSub} */
|
|
11
|
-
|
|
11
|
+
EventBus: import("./core/pubsub/pubsub.js").PubSub;
|
|
12
12
|
/** @type {string} */
|
|
13
13
|
version: string;
|
|
14
14
|
/** @type {typeof import('./shared/jqlite/jqlite').JQLite} */
|
|
15
15
|
element: typeof import("./shared/jqlite/jqlite").JQLite;
|
|
16
16
|
/** @type {!Array<string|any>} */
|
|
17
17
|
bootsrappedModules: Array<string | any>;
|
|
18
|
-
/** @type {Function} */
|
|
19
|
-
doBootstrap: Function;
|
|
20
18
|
/**
|
|
21
19
|
* Configure several aspects of error handling if used as a setter or return the
|
|
22
20
|
* current configuration if used as a getter.
|
|
@@ -80,10 +78,9 @@ export class Angular {
|
|
|
80
78
|
*
|
|
81
79
|
* @param {any[]} modules
|
|
82
80
|
* @param {boolean?} strictDi
|
|
83
|
-
* @returns {import("./core/di/internal-injector").InjectorService}
|
|
81
|
+
* @returns {import("./core/di/internal-injector.js").InjectorService}
|
|
84
82
|
*/
|
|
85
|
-
injector(modules: any[], strictDi: boolean | null): import("./core/di/internal-injector").InjectorService;
|
|
86
|
-
resumeBootstrap(extraModules: any): any;
|
|
83
|
+
injector(modules: any[], strictDi: boolean | null): import("./core/di/internal-injector.js").InjectorService;
|
|
87
84
|
/**
|
|
88
85
|
* @param {Element|Document} element
|
|
89
86
|
*/
|
|
@@ -9,12 +9,12 @@ export class StateRegistryProvider {
|
|
|
9
9
|
states: {};
|
|
10
10
|
urlService: any;
|
|
11
11
|
urlServiceRules: any;
|
|
12
|
-
$injector: import("../../core/di/internal-injector").InjectorService;
|
|
12
|
+
$injector: import("../../core/di/internal-injector.js").InjectorService;
|
|
13
13
|
listeners: any[];
|
|
14
14
|
matcher: StateMatcher;
|
|
15
15
|
builder: StateBuilder;
|
|
16
16
|
stateQueue: StateQueueManager;
|
|
17
|
-
$get: (string | (($injector: import("../../core/di/internal-injector").InjectorService) => this))[];
|
|
17
|
+
$get: (string | (($injector: import("../../core/di/internal-injector.js").InjectorService) => this))[];
|
|
18
18
|
/**
|
|
19
19
|
* This is a [[StateBuilder.builder]] function for angular1 `onEnter`, `onExit`,
|
|
20
20
|
* `onRetain` callback hooks on a [[Ng1StateDeclaration]].
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
export class TemplateFactoryProvider {
|
|
10
10
|
/** @type {boolean} */
|
|
11
11
|
_useHttp: boolean;
|
|
12
|
-
$get: (string | (($http: any, $templateCache: import("../core/cache/cache-factory").TemplateCache, $templateRequest: any, $q: any, $injector: import("../core/di/internal-injector").InjectorService) => this))[];
|
|
12
|
+
$get: (string | (($http: any, $templateCache: import("../core/cache/cache-factory").TemplateCache, $templateRequest: any, $q: any, $injector: import("../core/di/internal-injector.js").InjectorService) => this))[];
|
|
13
13
|
$templateRequest: any;
|
|
14
14
|
$http: any;
|
|
15
15
|
$templateCache: import("../core/cache/cache-factory").TemplateCache;
|
|
16
16
|
$q: any;
|
|
17
|
-
$injector: import("../core/di/internal-injector").InjectorService;
|
|
17
|
+
$injector: import("../core/di/internal-injector.js").InjectorService;
|
|
18
18
|
/**
|
|
19
19
|
* Forces the provider to use $http service directly
|
|
20
20
|
* @param {boolean} value
|
|
@@ -52,7 +52,7 @@ export class HttpProvider {
|
|
|
52
52
|
useApplyAsync: (value?: boolean | undefined) => boolean | any;
|
|
53
53
|
interceptors: any[];
|
|
54
54
|
xsrfTrustedOrigins: any[];
|
|
55
|
-
$get: (string | (($browser: any, $httpBackend: any, $rootScope: any, $q: any, $injector: import("../../core/di/internal-injector").InjectorService, $sce: any) => {
|
|
55
|
+
$get: (string | (($browser: any, $httpBackend: any, $rootScope: any, $q: any, $injector: import("../../core/di/internal-injector.js").InjectorService, $sce: any) => {
|
|
56
56
|
(requestConfig: any): any;
|
|
57
57
|
pendingRequests: any[];
|
|
58
58
|
/**
|
|
@@ -40,7 +40,7 @@ export class TemplateRequestProvider {
|
|
|
40
40
|
*
|
|
41
41
|
* @property {number} totalPendingRequests total amount of pending template requests being downloaded.
|
|
42
42
|
*/
|
|
43
|
-
$get: (string | (($exceptionHandler: import("../core/exception-handler").ErrorHandler, $templateCache: import("../core/cache/cache-factory").TemplateCache, $http: any, $q: any, $sce: any) => {
|
|
43
|
+
$get: (string | (($exceptionHandler: import("../core/exception-handler.js").ErrorHandler, $templateCache: import("../core/cache/cache-factory").TemplateCache, $http: any, $q: any, $sce: any) => {
|
|
44
44
|
(tpl: any, ignoreRequestError: any): any;
|
|
45
45
|
totalPendingRequests: number;
|
|
46
46
|
}))[];
|