@angular-wave/angular.ts 0.11.0 → 0.13.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.
Files changed (58) hide show
  1. package/@types/angular.d.ts +66 -53
  2. package/@types/animations/animate.d.ts +1 -351
  3. package/@types/animations/animation.d.ts +2 -2
  4. package/@types/animations/interface.d.ts +72 -0
  5. package/@types/animations/{animate-queue.d.ts → queue/animate-queue.d.ts} +2 -7
  6. package/@types/animations/queue/interface.d.ts +50 -0
  7. package/@types/animations/raf-scheduler.d.ts +1 -3
  8. package/@types/core/compile/attributes.d.ts +6 -6
  9. package/@types/core/compile/compile.d.ts +6 -6
  10. package/@types/core/controller/controller.d.ts +1 -1
  11. package/@types/core/di/di.d.ts +26 -0
  12. package/@types/core/di/injector.d.ts +0 -11
  13. package/@types/core/di/internal-injector.d.ts +2 -2
  14. package/@types/core/di/ng-module/ng-module.d.ts +209 -0
  15. package/@types/core/sanitize/interface.d.ts +8 -0
  16. package/@types/core/sanitize/sanitize-uri.d.ts +5 -2
  17. package/@types/core/scope/interface.d.ts +2 -2
  18. package/@types/core/scope/scope.d.ts +5 -2
  19. package/@types/directive/bind/bind.d.ts +2 -2
  20. package/@types/directive/form/form.d.ts +7 -7
  21. package/@types/directive/if/if.d.ts +2 -2
  22. package/@types/directive/include/include.d.ts +8 -8
  23. package/@types/directive/messages/messages.d.ts +18 -22
  24. package/@types/directive/model/model.d.ts +17 -17
  25. package/@types/directive/options/options.d.ts +4 -4
  26. package/@types/directive/scope/scope.d.ts +4 -0
  27. package/@types/directive/show-hide/show-hide.d.ts +3 -4
  28. package/@types/directive/switch/switch.d.ts +3 -5
  29. package/@types/directive/wasm/wasm.d.ts +4 -0
  30. package/@types/{services → directive}/worker/interface.d.ts +1 -0
  31. package/@types/directive/worker/worker.d.ts +18 -8
  32. package/@types/interface.d.ts +76 -15
  33. package/@types/namespace.d.ts +49 -6
  34. package/@types/router/url/url-service.d.ts +1 -4
  35. package/@types/services/cookie/cookie.d.ts +78 -0
  36. package/@types/services/cookie/interface.d.ts +12 -0
  37. package/@types/services/exception/exception.d.ts +56 -0
  38. package/@types/services/exception/interface.d.ts +2 -3
  39. package/@types/services/log/log.d.ts +2 -2
  40. package/@types/services/rest/interface.d.ts +17 -0
  41. package/@types/services/rest/rest.d.ts +110 -0
  42. package/@types/services/rest/rfc.d.ts +40 -0
  43. package/@types/services/sce/sce.d.ts +4 -82
  44. package/@types/services/sse/sse.d.ts +1 -5
  45. package/@types/services/storage/interface.d.ts +6 -0
  46. package/@types/services/storage/storage.d.ts +19 -0
  47. package/@types/services/stream/interface.d.ts +18 -0
  48. package/@types/shared/dom.d.ts +27 -14
  49. package/@types/shared/strings.d.ts +0 -6
  50. package/@types/shared/utils.d.ts +27 -14
  51. package/README.md +3 -90
  52. package/dist/angular-ts.esm.js +2539 -1542
  53. package/dist/angular-ts.umd.js +2539 -1542
  54. package/dist/angular-ts.umd.min.js +1 -1
  55. package/package.json +1 -1
  56. package/@types/core/di/ng-module.d.ts +0 -156
  57. package/@types/services/exception/exception-handler.d.ts +0 -58
  58. package/@types/services/worker/worker.d.ts +0 -31
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * @typedef {import('./interface.ts').RafScheduler} RafScheduler
3
- * @typedef {import('../interface.ts').ServiceProvider} ServiceProvider
4
3
  */
