@angular-wave/angular.ts 0.0.71 → 0.0.73
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/animations/animate-children-directive.md +1 -1
- package/src/animations/animate-css-driver.js +1 -1
- package/src/animations/animate-css.html +2 -2
- package/src/animations/animate-js.html +5 -2
- package/src/animations/animate-queue.js +5 -5
- package/src/animations/animate-swap.md +1 -1
- package/src/{core/animate → animations}/animate.html +1 -1
- package/src/{core/animate → animations}/animate.js +4 -138
- package/src/animations/raf-scheduler.js +7 -3
- package/src/animations/raf-scheduler.spec.js +3 -3
- package/src/animations/shared.js +2 -2
- package/src/binding.spec.js +4 -3
- package/src/core/compile/attributes.js +8 -1
- package/src/core/compile/compile.spec.js +44 -28
- package/src/core/controller/controller.js +9 -3
- package/src/core/di/injector.md +1 -1
- package/src/core/di/ng-module.js +46 -3
- package/src/core/prop.spec.js +15 -11
- package/src/core/q/q.js +2 -1
- package/src/directive/bind/bind.spec.js +80 -44
- package/src/directive/change/change.js +3 -1
- package/src/directive/class/class.js +43 -14
- package/src/directive/class/class.spec.js +7 -4
- package/src/directive/form/form.js +5 -4
- package/src/directive/form/form.spec.js +3 -4
- package/src/directive/if/if-animate-css.html +5 -7
- package/src/directive/if/if.js +1 -1
- package/src/directive/if/if.spec.js +3 -2
- package/src/directive/include/include.js +1 -1
- package/src/directive/input/input.spec.js +6 -4
- package/src/directive/list/list.js +3 -3
- package/src/directive/list/list.spec.js +4 -2
- package/src/directive/messages/messages.js +177 -172
- package/src/directive/messages/messages.spec.js +4 -4
- package/src/directive/model/model.js +261 -471
- package/src/directive/model/model.spec.js +4 -3
- package/src/directive/model-options/model-options.spec.js +3 -1
- package/src/directive/repeat/repeat.md +1 -1
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/directive/select/select.spec.js +3 -3
- package/src/directive/show-hide/show-hide.js +36 -6
- package/src/directive/switch/switch.js +4 -4
- package/src/directive/switch/switch.spec.js +5 -2
- package/src/directive/validators/validators.spec.js +6 -4
- package/src/loader.js +1 -2
- package/src/public.js +22 -10
- package/src/router/directives/state-directives.js +2 -9
- package/src/router/hooks/core-resolvables.js +5 -3
- package/src/router/path/path-utils.js +1 -2
- package/src/router/resolve/resolve-context.js +14 -29
- package/src/router/state/state-queue-manager.js +1 -2
- package/src/router/state/state-service.js +2 -3
- package/src/router/transition/transition.js +2 -2
- package/src/router/view/view.js +2 -8
- package/src/services/anchor-scroll.html +1 -1
- package/src/shared/common.js +3 -8
- package/src/shared/common.spec.js +1 -19
- package/src/shared/hof.js +1 -8
- package/src/shared/jqlite/jqlite.js +2 -2
- package/src/shared/predicates.js +3 -2
- package/src/types.js +2 -3
- package/types/animations/animate-css-driver.d.ts +1 -1
- package/types/animations/animate-queue.d.ts +1 -2
- package/types/{core/animate → animations}/animate.d.ts +2 -12
- package/types/animations/raf-scheduler.d.ts +7 -2
- package/types/core/compile/attributes.d.ts +10 -1
- package/types/core/di/ng-module.d.ts +55 -12
- package/types/core/q/q.d.ts +4 -2
- package/types/directive/form/form.d.ts +3 -1
- package/types/directive/messages/messages.d.ts +76 -0
- package/types/directive/model/model.d.ts +101 -239
- package/types/router/resolve/resolve-context.d.ts +0 -2
- package/types/router/transition/transition.d.ts +0 -1
- package/types/shared/common.d.ts +0 -3
- package/types/shared/hof.d.ts +0 -1
- package/types/shared/jqlite/jqlite.d.ts +4 -4
- package/types/types.d.ts +4 -2
- package/src/animations/module.js +0 -25
- package/src/core/animate/animate-css.js +0 -88
- package/src/core/animate/anomate.md +0 -13
- package/types/animations/module.d.ts +0 -1
- package/types/core/animate/animate-css.d.ts +0 -19
- /package/src/{core/animate → animations}/animate-runner.js +0 -0
- /package/src/{core/animate → animations}/animate.spec.js +0 -0
- /package/src/{core/animate → animations}/helpers.js +0 -0
- /package/types/{core/animate → animations}/animate-runner.d.ts +0 -0
- /package/types/{core/animate → animations}/helpers.d.ts +0 -0
|
@@ -245,7 +245,7 @@ JQLite.prototype.on = function (type, fn) {
|
|
|
245
245
|
* Removes an event listener to each element in JQLite collection.
|
|
246
246
|
*
|
|
247
247
|
* @param {string} type - The event type(s) to remove listener from
|
|
248
|
-
* @param {Function} fn - The function to remove from event type.
|
|
248
|
+
* @param {Function} [fn] - The function to remove from event type.
|
|
249
249
|
* @returns {JQLite}
|
|
250
250
|
*/
|
|
251
251
|
JQLite.prototype.off = function (type, fn) {
|
|
@@ -1123,7 +1123,7 @@ function specialMouseHandlerWrapper(target, event, handler) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
|
-
* @param {string} elementStr
|
|
1126
|
+
* @param {string|JQLite} elementStr
|
|
1127
1127
|
* @returns {string} Returns the string representation of the element.
|
|
1128
1128
|
*/
|
|
1129
1129
|
export function startingTag(elementStr) {
|
package/src/shared/predicates.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
9
|
-
import { and,
|
|
9
|
+
import { and, pipe, prop, or } from "./hof";
|
|
10
10
|
import { isFunction, isObject, isString, isUndefined } from "./utils";
|
|
11
11
|
export const isNull = (o) => o === null;
|
|
12
12
|
export const isNullOrUndefined = or(isNull, isUndefined);
|
|
@@ -21,7 +21,8 @@ export function isInjectable(val) {
|
|
|
21
21
|
const head = val.slice(0, -1),
|
|
22
22
|
tail = val.slice(-1);
|
|
23
23
|
return !(
|
|
24
|
-
head.filter(
|
|
24
|
+
head.filter((x) => !isString(x)).length ||
|
|
25
|
+
tail.filter((x) => !isFunction(x)).length
|
|
25
26
|
);
|
|
26
27
|
}
|
|
27
28
|
return isFunction(val);
|
package/src/types.js
CHANGED
|
@@ -68,9 +68,8 @@
|
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* @typedef {Object} Controller
|
|
71
|
+
* @property {string} name
|
|
71
72
|
* @description Interface representing the lifecycle hooks for AngularJS directive controllers.
|
|
72
|
-
* @see {@link https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks}
|
|
73
|
-
* @see {@link https://docs.angularjs.org/guide/component}
|
|
74
73
|
*
|
|
75
74
|
* @property {function(): void} [$onInit]
|
|
76
75
|
* Called on each controller after all the controllers on an element have been constructed and had their bindings
|
|
@@ -147,7 +146,7 @@
|
|
|
147
146
|
*/
|
|
148
147
|
|
|
149
148
|
/**
|
|
150
|
-
* @typedef {DirectiveController} TController
|
|
149
|
+
* @typedef {DirectiveController|NgModelController} TController
|
|
151
150
|
*/
|
|
152
151
|
|
|
153
152
|
/**
|
|
@@ -4,7 +4,7 @@ export class $$AnimateCssDriverProvider {
|
|
|
4
4
|
/**
|
|
5
5
|
* @returns {Function}
|
|
6
6
|
*/
|
|
7
|
-
$get: (string | (($animateCss: any, $$AnimateRunner: typeof import("
|
|
7
|
+
$get: (string | (($animateCss: any, $$AnimateRunner: typeof import("./animate-runner").AnimateRunner, $rootElement: JQLite) => (animationDetails: any) => any))[];
|
|
8
8
|
}
|
|
9
9
|
export namespace $$AnimateCssDriverProvider {
|
|
10
10
|
let $inject: string[];
|
|
@@ -6,7 +6,7 @@ export class $$AnimateQueueProvider {
|
|
|
6
6
|
cancel: any[];
|
|
7
7
|
join: any[];
|
|
8
8
|
};
|
|
9
|
-
$get: (string | (($rootScope:
|
|
9
|
+
$get: (string | (($rootScope: import("../core/scope/scope").Scope, $injector: any, $$animation: any, $$AnimateRunner: any, $templateRequest: any) => {
|
|
10
10
|
on(event: any, container: any, callback: any): void;
|
|
11
11
|
off(event: any, container: any, callback: any, ...args: any[]): void;
|
|
12
12
|
pin(element: any, parentElement: any): void;
|
|
@@ -17,4 +17,3 @@ export class $$AnimateQueueProvider {
|
|
|
17
17
|
export namespace $$AnimateQueueProvider {
|
|
18
18
|
let $inject: string[];
|
|
19
19
|
}
|
|
20
|
-
import { JQLite } from "../shared/jqlite/jqlite";
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export function CoreAnimateQueueProvider(): void;
|
|
2
|
-
export class CoreAnimateQueueProvider {
|
|
3
|
-
$get: (string | (($$AnimateRunner: any, $rootScope: any) => {
|
|
4
|
-
enabled: () => void;
|
|
5
|
-
on: () => void;
|
|
6
|
-
off: () => void;
|
|
7
|
-
pin: () => void;
|
|
8
|
-
push(element: any, event: any, options: any, domOperation: any): any;
|
|
9
|
-
}))[];
|
|
10
|
-
}
|
|
11
1
|
export function domInsert(element: any, parentElement: any, afterElement: any): void;
|
|
12
2
|
export function AnimateProvider($provide: any): void;
|
|
13
3
|
export class AnimateProvider {
|
|
@@ -241,7 +231,7 @@ export class AnimateProvider {
|
|
|
241
231
|
* @example
|
|
242
232
|
<example module="animationExample" deps="angular-animate.js" animations="true" name="animate-cancel">
|
|
243
233
|
<file name="app.js">
|
|
244
|
-
angular.module('animationExample', [
|
|
234
|
+
angular.module('animationExample', []).component('cancelExample', {
|
|
245
235
|
templateUrl: 'template.html',
|
|
246
236
|
controller: function($element, $animate) {
|
|
247
237
|
this.runner = null;
|
|
@@ -427,4 +417,4 @@ export type AnimationOptions = {
|
|
|
427
417
|
*/
|
|
428
418
|
to: string;
|
|
429
419
|
};
|
|
430
|
-
import { JQLite } from "
|
|
420
|
+
import { JQLite } from "../shared/jqlite/jqlite";
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* Creates a requestAnimationFrame scheduler.
|
|
9
|
-
* @returns {RafScheduler} The scheduler object.
|
|
10
9
|
*/
|
|
11
|
-
export function
|
|
10
|
+
export function RafSchedulerProvider(): void;
|
|
11
|
+
export class RafSchedulerProvider {
|
|
12
|
+
/**
|
|
13
|
+
* @returns {RafScheduler} The scheduler object.
|
|
14
|
+
*/
|
|
15
|
+
$get: () => RafScheduler;
|
|
16
|
+
}
|
|
12
17
|
export type RafSchedulerFunction = Function;
|
|
13
18
|
export type RafSchedulerObject = {
|
|
14
19
|
/**
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} AnyStringKeyObject
|
|
3
|
+
* @property {Record<string, any>} [key]
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @extends {AnyStringKeyObject}
|
|
7
|
+
*/
|
|
1
8
|
export class Attributes {
|
|
2
9
|
/**
|
|
3
|
-
*
|
|
4
10
|
* @param {import('../scope/scope').Scope} $rootScope
|
|
5
11
|
* @param {*} $animate
|
|
6
12
|
* @param {import("../exception-handler").ExceptionHandlerProvider} $exceptionHandler
|
|
@@ -98,4 +104,7 @@ export class Attributes {
|
|
|
98
104
|
sanitizeSrcset(value: any, invokeType: any): any;
|
|
99
105
|
srcset: any;
|
|
100
106
|
}
|
|
107
|
+
export type AnyStringKeyObject = {
|
|
108
|
+
key?: Record<string, any>;
|
|
109
|
+
};
|
|
101
110
|
import { directiveNormalize } from "../../shared/utils";
|
|
@@ -16,7 +16,6 @@ export const CONTROLLER_LITERAL: "$controllerProvider";
|
|
|
16
16
|
*/
|
|
17
17
|
export class NgModule {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
19
|
* @param {String} name - Name of the module
|
|
21
20
|
* @param {Array<String>} requires - List of modules which the injector will load before the current module
|
|
22
21
|
* @param {Function} [configFn]
|
|
@@ -49,13 +48,13 @@ export class NgModule {
|
|
|
49
48
|
*/
|
|
50
49
|
info(value: any): any;
|
|
51
50
|
/**
|
|
52
|
-
* @param {
|
|
51
|
+
* @param {string} name
|
|
53
52
|
* @param {any} object
|
|
54
53
|
* @returns {NgModule}
|
|
55
54
|
*/
|
|
56
55
|
value(name: string, object: any): NgModule;
|
|
57
56
|
/**
|
|
58
|
-
* @param {
|
|
57
|
+
* @param {string} name
|
|
59
58
|
* @param {any} object
|
|
60
59
|
* @returns {NgModule}
|
|
61
60
|
*/
|
|
@@ -66,14 +65,58 @@ export class NgModule {
|
|
|
66
65
|
* @returns {NgModule}
|
|
67
66
|
*/
|
|
68
67
|
config(configFn: Function): NgModule;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
/**
|
|
69
|
+
* @param {Function} block
|
|
70
|
+
* @returns {NgModule}
|
|
71
|
+
*/
|
|
72
|
+
run(block: Function): NgModule;
|
|
73
|
+
/**
|
|
74
|
+
* @param {string} name
|
|
75
|
+
* @param {*} options
|
|
76
|
+
* @returns {NgModule}
|
|
77
|
+
*/
|
|
78
|
+
component(name: string, options: any): NgModule;
|
|
79
|
+
/**
|
|
80
|
+
* @param {string} name
|
|
81
|
+
* @param {*} providerFunction
|
|
82
|
+
* @returns {NgModule}
|
|
83
|
+
*/
|
|
84
|
+
factory(name: string, providerFunction: any): NgModule;
|
|
85
|
+
/**
|
|
86
|
+
* @param {string} name
|
|
87
|
+
* @param {*} serviceFunction
|
|
88
|
+
* @returns {NgModule}
|
|
89
|
+
*/
|
|
90
|
+
service(name: string, serviceFunction: any): NgModule;
|
|
91
|
+
/**
|
|
92
|
+
* @param {string} name
|
|
93
|
+
* @param {*} providerType
|
|
94
|
+
* @returns {NgModule}
|
|
95
|
+
*/
|
|
96
|
+
provider(name: string, providerType: any): NgModule;
|
|
97
|
+
/**
|
|
98
|
+
* @param {string} name
|
|
99
|
+
* @param {*} decorFn
|
|
100
|
+
* @returns {NgModule}
|
|
101
|
+
*/
|
|
102
|
+
decorator(name: string, decorFn: any): NgModule;
|
|
103
|
+
/**
|
|
104
|
+
* @param {string} name
|
|
105
|
+
* @param {*} directiveFactory
|
|
106
|
+
* @returns {NgModule}
|
|
107
|
+
*/
|
|
108
|
+
directive(name: string, directiveFactory: any): NgModule;
|
|
109
|
+
/**
|
|
110
|
+
* @param {string} name
|
|
111
|
+
* @param {*} animationFactory
|
|
112
|
+
* @returns {NgModule}
|
|
113
|
+
*/
|
|
114
|
+
animation(name: string, animationFactory: any): NgModule;
|
|
77
115
|
filter(name: any, filterFn: any): this;
|
|
78
|
-
|
|
116
|
+
/**
|
|
117
|
+
* @param {string} name
|
|
118
|
+
* @param {*} ctlFn
|
|
119
|
+
* @returns {NgModule}
|
|
120
|
+
*/
|
|
121
|
+
controller(name: string, ctlFn: any): NgModule;
|
|
79
122
|
}
|
package/types/core/q/q.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @property {function(
|
|
5
5
|
* ((value: T) => (PromiseLike<never>|PromiseLike<T>|T))|null,
|
|
6
6
|
* ((reason: any) => (PromiseLike<never>|PromiseLike<T>|T))|null,
|
|
7
|
-
* ((state: any) => any)
|
|
7
|
+
* ((state: any) => any)=
|
|
8
8
|
* ): QPromise<T|never>} then - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
9
9
|
* @property {function(
|
|
10
10
|
* ((value: T) => (QPromise<never>|QPromise<T>|T))|null,
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* ): QPromise<T|never>} then - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
14
14
|
* @property {function(((reason: any) => (PromiseLike<never>|PromiseLike<T>|T))|null): QPromise<T>|T} catch - Shorthand for promise.then(null, errorCallback).
|
|
15
15
|
* @property {function(((reason: any) => (QPromise<never>|QPromise<T>|T))|null): QPromise<T>|T} catch - Shorthand for promise.then(null, errorCallback).
|
|
16
|
+
* @property {function(Array.<QPromise<T>>): QPromise<T>} all
|
|
16
17
|
* @property {function(function(): void): QPromise<T>} finally - Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value.
|
|
17
18
|
* @property {number} [$$intervalId] - Internal id set by the $interval service for callback notifications
|
|
18
19
|
* @property {number} [$$timeoutId] - Timeout id set by the $timeout service for cancelations
|
|
@@ -53,11 +54,12 @@ export type QPromise<T> = {
|
|
|
53
54
|
/**
|
|
54
55
|
* - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
55
56
|
*/
|
|
56
|
-
then: (arg0: ((value: T) => (PromiseLike<never> | PromiseLike<T> | T)) | null, arg1: ((reason: any) => (PromiseLike<never> | PromiseLike<T> | T)) | null, arg2: ((state: any) => any)) => QPromise<T | never>;
|
|
57
|
+
then: (arg0: ((value: T) => (PromiseLike<never> | PromiseLike<T> | T)) | null, arg1: ((reason: any) => (PromiseLike<never> | PromiseLike<T> | T)) | null, arg2: ((state: any) => any) | undefined) => QPromise<T | never>;
|
|
57
58
|
/**
|
|
58
59
|
* - Shorthand for promise.then(null, errorCallback).
|
|
59
60
|
*/
|
|
60
61
|
catch: (arg0: ((reason: any) => (PromiseLike<never> | PromiseLike<T> | T)) | null) => QPromise<T> | T;
|
|
62
|
+
all: (arg0: Array<QPromise<T>>) => QPromise<T>;
|
|
61
63
|
/**
|
|
62
64
|
* - Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value.
|
|
63
65
|
*/
|
|
@@ -141,17 +141,19 @@ export namespace FormController {
|
|
|
141
141
|
}
|
|
142
142
|
export function setupValidity(instance: any): void;
|
|
143
143
|
export function addSetValidityMethod(context: any): void;
|
|
144
|
+
export function isObjectEmpty(obj: any): boolean;
|
|
144
145
|
export namespace nullFormCtrl {
|
|
145
146
|
export function $addControl(): void;
|
|
146
147
|
export let $getControls: () => any;
|
|
147
148
|
export { nullFormRenameControl as $$renameControl };
|
|
148
149
|
export function $removeControl(): void;
|
|
149
|
-
export
|
|
150
|
+
export let $setValidity: (...any: any) => any;
|
|
150
151
|
export function $setDirty(): void;
|
|
151
152
|
export function $setPristine(): void;
|
|
152
153
|
export function $setSubmitted(): void;
|
|
153
154
|
export function $$setSubmitted(): void;
|
|
154
155
|
}
|
|
156
|
+
export const PENDING_CLASS: "ng-pending";
|
|
155
157
|
export const formDirective: (string | (($timeout: any, $parse: any) => {
|
|
156
158
|
name: string;
|
|
157
159
|
restrict: string;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export function ngMessagesDirective($animate: any): {
|
|
2
|
+
require: string;
|
|
3
|
+
restrict: string;
|
|
4
|
+
controller: ($element: any, $scope: any, $attrs: any) => NgMessageCtrl;
|
|
5
|
+
};
|
|
6
|
+
export namespace ngMessagesDirective {
|
|
7
|
+
let $inject: string[];
|
|
8
|
+
}
|
|
9
|
+
export function ngMessagesIncludeDirective($templateRequest: any, $compile: any): {
|
|
10
|
+
restrict: string;
|
|
11
|
+
require: string;
|
|
12
|
+
link($scope: any, element: any, attrs: any): void;
|
|
13
|
+
};
|
|
14
|
+
export namespace ngMessagesIncludeDirective {
|
|
15
|
+
let $inject_1: string[];
|
|
16
|
+
export { $inject_1 as $inject };
|
|
17
|
+
}
|
|
18
|
+
export function ngMessageDirective($animate: any): {
|
|
19
|
+
restrict: string;
|
|
20
|
+
transclude: string;
|
|
21
|
+
priority: number;
|
|
22
|
+
terminal: boolean;
|
|
23
|
+
require: string;
|
|
24
|
+
link(scope: any, element: any, attrs: any, ngMessagesCtrl: any, $transclude: any): void;
|
|
25
|
+
};
|
|
26
|
+
export namespace ngMessageDirective {
|
|
27
|
+
let $inject_2: string[];
|
|
28
|
+
export { $inject_2 as $inject };
|
|
29
|
+
}
|
|
30
|
+
export function ngMessageExpDirective($animate: any): {
|
|
31
|
+
restrict: string;
|
|
32
|
+
transclude: string;
|
|
33
|
+
priority: number;
|
|
34
|
+
terminal: boolean;
|
|
35
|
+
require: string;
|
|
36
|
+
link(scope: any, element: any, attrs: any, ngMessagesCtrl: any, $transclude: any): void;
|
|
37
|
+
};
|
|
38
|
+
export namespace ngMessageExpDirective { }
|
|
39
|
+
export function ngMessageDefaultDirective($animate: any): {
|
|
40
|
+
restrict: string;
|
|
41
|
+
transclude: string;
|
|
42
|
+
priority: number;
|
|
43
|
+
terminal: boolean;
|
|
44
|
+
require: string;
|
|
45
|
+
link(scope: any, element: any, attrs: any, ngMessagesCtrl: any, $transclude: any): void;
|
|
46
|
+
};
|
|
47
|
+
export namespace ngMessageDefaultDirective { }
|
|
48
|
+
declare class NgMessageCtrl {
|
|
49
|
+
/**
|
|
50
|
+
* @param {import('../../shared/jqlite/jqlite').JQLite} $element
|
|
51
|
+
* @param {import('../../core/scope/scope').Scope} $scope
|
|
52
|
+
* @param {import('../../core/compile/attributes').Attributes} $attrs
|
|
53
|
+
* @param {*} $animate
|
|
54
|
+
*/
|
|
55
|
+
constructor($element: import("../../shared/jqlite/jqlite").JQLite, $scope: import("../../core/scope/scope").Scope, $attrs: import("../../core/compile/attributes").Attributes, $animate: any);
|
|
56
|
+
$element: import("../../shared/jqlite/jqlite").JQLite;
|
|
57
|
+
$scope: import("../../core/scope/scope").Scope;
|
|
58
|
+
$attrs: import("../../core/compile/attributes").Attributes;
|
|
59
|
+
$animate: any;
|
|
60
|
+
latestKey: number;
|
|
61
|
+
nextAttachId: number;
|
|
62
|
+
messages: {};
|
|
63
|
+
renderLater: boolean;
|
|
64
|
+
cachedCollection: {};
|
|
65
|
+
head: any;
|
|
66
|
+
default: any;
|
|
67
|
+
getAttachId(): number;
|
|
68
|
+
render(collection?: {}): void;
|
|
69
|
+
reRender(): void;
|
|
70
|
+
register(comment: any, messageCtrl: any, isDefault: any): void;
|
|
71
|
+
deregister(comment: any, isDefault: any): void;
|
|
72
|
+
findPreviousMessage(parent: any, comment: any): any;
|
|
73
|
+
insertMessageNode(parent: any, comment: any, key: any): void;
|
|
74
|
+
removeMessageNode(parent: any, comment: any, key: any): void;
|
|
75
|
+
}
|
|
76
|
+
export {};
|