@angular-wave/angular.ts 0.6.3 → 0.6.5
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 +2 -2
- package/src/animations/animate-children-directive.js +1 -1
- package/src/animations/animate-css-driver.js +2 -2
- package/src/animations/animate-css.js +1 -1
- package/src/animations/animate-js.js +2 -2
- package/src/animations/animate-queue.js +2 -2
- package/src/animations/animate.js +2 -2
- package/src/animations/animate.spec.js +3 -3
- package/src/animations/animation.js +3 -3
- package/src/binding.spec.js +1 -1
- package/src/core/cache/cache.js +1 -1
- package/src/core/compile/attributes.js +24 -7
- package/src/core/compile/compile.js +79 -249
- package/src/core/compile/compile.md +0 -8
- package/src/core/compile/compile.spec.js +38 -640
- package/src/core/controller/controller.js +2 -2
- package/src/core/di/injector.js +1 -1
- package/src/core/di/injector.spec.js +1 -1
- package/src/core/di/internal-injector.js +2 -2
- package/src/core/di/ng-module.js +1 -1
- package/src/core/filter/filter.js +2 -2
- package/src/core/interpolate/interpolate.js +1 -1
- package/src/core/interval/interval-factory.js +1 -1
- package/src/core/interval/interval.js +1 -1
- package/src/core/location/location.js +3 -3
- package/src/core/on.spec.js +1 -1
- package/src/core/parse/interpreter.js +1 -1
- package/src/core/prop.spec.js +2 -2
- package/src/core/q/q.js +2 -2
- package/src/core/root-element.spec.js +1 -1
- package/src/core/sanitize/sanitize-uri.js +1 -1
- package/src/core/sce/sce.js +3 -3
- package/src/core/sce/sce.spec.js +1 -1
- package/src/core/scope/scope.js +3 -3
- package/src/core/scope/scope.spec.js +1 -1
- package/src/core/timeout/timeout.js +2 -2
- package/src/core/url-utils/url-utils.js +1 -1
- package/src/directive/aria/aria.js +1 -1
- package/src/directive/aria/aria.spec.js +1 -1
- package/src/directive/attrs/attrs.js +3 -3
- package/src/directive/attrs/attrs.spec.js +1 -1
- package/src/directive/attrs/boolean.spec.js +1 -1
- package/src/directive/attrs/element-style.spec.js +1 -1
- package/src/directive/attrs/src.spec.js +1 -1
- package/src/directive/bind/bind.js +1 -1
- package/src/directive/bind/bind.spec.js +1 -1
- package/src/directive/bind/bing-html.spec.js +1 -1
- package/src/directive/change/change.spec.js +1 -1
- package/src/directive/channel/channel.js +25 -7
- package/src/directive/channel/channel.spec.js +17 -0
- package/src/directive/class/class.js +1 -1
- package/src/directive/class/class.spec.js +2 -2
- package/src/directive/cloak/cloak.spec.js +1 -1
- package/src/directive/controller/controller.spec.js +2 -2
- package/src/directive/events/click.spec.js +1 -1
- package/src/directive/events/event.spec.js +1 -1
- package/src/directive/events/events.js +3 -3
- package/src/directive/form/form.js +2 -2
- package/src/directive/form/form.spec.js +1 -1
- package/src/directive/if/if.js +2 -3
- package/src/directive/if/if.md +0 -1
- package/src/directive/if/if.spec.js +2 -2
- package/src/directive/include/include.js +3 -3
- package/src/directive/include/include.spec.js +2 -2
- package/src/directive/init/init.spec.js +1 -1
- package/src/directive/input/input.js +1 -1
- package/src/directive/input/input.spec.js +1 -1
- package/src/directive/messages/messages.js +1 -1
- package/src/directive/messages/messages.spec.js +3 -3
- package/src/directive/model/model.js +7 -7
- package/src/directive/model/model.spec.js +2 -2
- package/src/directive/model-options/model-options.js +1 -1
- package/src/directive/model-options/model-options.spec.js +2 -2
- package/src/directive/non-bindable/non-bindable.spec.js +1 -1
- package/src/directive/observe/observe.spec.js +1 -1
- package/src/directive/options/options.js +6 -2
- package/src/directive/options/options.spec.js +2 -2
- package/src/directive/ref/href.spec.js +2 -2
- package/src/directive/ref/ref.js +1 -1
- package/src/directive/repeat/repeat.js +263 -255
- package/src/directive/repeat/repeat.md +0 -22
- package/src/directive/repeat/repeat.spec.js +2 -115
- package/src/directive/script/script.spec.js +1 -1
- package/src/directive/select/select.js +2 -2
- package/src/directive/select/select.spec.js +2 -2
- package/src/directive/show-hide/show-hide.js +1 -3
- package/src/directive/show-hide/show-hide.md +0 -2
- package/src/directive/show-hide/show-hide.spec.js +1 -1
- package/src/directive/style/style.spec.js +1 -1
- package/src/directive/switch/switch.js +2 -4
- package/src/directive/switch/switch.spec.js +1 -51
- package/src/directive/transclude/transclude.js +2 -2
- package/src/directive/validators/validators.js +2 -2
- package/src/directive/validators/validators.spec.js +1 -1
- package/src/filters/filter.js +1 -1
- package/src/filters/filter.spec.js +2 -2
- package/src/filters/filters.js +1 -1
- package/src/filters/filters.spec.js +1 -1
- package/src/filters/limit-to.js +1 -1
- package/src/filters/limit-to.spec.js +1 -1
- package/src/filters/order-by.js +1 -1
- package/src/index.js +3 -9
- package/src/loader.js +12 -16
- package/src/router/common/coreservices.js +1 -1
- package/src/router/common/trace.js +1 -1
- package/src/router/directives/state-directives.js +1 -1
- package/src/router/directives/state-directives.spec.js +1 -1
- package/src/router/directives/view-directive.js +2 -2
- package/src/router/directives/view-directive.spec.js +1 -1
- package/src/router/hooks/redirect-to.js +1 -1
- package/src/router/params/param-type.js +1 -1
- package/src/router/params/param-types.js +1 -1
- package/src/router/params/param.js +1 -1
- package/src/router/resolve/resolvable.js +1 -1
- package/src/router/resolve/resolve-context.js +1 -1
- package/src/router/state/state-builder.js +1 -1
- package/src/router/state/state-matcher.js +1 -1
- package/src/router/state/state-object.js +1 -1
- package/src/router/state/state-queue-manager.js +1 -1
- package/src/router/state/state-registry.js +2 -2
- package/src/router/state/state-service.js +1 -1
- package/src/router/state/state.spec.js +2 -2
- package/src/router/state/target-state.js +1 -1
- package/src/router/state/views.js +1 -1
- package/src/router/state-provider.js +1 -1
- package/src/router/template-factory.js +9 -8
- package/src/router/template-factory.spec.js +1 -1
- package/src/router/transition/hook-registry.js +1 -1
- package/src/router/transition/transition-service.js +1 -1
- package/src/router/transition/transition.js +1 -1
- package/src/router/url/url-config.js +1 -1
- package/src/router/url/url-matcher.js +2 -2
- package/src/router/url/url-rule.js +1 -1
- package/src/router/url/url-rules.js +1 -1
- package/src/router/url/url-service.js +6 -1
- package/src/router/url/url-service.spec.js +1 -1
- package/src/router/view/view.spec.js +1 -1
- package/src/router/view-hook.spec.js +1 -1
- package/src/router/view-scroll.spec.js +1 -1
- package/src/services/anchor-scroll.js +1 -1
- package/src/services/browser.js +2 -2
- package/src/services/cookie-reader.js +1 -1
- package/src/services/http/http.js +3 -3
- package/src/services/http/http.spec.js +1 -1
- package/src/services/http-backend/http-backend.js +1 -1
- package/src/services/log.js +1 -1
- package/src/services/template-request.js +2 -2
- package/src/shared/common.js +1 -1
- package/src/shared/jqlite/jqlite.js +9 -9
- package/src/shared/jqlite/jqlite.spec.js +11 -11
- package/src/shared/min-err.spec.js +6 -1
- package/src/shared/predicates.js +1 -1
- package/src/shared/strings.js +1 -1
- package/src/shared/test-utils.js +1 -1
- package/src/shared/utils.js +1 -1
- package/src/shared/utils.spec.js +1 -1
- package/src/types.js +0 -2
- package/types/animations/animate-css-driver.d.ts +1 -1
- package/types/animations/animate-js.d.ts +1 -1
- package/types/animations/animate.d.ts +1 -1
- package/types/animations/animation.d.ts +1 -1
- package/types/core/cache/cache.d.ts +1 -1
- package/types/core/compile/attributes.d.ts +2 -2
- package/types/core/compile/compile.d.ts +3 -2
- package/types/core/controller/controller.d.ts +1 -1
- package/types/core/filter/filter.d.ts +1 -1
- package/types/core/location/location.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 +9 -9
- package/types/directive/repeat/repeat.d.ts +10 -8
- package/types/loader.d.ts +5 -6
- 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/browser.d.ts +1 -1
- package/types/services/http/http.d.ts +1 -1
- package/types/services/template-request.d.ts +1 -1
- package/types/shared/jqlite/jqlite.d.ts +1 -1
- package/types/shared/test-utils.d.ts +1 -1
- package/types/types.d.ts +1 -5
|
@@ -2,7 +2,7 @@ export function FilterProvider($provide: any): void;
|
|
|
2
2
|
export class FilterProvider {
|
|
3
3
|
constructor($provide: any);
|
|
4
4
|
register: (name: any, factory: any) => any;
|
|
5
|
-
$get: (string | (($injector: import("../../core/di/internal-injector").InjectorService) => (name: any) => any))[];
|
|
5
|
+
$get: (string | (($injector: import("../../core/di/internal-injector.js").InjectorService) => (name: any) => any))[];
|
|
6
6
|
}
|
|
7
7
|
export namespace FilterProvider {
|
|
8
8
|
let $inject: string[];
|
package/types/core/q/q.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export function markQExceptionHandled(q: any): void;
|
|
|
41
41
|
*/
|
|
42
42
|
export class $QProvider {
|
|
43
43
|
errorOn: boolean;
|
|
44
|
-
$get: (string | (($rootScope: import("../scope/scope").Scope, $exceptionHandler: import("../exception-handler").ErrorHandler) => any))[];
|
|
44
|
+
$get: (string | (($rootScope: import("../scope/scope").Scope, $exceptionHandler: import("../exception-handler.js").ErrorHandler) => any))[];
|
|
45
45
|
/**
|
|
46
46
|
* Retrieves or overrides whether to generate an error when a rejected promise is not handled.
|
|
47
47
|
* This feature is enabled by default.
|
package/types/core/sce/sce.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export class SceDelegateProvider {
|
|
|
133
133
|
* array (i.e. there is no `bannedResourceUrlList`.)
|
|
134
134
|
*/
|
|
135
135
|
bannedResourceUrlList: (value: any, ...args: any[]) => any[];
|
|
136
|
-
$get: (string | (($injector: import("../../core/di/internal-injector").InjectorService, $$sanitizeUri: any) => {
|
|
136
|
+
$get: (string | (($injector: import("../../core/di/internal-injector.js").InjectorService, $$sanitizeUri: any) => {
|
|
137
137
|
trustAs: (type: string, trustedValue: any) => any;
|
|
138
138
|
getTrusted: (type: string, maybeTrusted: any) => any;
|
|
139
139
|
valueOf: (maybeTrusted: any) => any;
|
|
@@ -74,7 +74,7 @@ export const $$applyAsyncQueue: Function[];
|
|
|
74
74
|
*/
|
|
75
75
|
export class RootScopeProvider {
|
|
76
76
|
rootScope: Scope;
|
|
77
|
-
$get: (string | ((exceptionHandler: import("../exception-handler").ErrorHandler, parse: import("../parse/parse").ParseService, browser: import("../../services/browser").Browser) => Scope))[];
|
|
77
|
+
$get: (string | ((exceptionHandler: import("../exception-handler.js").ErrorHandler, parse: import("../parse/parse").ParseService, browser: import("../../services/browser").Browser) => Scope))[];
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* DESIGN NOTES
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class TimeoutProvider {
|
|
2
|
-
$get: (string | (($rootScope: import("../scope/scope").Scope, $browser: import("../../services/browser").Browser, $q: any, $exceptionHandler: import("../exception-handler").ErrorHandler) => {
|
|
2
|
+
$get: (string | (($rootScope: import("../scope/scope").Scope, $browser: import("../../services/browser").Browser, $q: any, $exceptionHandler: import("../exception-handler.js").ErrorHandler) => {
|
|
3
3
|
(fn?: (() => any) | undefined, delay?: number | undefined, invokeApply?: boolean, ...args: any[]): import("../q/q").QPromise<any>;
|
|
4
4
|
/**
|
|
5
5
|
* Cancels a task associated with the `promise`. As a result of this, the promise will be
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Dynamically updates an element's content based on events published on a specified channel.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* If data is sent via `EventBus` on the specified `ngChannel`, the directive attempts to update the element's content accordingly,
|
|
4
|
+
* either by directly setting the inner HTML or merging the scope's data if the element contains a template.
|
|
5
|
+
*
|
|
6
|
+
* If the element has a template and incoming data is an object, the directive will merge all key/value pairs onto the scope,
|
|
7
|
+
* allowing Angular expressions (`{{ yourModel }}`) to be evaluated and rendered.
|
|
5
8
|
*
|
|
6
9
|
* When the scope is destroyed, the directive automatically unsubscribes from the channel.
|
|
10
|
+
* Example:
|
|
11
|
+
*
|
|
12
|
+
* HTML:
|
|
13
|
+
* <div ng-channel="userChannel">Hello {{ user.firstName }} {{ user.lastName }}</div>
|
|
7
14
|
*
|
|
15
|
+
* JavaScript:
|
|
16
|
+
* angular.EventBus.publish('userChannel', { user: { firstName: 'John', lastName: 'Smith' } });
|
|
8
17
|
*
|
|
9
|
-
* @returns {import("../../types").Directive}
|
|
18
|
+
* @returns {import("../../types.js").Directive}
|
|
10
19
|
*/
|
|
11
|
-
export function ngChannelDirective(): import("../../types").Directive;
|
|
20
|
+
export function ngChannelDirective(): import("../../types.js").Directive;
|
|
@@ -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;
|
|
@@ -124,12 +124,12 @@ export class NgModelController {
|
|
|
124
124
|
/** @type {import('../../core/scope/scope.js').Scope} */
|
|
125
125
|
$$rootScope: import("../../core/scope/scope.js").Scope;
|
|
126
126
|
$$attr: import("../../core/compile/attributes").Attributes;
|
|
127
|
-
$$element: import("../../shared/jqlite/jqlite").JQLite;
|
|
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,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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,15 +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
|
+
/** @type {import('./core/pubsub/pubsub.js').PubSub} */
|
|
11
|
+
EventBus: import("./core/pubsub/pubsub.js").PubSub;
|
|
10
12
|
/** @type {string} */
|
|
11
13
|
version: string;
|
|
12
14
|
/** @type {typeof import('./shared/jqlite/jqlite').JQLite} */
|
|
13
15
|
element: typeof import("./shared/jqlite/jqlite").JQLite;
|
|
14
16
|
/** @type {!Array<string|any>} */
|
|
15
17
|
bootsrappedModules: Array<string | any>;
|
|
16
|
-
/** @type {Function} */
|
|
17
|
-
doBootstrap: Function;
|
|
18
18
|
/**
|
|
19
19
|
* Configure several aspects of error handling if used as a setter or return the
|
|
20
20
|
* current configuration if used as a getter.
|
|
@@ -78,10 +78,9 @@ export class Angular {
|
|
|
78
78
|
*
|
|
79
79
|
* @param {any[]} modules
|
|
80
80
|
* @param {boolean?} strictDi
|
|
81
|
-
* @returns {import("./core/di/internal-injector").InjectorService}
|
|
81
|
+
* @returns {import("./core/di/internal-injector.js").InjectorService}
|
|
82
82
|
*/
|
|
83
|
-
injector(modules: any[], strictDi: boolean | null): import("./core/di/internal-injector").InjectorService;
|
|
84
|
-
resumeBootstrap(extraModules: any): any;
|
|
83
|
+
injector(modules: any[], strictDi: boolean | null): import("./core/di/internal-injector.js").InjectorService;
|
|
85
84
|
/**
|
|
86
85
|
* @param {Element|Document} element
|
|
87
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
|
|
@@ -108,4 +108,4 @@ export class BrowserProvider {
|
|
|
108
108
|
$get: (string | (($$taskTrackerFactory: import("../core/task-tracker-factory").TaskTracker) => Browser))[];
|
|
109
109
|
}
|
|
110
110
|
export type UrlChangeListener = (arg0: string, arg1: string | null) => any;
|
|
111
|
-
import { JQLite } from "../shared/jqlite/jqlite";
|
|
111
|
+
import { JQLite } from "../shared/jqlite/jqlite.js";
|
|
@@ -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
|
}))[];
|
|
@@ -20,7 +20,7 @@ export class JQLite {
|
|
|
20
20
|
*/
|
|
21
21
|
elements(): Element[];
|
|
22
22
|
/**
|
|
23
|
-
* Remove all child nodes of the set of matched elements from the DOM and clears
|
|
23
|
+
* Remove all child nodes of the set of matched elements from the DOM and clears Cache data, associated with the node.
|
|
24
24
|
* @returns {JQLite} The current instance of JQLite.
|
|
25
25
|
*/
|
|
26
26
|
empty(): JQLite;
|
package/types/types.d.ts
CHANGED
|
@@ -148,14 +148,10 @@ export type Directive = {
|
|
|
148
148
|
bindToController?: boolean | {
|
|
149
149
|
[boundProperty: string]: string;
|
|
150
150
|
} | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* Link function.
|
|
153
|
-
*/
|
|
154
|
-
link?: DirectiveLinkFn | DirectivePrePost | undefined;
|
|
155
151
|
/**
|
|
156
152
|
* Multi-element directive flag.
|
|
157
153
|
*/
|
|
158
|
-
|
|
154
|
+
link?: DirectiveLinkFn | DirectivePrePost | undefined;
|
|
159
155
|
/**
|
|
160
156
|
* Skip all directives on element
|
|
161
157
|
*/
|