5
4
  /**
6
5
  * Service provider that creates a requestAnimationFrame-based scheduler.
7
- * @type {ServiceProvider}
6
+ * @type {ng.ServiceProvider}
8
7
  */
9
8
  export class RafSchedulerProvider {
10
9
  /**
@@ -34,4 +33,3 @@ export class RafSchedulerProvider {
34
33
  $get(): RafScheduler;
35
34
  }
36
35
  export type RafScheduler = import("./interface.ts").RafScheduler;
37
- export type ServiceProvider = import("../interface.ts").ServiceProvider;
@@ -1,24 +1,24 @@
1
1
  export class Attributes {
2
2
  static $nonscope: boolean;
3
3
  /**
4
- * @param {ng.Scope} $rootScope
5
- * @param {*} $animate
4
+ * @param {ng.RootScopeService} $rootScope
5
+ * @param {ng.AnimateService} $animate
6
6
  * @param {ng.ExceptionHandlerService} $exceptionHandler
7
7
  * @param {*} $sce
8
8
  * @param {import("../../shared/noderef.js").NodeRef} [nodeRef]
9
9
  * @param {Object} [attributesToCopy]
10
10
  */
11
11
  constructor(
12
- $rootScope: ng.Scope,
13
- $animate: any,
12
+ $rootScope: ng.RootScopeService,
13
+ $animate: ng.AnimateService,
14
14
  $exceptionHandler: ng.ExceptionHandlerService,
15
15
  $sce: any,
16
16
  nodeRef?: import("../../shared/noderef.js").NodeRef,
17
17
  attributesToCopy?: any,
18
18
  );
19
19
  $rootScope: import("../scope/scope.js").Scope;
20
- $animate: any;
21
- $exceptionHandler: import("../../services/exception/interface.ts").ErrorHandler;
20
+ $animate: import("../../interface.ts").AnimateService;
21
+ $exceptionHandler: import("../../interface.ts").ExceptionHandler;
22
22
  $sce: any;
23
23
  $attr: {};
24
24
  /** @type {import("../../shared/noderef.js").NodeRef} */
@@ -124,15 +124,15 @@ export class CompileProvider {
124
124
  $get: (
125
125
  | string
126
126
  | ((
127
- $injector: import("../../core/di/internal-injector.js").InjectorService,
127
+ $injector: ng.InjectorService,
128
128
  $interpolate: any,
129
- $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
130
- $templateRequest: any,
131
- $parse: import("../parse/interface.ts").ParseService,
129
+ $exceptionHandler: ng.ExceptionHandlerService,
130
+ $templateRequest: ng.TemplateRequestService,
131
+ $parse: ng.ParseService,
132
132
  $controller: any,
133
- $rootScope: import("../scope/scope.js").Scope,
133
+ $rootScope: ng.Scope,
134
134
  $sce: any,
135
- $animate: any,
135
+ $animate: ng.AnimateService,
136
136
  ) => (
137
137
  compileNode: string | Element | Node | ChildNode | NodeList,
138
138
  transcludeFn?: import("./inteface.ts").TranscludeFn,
@@ -34,7 +34,7 @@ export class ControllerProvider {
34
34
  $get: (
35
35
  | string
36
36
  | ((
37
- $injector: import("../../core/di/internal-injector.js").InjectorService,
37
+ $injector: ng.InjectorService,
38
38
  ) => import("./interface.ts").ControllerService)
39
39
  )[];
40
40
  /**
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @param {Function} fn
3
+ * @returns {string}
4
+ */
5
+ export function stringifyFn(fn: Function): string;
6
+ /**
7
+ * @param {Function} fn
8
+ * @returns {Array<any>}
9
+ */
10
+ export function extractArgs(fn: Function): Array<any>;
11
+ /**
12
+ * @param {Function} func
13
+ * @returns {boolean}
14
+ */
15
+ export function isClass(func: Function): boolean;
16
+ /**
17
+ * @param {any} fn
18
+ * @param {boolean} [strictDi]
19
+ * @param {string} [name]
20
+ * @returns {Array<string>}
21
+ */
22
+ export function annotate(
23
+ fn: any,
24
+ strictDi?: boolean,
25
+ name?: string,
26
+ ): Array<string>;
@@ -8,15 +8,4 @@ export function createInjector(
8
8
  modulesToLoad: Array<string | Function>,
9
9
  strictDi?: boolean,
10
10
  ): InjectorService;
11
- /**
12
- * @param {any} fn
13
- * @param {boolean} [strictDi]
14
- * @param {String} [name]
15
- * @returns {Array<string>}
16
- */
17
- export function annotate(
18
- fn: any,
19
- strictDi?: boolean,
20
- name?: string,
21
- ): Array<string>;
22
11
  import { InjectorService } from "./internal-injector.js";
@@ -45,9 +45,9 @@ declare class AbstractInjector {
45
45
  strictDi: boolean;
46
46
  /** @type {string[]} */
47
47
  path: string[];
48
- /** @type {Object.<string, import("./ng-module.js").NgModule>} */
48
+ /** @type {Object.<string, ng.NgModule>} */
49
49
  modules: {
50
- [x: string]: import("./ng-module.js").NgModule;
50
+ [x: string]: import("./ng-module/ng-module.js").NgModule;
51
51
  };
52
52
  /**
53
53
  * Get a service by name.
@@ -0,0 +1,209 @@
1
+ /** @private */
2
+ export const INJECTOR_LITERAL: "$injector";
3
+ /** @private */
4
+ export const COMPILE_LITERAL: "$compileProvider";
5
+ /** @private */
6
+ export const ANIMATION_LITERAL: "$animateProvider";
7
+ /** @private */
8
+ export const FILTER_LITERAL: "$filterProvider";
9
+ /** @private */
10
+ export const CONTROLLER_LITERAL: "$controllerProvider";
11
+ /**
12
+ * Modules are collections of application configuration information for components:
13
+ * controllers, directives, filters, etc. They provide recipes for the injector
14
+ * to do the actual instantiation. A module itself has no behaviour but only state.
15
+ * A such, it acts as a data structure between the Angular instance and the injector service.
16
+ *
17
+ * Since this is an internal structure that is exposed only via the Angular instance,
18
+ * it contains no validation of the items it receives. It is up to the instantiator on
19
+ * modules to do the actual validation.
20
+ */
21
+ export class NgModule {
22
+ /**
23
+ * @param {string} name - Name of the module
24
+ * @param {Array<string>} requires - List of modules which the injector will load before the current module
25
+ * @param {ng.Injectable<any>} [configFn]
26
+ */
27
+ constructor(
28
+ name: string,
29
+ requires: Array<string>,
30
+ configFn?: ng.Injectable<any>,
31
+ );
32
+ /**
33
+ * Name of the current module.
34
+ * @type {string}
35
+ */
36
+ name: string;
37
+ /**
38
+ * Array of module names that this module depends on.
39
+ * @type {string[]}
40
+ */
41
+ requires: string[];
42
+ /**
43
+ * Holds a collection of tasks, required to instantiate an angular component
44
+ * @type {!Array<Array<*>>}
45
+ */
46
+ invokeQueue: Array<Array<any>>;
47
+ /** @type {!Array<Array<*>>} */
48
+ configBlocks: Array<Array<any>>;
49
+ /** @type {!Array.<ng.Injectable<any>>} */
50
+ runBlocks: Array<ng.Injectable<any>>;
51
+ services: any[];
52
+ wasmModules: any[];
53
+ restDefinitions: any[];
54
+ /**
55
+ * @param {string} name
56
+ * @param {any} object
57
+ * @returns {NgModule}
58
+ */
59
+ value(name: string, object: any): NgModule;
60
+ /**
61
+ * @param {string} name
62
+ * @param {any} object
63
+ * @returns {NgModule}
64
+ */
65
+ constant(name: string, object: any): NgModule;
66
+ /**
67
+ *
68
+ * @param {ng.Injectable<any>} configFn
69
+ * @returns {NgModule}
70
+ */
71
+ config(configFn: ng.Injectable<any>): NgModule;
72
+ /**
73
+ * @param {ng.Injectable<any>} block
74
+ * @returns {NgModule}
75
+ */
76
+ run(block: ng.Injectable<any>): NgModule;
77
+ /**
78
+ * @param {string} name
79
+ * @param {ng.Component} options
80
+ * @returns {NgModule}
81
+ */
82
+ component(name: string, options: ng.Component): NgModule;
83
+ /**
84
+ * @param {string} name
85
+ * @param {ng.Injectable<any>} providerFunction
86
+ * @returns {NgModule}
87
+ */
88
+ factory(name: string, providerFunction: ng.Injectable<any>): NgModule;
89
+ /**
90
+ * @param {string} name
91
+ * @param {ng.Injectable<any>} serviceFunction
92
+ * @returns {NgModule}
93
+ */
94
+ service(name: string, serviceFunction: ng.Injectable<any>): NgModule;
95
+ /**
96
+ * @param {string} name
97
+ * @param {ng.Injectable<any>} providerType
98
+ * @returns {NgModule}
99
+ */
100
+ provider(name: string, providerType: ng.Injectable<any>): NgModule;
101
+ /**
102
+ * @param {string} name
103
+ * @param {ng.Injectable<any>} decorFn
104
+ * @returns {NgModule}
105
+ */
106
+ decorator(name: string, decorFn: ng.Injectable<any>): NgModule;
107
+ /**
108
+ * @param {string} name
109
+ * @param {ng.Injectable<any>} directiveFactory
110
+ * @returns {NgModule}
111
+ */
112
+ directive(name: string, directiveFactory: ng.Injectable<any>): NgModule;
113
+ /**
114
+ * @param {string} name
115
+ * @param {ng.Injectable<any>} animationFactory
116
+ * @returns {NgModule}
117
+ */
118
+ animation(name: string, animationFactory: ng.Injectable<any>): NgModule;
119
+ /**
120
+ * @param {string} name
121
+ * @param {ng.Injectable<any>} filterFn
122
+ * @return {NgModule}
123
+ */
124
+ filter(name: string, filterFn: ng.Injectable<any>): NgModule;
125
+ /**
126
+ * @param {string} name
127
+ * @param {ng.Injectable<any>} ctlFn
128
+ * @returns {NgModule}
129
+ */
130
+ controller(name: string, ctlFn: ng.Injectable<any>): NgModule;
131
+ /**
132
+ * Register a named WebAssembly module that will be instantiated via $provide.
133
+ *
134
+ * @param {string} name - The injectable name used to access the instantiated WebAssembly module.
135
+ *
136
+ * @param {string} src - URL of the `.wasm` file to fetch and instantiate.
137
+ *
138
+ * @param {Object<string, any>} [imports] WebAssembly import object, passed to `WebAssembly.instantiate` or `WebAssembly.instantiateStreaming`.
139
+ *
140
+ * @param {Object<string, any>} [opts] - Configuration object.
141
+ *
142
+ * Supported keys:
143
+ * - **raw**: `boolean`
144
+ * - `false` (default): the injectable resolves to `instance.exports`
145
+ * (ideal for plain WASM modules).
146
+ * - `true`: the injectable resolves to the full instantiation result:
147
+ * `{ instance, exports, module }`
148
+ * (required for runtimes such as Go, Emscripten, wasm-bindgen, etc).
149
+ *
150
+ * @returns {NgModule}
151
+ */
152
+ wasm(
153
+ name: string,
154
+ src: string,
155
+ imports?: {
156
+ [x: string]: any;
157
+ },
158
+ opts?: {
159
+ [x: string]: any;
160
+ },
161
+ ): NgModule;
162
+ /**
163
+ * Register a named worker that will be instantiated via $provide.
164
+ *
165
+ * @param {string} name
166
+ * @param {string | URL} scriptPath
167
+ * @param {ng.WorkerConfig} [config]
168
+ * @returns {NgModule}
169
+ */
170
+ worker(
171
+ name: string,
172
+ scriptPath: string | URL,
173
+ config?: ng.WorkerConfig,
174
+ ): NgModule;
175
+ /**
176
+ * @param {string} name
177
+ * @param {Function} ctor
178
+ * @returns {NgModule}
179
+ */
180
+ session(name: string, ctor: Function): NgModule;
181
+ /**
182
+ * @param {string} name
183
+ * @param {Function} ctor
184
+ * @param {ng.StorageType} type
185
+ * @param {ng.StorageBackend} [backendOrConfig]
186
+ * @returns {NgModule}
187
+ */
188
+ store(
189
+ name: string,
190
+ ctor: Function,
191
+ type: ng.StorageType,
192
+ backendOrConfig?: ng.StorageBackend,
193
+ ): NgModule;
194
+ /**
195
+ * @template T, ID
196
+ * Register a REST resource during module configuration.
197
+ * @param {string} name - Service name
198
+ * @param {string} url - Base URL or URI template
199
+ * @param {ng.EntityClass<T>} entityClass - Optional constructor for mapping JSON
200
+ * @param {Object=} options - Optional RestService options (interceptors, etc)
201
+ * @returns {NgModule}
202
+ */
203
+ rest<T, ID>(
204
+ name: string,
205
+ url: string,
206
+ entityClass: ng.EntityClass<T>,
207
+ options?: any | undefined,
208
+ ): NgModule;
209
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Sanitizer function that processes a URI string and optionally
3
+ * treats it as a media URL.
4
+ */
5
+ export type SanitizerFn = (
6
+ uri: string | null | undefined,
7
+ isMediaUrl?: boolean,
8
+ ) => string | null | undefined;
@@ -33,8 +33,11 @@ export class SanitizeUriProvider implements ServiceProvider {
33
33
  regexp?: RegExp | undefined,
34
34
  ): RegExp | SanitizeUriProvider;
35
35
  /**
36
- * @returns {import("./interface").SanitizerFn}
36
+ * @returns {import("./interface.ts").SanitizerFn}
37
37
  */
38
- $get(): any;
38
+ $get: (
39
+ | string
40
+ | (($window: ng.WindowService) => import("./interface.ts").SanitizerFn)
41
+ )[];
39
42
  }
40
43
  export type ServiceProvider = import("../../interface.ts").ServiceProvider;
@@ -5,10 +5,10 @@ export interface AsyncQueueTask {
5
5
  fn: (...args: any[]) => any;
6
6
  locals: Record<string, any>;
7
7
  }
8
- export type ListenerFunction = (newValue: any, originalTarget: object) => void;
8
+ export type ListenerFn = (newValue?: any, originalTarget?: object) => void;
9
9
  export interface Listener {
10
10
  originalTarget: object;
11
- listenerFn: ListenerFunction;
11
+ listenerFn: ListenerFn;
12
12
  watchFn: CompiledExpression;
13
13
  id: number;
14
14
  scopeId: number;
@@ -15,6 +15,7 @@ export function createScope(target?: any, context?: Scope): Scope;
15
15
  */
16
16
  export function isUnsafeGlobal(target: any): boolean;
17
17
  export const $postUpdateQueue: any[];
18
+ export let rootScope: any;
18
19
  export class RootScopeProvider {
19
20
  rootScope: Scope;
20
21
  $get: (
@@ -89,6 +90,7 @@ export class Scope {
89
90
  /** @type {boolean} */
90
91
  $$destroyed: boolean;
91
92
  scheduled: any[];
93
+ $scopename: any;
92
94
  /** @private */
93
95
  private propertyMap;
94
96
  /**
@@ -128,12 +130,12 @@ export class Scope {
128
130
  * function is invoked when changes to that property are detected.
129
131
  *
130
132
  * @param {string} watchProp - An expression to be watched in the context of this model.
131
- * @param {import('./interface.ts').ListenerFunction} [listenerFn] - A function to execute when changes are detected on watched context.
133
+ * @param {ng.ListenerFn} [listenerFn] - A function to execute when changes are detected on watched context.
132
134
  * @param {boolean} [lazy] - A flag to indicate if the listener should be invoked immediately. Defaults to false.
133
135
  */
134
136
  $watch(
135
137
  watchProp: string,
136
- listenerFn?: import("./interface.ts").ListenerFunction,
138
+ listenerFn?: ng.ListenerFn,
137
139
  lazy?: boolean,
138
140
  ): () => void;
139
141
  $new(childInstance: any): any;
@@ -181,5 +183,6 @@ export class Scope {
181
183
  * @returns {Scope|undefined}
182
184
  */
183
185
  $getById(id: string | number): Scope | undefined;
186
+ $searchByName(name: any): any;
184
187
  #private;
185
188
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @returns {import('../../interface.ts').Directive}
2
+ * @returns {ng.Directive}
3
3
  */
4
- export function ngBindDirective(): import("../../interface.ts").Directive;
4
+ export function ngBindDirective(): ng.Directive;
5
5
  /**
6
6
  * @returns {import('../../interface.ts').Directive}
7
7
  */
@@ -75,16 +75,16 @@ export class FormController {
75
75
  static $inject: string[];
76
76
  /**
77
77
  * @param {Element} $element
78
- * @param {import("../../core/compile/attributes.js").Attributes} $attrs
79
- * @param {import("../../core/scope/scope.js").Scope} $scope
80
- * @param {*} $animate
78
+ * @param {ng.Attributes} $attrs
79
+ * @param {ng.Scope} $scope
80
+ * @param {ng.AnimateService} $animate
81
81
  * @param {*} $interpolate
82
82
  */
83
83
  constructor(
84
84
  $element: Element,
85
- $attrs: import("../../core/compile/attributes.js").Attributes,
86
- $scope: import("../../core/scope/scope.js").Scope,
87
- $animate: any,
85
+ $attrs: ng.Attributes,
86
+ $scope: ng.Scope,
87
+ $animate: ng.AnimateService,
88
88
  $interpolate: any,
89
89
  );
90
90
  $$controls: any[];
@@ -103,7 +103,7 @@ export class FormController {
103
103
  /** @type {FormController|Object} */
104
104
  $$parentForm: FormController | any;
105
105
  $$element: Element;
106
- $$animate: any;
106
+ $$animate: import("../../interface.ts").AnimateService;
107
107
  $error: {};
108
108
  $$success: {};
109
109
  $pending: any;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @param {*} $animate
2
+ * @param {ng.AnimateService} $animate
3
3
  * @returns {ng.Directive}
4
4
  */
5
- export function ngIfDirective($animate: any): ng.Directive;
5
+ export function ngIfDirective($animate: ng.AnimateService): ng.Directive;
6
6
  export namespace ngIfDirective {
7
7
  let $inject: string[];
8
8
  }
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  *
3
- * @param {*} $templateRequest
3
+ * @param {ng.TemplateRequestService} $templateRequest
4
4
  * @param {import("../../services/anchor-scroll/anchor-scroll.js").AnchorScrollFunction} $anchorScroll
5
- * @param {*} $animate
6
- * @param {import('../../services/exception/interface.ts').ErrorHandler} $exceptionHandler
7
- * @returns {import('../../interface.ts').Directive}
5
+ * @param {ng.AnimateService} $animate
6
+ * @param {ng.ExceptionHandlerService} $exceptionHandler
7
+ * @returns {ng.Directive}
8
8
  */
9
9
  export function ngIncludeDirective(
10
- $templateRequest: any,
10
+ $templateRequest: ng.TemplateRequestService,
11
11
  $anchorScroll: import("../../services/anchor-scroll/anchor-scroll.js").AnchorScrollFunction,
12
- $animate: any,
13
- $exceptionHandler: import("../../services/exception/interface.ts").ErrorHandler,
14
- ): import("../../interface.ts").Directive;
12
+ $animate: ng.AnimateService,
13
+ $exceptionHandler: ng.ExceptionHandlerService,
14
+ ): ng.Directive;
15
15
  export namespace ngIncludeDirective {
16
16
  let $inject: string[];
17
17
  }
@@ -1,8 +1,10 @@
1
- export function ngMessagesDirective($animate: any): {
2
- require: string;
3
- restrict: string;
4
- controller: ($element: any, $scope: any, $attrs: any) => NgMessageCtrl;
5
- };
1
+ /**
2
+ * @param {ng.AnimateService} $animate
3
+ * @returns {ng.Directive<NgMessageCtrl>}
4
+ */
5
+ export function ngMessagesDirective(
6
+ $animate: ng.AnimateService,
7
+ ): ng.Directive<NgMessageCtrl>;
6
8
  export namespace ngMessagesDirective {
7
9
  let $inject: string[];
8
10
  }
@@ -18,32 +20,26 @@ export namespace ngMessagesIncludeDirective {
18
20
  let $inject_1: string[];
19
21
  export { $inject_1 as $inject };
20
22
  }
21
- export const ngMessageDirective: (
22
- any: any,
23
- ) => import("../../interface.ts").Directive;
24
- export const ngMessageExpDirective: (
25
- any: any,
26
- ) => import("../../interface.ts").Directive;
27
- export const ngMessageDefaultDirective: (
28
- any: any,
29
- ) => import("../../interface.ts").Directive;
23
+ export const ngMessageDirective: (any: any) => ng.Directive;
24
+ export const ngMessageExpDirective: (any: any) => ng.Directive;
25
+ export const ngMessageDefaultDirective: (any: any) => ng.Directive;
30
26
  declare class NgMessageCtrl {
31
27
  /**
32
28
  * @param {Element} $element
33
- * @param {import('../../core/scope/scope.js').Scope} $scope
34
- * @param {import('../../core/compile/attributes').Attributes} $attrs
35
- * @param {*} $animate
29
+ * @param {ng.Scope} $scope
30
+ * @param {ng.Attributes} $attrs
31
+ * @param {ng.AnimateService} $animate
36
32
  */
37
33
  constructor(
38
34
  $element: Element,
39
- $scope: import("../../core/scope/scope.js").Scope,
40
- $attrs: any,
41
- $animate: any,
35
+ $scope: ng.Scope,
36
+ $attrs: ng.Attributes,
37
+ $animate: ng.AnimateService,
42
38
  );
43
39
  $element: Element;
44
40
  $scope: import("../../interface.ts").Scope;
45
- $attrs: any;
46
- $animate: any;
41
+ $attrs: ng.Attributes;
42
+ $animate: import("../../interface.ts").AnimateService;
47
43
  latestKey: number;
48
44
  nextAttachId: number;
49
45
  messages: {};
@@ -49,21 +49,21 @@ export class NgModelController {
49
49
  static $nonscope: boolean;
50
50
  static $inject: string[];
51
51
  /**
52
- * @param {import('../../core/scope/scope.js').Scope} $scope
53
- * @param {import('../../services/exception/exception-handler.js').ErrorHandler} $exceptionHandler
54
- * @param {import('../../core/compile/attributes.js').Attributes} $attr
52
+ * @param {ng.Scope} $scope
53
+ * @param {ng.ExceptionHandlerService} $exceptionHandler
54
+ * @param {ng.Attributes} $attr
55
55
  * @param {Element} $element
56
- * @param {import("../../core/parse/interface.ts").ParseService} $parse
57
- * @param {*} $animate
56
+ * @param {ng.ParseService} $parse
57
+ * @param {ng.AnimateService} $animate
58
58
  * @param {*} $interpolate
59
59
  */
60
60
  constructor(
61
- $scope: import("../../core/scope/scope.js").Scope,
62
- $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
63
- $attr: import("../../core/compile/attributes.js").Attributes,
61
+ $scope: ng.Scope,
62
+ $exceptionHandler: ng.ExceptionHandlerService,
63
+ $attr: ng.Attributes,
64
64
  $element: Element,
65
- $parse: import("../../core/parse/interface.ts").ParseService,
66
- $animate: any,
65
+ $parse: ng.ParseService,
66
+ $animate: ng.AnimateService,
67
67
  $interpolate: any,
68
68
  );
69
69
  /** @type {any} The actual value from the control's view */
@@ -123,11 +123,11 @@ export class NgModelController {
123
123
  $$parsedNgModelAssign: (context: any, value: any) => any;
124
124
  /**
125
125
  * @type {import("../../core/parse/interface.ts").CompiledExpression |
126
- * (function(import("../../core/scope/scope.js").Scope): any)}
126
+ * (function(ng.Scope): any)}
127
127
  */
128
128
  $$ngModelGet:
129
129
  | import("../../core/parse/interface.ts").CompiledExpression
130
- | ((arg0: import("../../core/scope/scope.js").Scope) => any);
130
+ | ((arg0: ng.Scope) => any);
131
131
  $$ngModelSet: (context: any, value: any) => any;
132
132
  $$pendingDebounce: number;
133
133
  $$parserValid: boolean;
@@ -135,13 +135,13 @@ export class NgModelController {
135
135
  $$parserName: string;
136
136
  /** @type {number} */
137
137
  $$currentValidationRunId: number;
138
- /** @type {import('../../core/scope/scope.js').Scope} */
139
- $$scope: import("../../core/scope/scope.js").Scope;
140
- $$attr: import("../../core/compile/attributes.js").Attributes;
138
+ /** @type {ng.Scope} */
139
+ $$scope: ng.Scope;
140
+ $$attr: ng.Attributes;
141
141
  $$element: Element;
142
- $$animate: any;
142
+ $$animate: import("../../interface.ts").AnimateService;
143
143
  $$parse: import("../../core/parse/interface.ts").ParseService;
144
- $$exceptionHandler: import("../../services/exception/interface.ts").ErrorHandler;
144
+ $$exceptionHandler: import("../../interface.ts").ExceptionHandler;
145
145
  $$hasNativeValidators: boolean;
146
146
  $$classCache: {};
147
147
  $$eventRemovers: Set<any>;
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  *
3
3
  * @param {ng.CompileService} $compile
4
- * @param {import("../../core/parse/interface.ts").ParseService} $parse
5
- * @returns {import("../../interface.ts").Directive}
4
+ * @param {ng.ParseService} $parse
5
+ * @returns {ng.Directive}
6
6
  */
7
7
  export function ngOptionsDirective(
8
8
  $compile: ng.CompileService,
9
- $parse: import("../../core/parse/interface.ts").ParseService,
10
- ): import("../../interface.ts").Directive;
9
+ $parse: ng.ParseService,
10
+ ): ng.Directive;
11
11
  export namespace ngOptionsDirective {
12
12
  let $inject: string[];
13
13
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @return {ng.Directive}
3
+ */
4
+ export function ngScopeDirective(): ng.Directive;
@@ -1,9 +1,8 @@
1
1
  /**
2
- * @returns {import('../../interface.ts').Directive}
2
+ * @param {ng.AnimateService} $animate
3
+ * @returns {ng.Directive}
3
4
  */
4
- export function ngShowDirective(
5
- $animate: any,
6
- ): import("../../interface.ts").Directive;
5
+ export function ngShowDirective($animate: ng.AnimateService): ng.Directive;
7
6
  export namespace ngShowDirective {
8
7
  let $inject: string[];
9
8
  }