@angular-wave/angular.ts 0.0.41 → 0.0.42
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/README.md +27 -0
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/core/compile/compile.js +1 -1
- package/src/core/compile/compile.md +2 -5
- package/src/core/exception-handler.js +6 -6
- package/src/core/interpolate/interpolate.js +1 -1
- package/src/core/location/location.spec.js +0 -4
- package/src/core/q/q.js +1 -1
- package/src/core/scope/scope.js +1 -1
- package/src/core/task-tracker-factory.js +2 -2
- package/src/core/timeout/timeout.js +1 -1
- package/src/core/url-utils/url-utils.js +0 -2
- package/src/directive/bind/bind.js +2 -2
- package/src/directive/change/change.js +1 -1
- package/src/directive/cloak/cloak.js +1 -1
- package/src/directive/events/events.js +1 -1
- package/src/directive/form/form.js +2 -2
- package/src/directive/init/init.js +1 -1
- package/src/directive/list/list.js +1 -1
- package/src/directive/model/model.js +1 -1
- package/src/directive/model-options/model-options.js +56 -421
- package/src/directive/model-options/model-options.md +407 -0
- package/src/directive/model-options/model-options.spec.js +1 -1
- package/src/directive/non-bindable/non-bindable.js +1 -2
- package/src/directive/style/style.js +1 -1
- package/src/directive/switch/switch.js +2 -2
- package/src/directive/transclude/transclude.js +2 -2
- package/src/index.js +0 -461
- package/src/loader.js +1 -1
- package/src/public.js +1 -1
- package/src/router/template-factory.js +2 -2
- package/src/router/view-scroll.js +1 -1
- package/src/services/browser.js +1 -1
- package/src/services/document.js +2 -2
- package/src/services/log.js +1 -1
- package/src/services/template-request.js +1 -1
- package/src/shared/jqlite/jqlite.js +52 -44
- package/src/shared/jqlite/jqlite.spec.js +0 -1
- package/src/shared/utils.js +1 -1
- package/src/types.js +447 -9
- package/tsconfig.json +1 -1
- package/types/animations/shared.d.ts +1 -1
- package/types/core/exception-handler.d.ts +5 -7
- package/types/core/interpolate/interpolate.d.ts +1 -1
- package/types/core/q/q.d.ts +1 -1
- package/types/core/task-tracker-factory.d.ts +5 -5
- package/types/core/timeout/timeout.d.ts +2 -2
- package/types/directive/bind/bind.d.ts +4 -4
- package/types/directive/change/change.d.ts +2 -2
- package/types/directive/cloak/cloak.d.ts +2 -2
- package/types/directive/init/init.d.ts +2 -2
- package/types/directive/list/list.d.ts +2 -2
- package/types/directive/model/model.d.ts +13 -7
- package/types/directive/model-options/model-options.d.ts +49 -0
- package/types/directive/non-bindable/non-bindable.d.ts +2 -3
- package/types/directive/style/style.d.ts +2 -2
- package/types/directive/switch/switch.d.ts +4 -4
- package/types/index.d.ts +1 -702
- package/types/public.d.ts +2 -2
- package/types/router/template-factory.d.ts +4 -4
- package/types/services/browser.d.ts +3 -3
- package/types/services/document.d.ts +4 -6
- package/types/services/log.d.ts +2 -2
- package/types/services/template-request.d.ts +1 -1
- package/types/shared/jqlite/jqlite.d.ts +10 -2
- package/types/shared/utils.d.ts +2 -2
- package/types/types.d.ts +437 -33
- package/types-back/index.d.ts +1 -27
- package/types-back/jqlite.d.ts +0 -81
- package/types-back/global.d.ts +0 -11
package/types-back/jqlite.d.ts
CHANGED
|
@@ -143,87 +143,6 @@ interface JQLite {
|
|
|
143
143
|
*/
|
|
144
144
|
html(func: (index: number, oldhtml: string) => string): this;
|
|
145
145
|
|
|
146
|
-
/**
|
|
147
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
148
|
-
*
|
|
149
|
-
* @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
|
150
|
-
* @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).
|
|
151
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
|
|
152
|
-
*/
|
|
153
|
-
on(
|
|
154
|
-
events: string,
|
|
155
|
-
handler: (eventObject: JQueryEventObject, ...args: any[]) => any,
|
|
156
|
-
): this;
|
|
157
|
-
/**
|
|
158
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
159
|
-
*
|
|
160
|
-
* @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
|
161
|
-
* @param data Data to be passed to the handler in event.data when an event is triggered.
|
|
162
|
-
* @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
|
163
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
|
|
164
|
-
*/
|
|
165
|
-
on(
|
|
166
|
-
events: string,
|
|
167
|
-
data: any,
|
|
168
|
-
handler: (eventObject: JQueryEventObject, ...args: any[]) => any,
|
|
169
|
-
): this;
|
|
170
|
-
/**
|
|
171
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
172
|
-
*
|
|
173
|
-
* @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
|
174
|
-
* @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
|
175
|
-
* @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
|
176
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
|
|
177
|
-
*/
|
|
178
|
-
on(
|
|
179
|
-
events: string,
|
|
180
|
-
selector: string,
|
|
181
|
-
handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any,
|
|
182
|
-
): this;
|
|
183
|
-
/**
|
|
184
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
185
|
-
*
|
|
186
|
-
* @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
|
|
187
|
-
* @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
|
|
188
|
-
* @param data Data to be passed to the handler in event.data when an event is triggered.
|
|
189
|
-
* @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
|
|
190
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
|
|
191
|
-
*/
|
|
192
|
-
on(
|
|
193
|
-
events: string,
|
|
194
|
-
selector: string,
|
|
195
|
-
data: any,
|
|
196
|
-
handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any,
|
|
197
|
-
): this;
|
|
198
|
-
/**
|
|
199
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
200
|
-
*
|
|
201
|
-
* @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
|
202
|
-
* @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
|
|
203
|
-
* @param data Data to be passed to the handler in event.data when an event occurs.
|
|
204
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data}
|
|
205
|
-
*/
|
|
206
|
-
on(
|
|
207
|
-
events: {
|
|
208
|
-
[key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any;
|
|
209
|
-
},
|
|
210
|
-
selector?: string,
|
|
211
|
-
data?: any,
|
|
212
|
-
): this;
|
|
213
|
-
/**
|
|
214
|
-
* Attach an event handler function for one or more events to the selected elements.
|
|
215
|
-
*
|
|
216
|
-
* @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
|
|
217
|
-
* @param data Data to be passed to the handler in event.data when an event occurs.
|
|
218
|
-
* @see {@link https://api.jquery.com/on/#on-events-selector-data}
|
|
219
|
-
*/
|
|
220
|
-
on(
|
|
221
|
-
events: {
|
|
222
|
-
[key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any;
|
|
223
|
-
},
|
|
224
|
-
data?: any,
|
|
225
|
-
): this;
|
|
226
|
-
|
|
227
146
|
/**
|
|
228
147
|
* Remove an event handler.
|
|
229
148
|
* @see {@link https://api.jquery.com/off/#off}
|