mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 12:18:21 +01:00
fix bug
This commit is contained in:
parent
301863034d
commit
bbad08d310
Binary file not shown.
@ -45,7 +45,6 @@
|
|||||||
"src": [
|
"src": [
|
||||||
"package.json",
|
"package.json",
|
||||||
"README.md",
|
"README.md",
|
||||||
"scheme.html",
|
|
||||||
"core"
|
"core"
|
||||||
],
|
],
|
||||||
"dest":"build/debug"
|
"dest":"build/debug"
|
||||||
@ -54,7 +53,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"release": {
|
"release": {
|
||||||
"depend": ["clean","build","uglify", "copy"],
|
"depend": ["build","uglify", "copy"],
|
||||||
"require": ["zip"],
|
"require": ["zip"],
|
||||||
"jobs": [
|
"jobs": [
|
||||||
{
|
{
|
||||||
|
492
libantosdk/build/debug/core/ts/jquery.d.ts
vendored
492
libantosdk/build/debug/core/ts/jquery.d.ts
vendored
@ -1,95 +1,3 @@
|
|||||||
// Type definitions for sizzle 2.3
|
|
||||||
// Project: https://sizzlejs.com
|
|
||||||
// Definitions by: Leonard Thieu <https://github.com/leonard-thieu>
|
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
||||||
// TypeScript Version: 2.3
|
|
||||||
|
|
||||||
export as namespace Sizzle;
|
|
||||||
|
|
||||||
declare const Sizzle: SizzleStatic;
|
|
||||||
export = Sizzle;
|
|
||||||
|
|
||||||
interface SizzleStatic {
|
|
||||||
selectors: Sizzle.Selectors;
|
|
||||||
<TArrayLike extends ArrayLike<Element>>(selector: string, context: Element | Document | DocumentFragment, results: TArrayLike): TArrayLike;
|
|
||||||
(selector: string, context?: Element | Document | DocumentFragment): Element[];
|
|
||||||
// tslint:disable-next-line:ban-types
|
|
||||||
compile(selector: string): Function;
|
|
||||||
matchSelector(element: Element, selector: string): boolean;
|
|
||||||
matches(selector: string, elements: Element[]): Element[];
|
|
||||||
}
|
|
||||||
|
|
||||||
declare namespace Sizzle {
|
|
||||||
interface Selectors {
|
|
||||||
cacheLength: number;
|
|
||||||
match: Selectors.Matches;
|
|
||||||
find: Selectors.FindFunctions;
|
|
||||||
preFilter: Selectors.PreFilterFunctions;
|
|
||||||
filter: Selectors.FilterFunctions;
|
|
||||||
attrHandle: Selectors.AttrHandleFunctions;
|
|
||||||
pseudos: Selectors.PseudoFunctions;
|
|
||||||
setFilters: Selectors.SetFilterFunctions;
|
|
||||||
createPseudo(fn: Selectors.CreatePseudoFunction): Selectors.PseudoFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace Selectors {
|
|
||||||
interface Matches {
|
|
||||||
[name: string]: RegExp;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FindFunction {
|
|
||||||
(match: RegExpMatchArray, context: Element | Document, isXML: boolean): Element[] | void;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FindFunctions {
|
|
||||||
[name: string]: FindFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PreFilterFunction {
|
|
||||||
(match: RegExpMatchArray): string[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PreFilterFunctions {
|
|
||||||
[name: string]: PreFilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FilterFunction {
|
|
||||||
(element: string, ...matches: string[]): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FilterFunctions {
|
|
||||||
[name: string]: FilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AttrHandleFunction {
|
|
||||||
(elem: any, casePreservedName: string, isXML: boolean): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AttrHandleFunctions {
|
|
||||||
[name: string]: AttrHandleFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PseudoFunction {
|
|
||||||
(elem: Element): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PseudoFunctions {
|
|
||||||
[name: string]: PseudoFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SetFilterFunction {
|
|
||||||
(elements: Element[], argument: number, not: boolean): Element[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SetFilterFunctions {
|
|
||||||
[name: string]: SetFilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface CreatePseudoFunction {
|
|
||||||
(...args: any[]): PseudoFunction;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// tslint:disable:jsdoc-format
|
// tslint:disable:jsdoc-format
|
||||||
// tslint:disable:max-line-length
|
// tslint:disable:max-line-length
|
||||||
// tslint:disable:no-irregular-whitespace
|
// tslint:disable:no-irregular-whitespace
|
||||||
@ -26633,206 +26541,6 @@ $.when( $.ajax( "/page1.php" ), $.ajax( "/page2.php" ) )
|
|||||||
*/
|
*/
|
||||||
when(...deferreds: any[]): JQuery.Promise<any, any, never>;
|
when(...deferreds: any[]): JQuery.Promise<any, any, never>;
|
||||||
}
|
}
|
||||||
// tslint:disable:no-irregular-whitespace
|
|
||||||
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryCallback extends JQuery.Callbacks { }
|
|
||||||
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryEventConstructor extends JQuery.EventStatic { }
|
|
||||||
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryAjaxSettings extends JQuery.AjaxSettings { }
|
|
||||||
interface JQueryAnimationOptions extends JQuery.EffectsOptions<Element> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryCoordinates extends JQuery.Coordinates { }
|
|
||||||
interface JQueryGenericPromise<T> extends JQuery.Thenable<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryXHR extends JQuery.jqXHR { }
|
|
||||||
interface JQueryPromise<T> extends JQuery.Promise<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQuerySerializeArrayElement extends JQuery.NameValuePair { }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated since 1.9. See \`{@link https://api.jquery.com/jQuery.support/ }\`.
|
|
||||||
*/
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQuerySupport extends JQuery.PlainObject { }
|
|
||||||
|
|
||||||
// Legacy types that are not represented in the current type definitions are marked deprecated.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Deferred.Callback }\` or \`{@link JQuery.Deferred.CallbackBase }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryPromiseCallback<T> {
|
|
||||||
(value?: T, ...args: any[]): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQueryStatic.param JQueryStatic['param']}\`.
|
|
||||||
*/
|
|
||||||
interface JQueryParam {
|
|
||||||
/**
|
|
||||||
* Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
|
||||||
* @param obj An array or object to serialize.
|
|
||||||
* @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
|
|
||||||
*/
|
|
||||||
(obj: any, traditional?: boolean): string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface BaseJQueryEventObject extends Event {
|
|
||||||
/**
|
|
||||||
* The current DOM element within the event bubbling phase.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.currentTarget/ }\`
|
|
||||||
*/
|
|
||||||
currentTarget: Element;
|
|
||||||
/**
|
|
||||||
* An optional object of data passed to an event method when the current executing handler is bound.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.data/ }\`
|
|
||||||
*/
|
|
||||||
data: any;
|
|
||||||
/**
|
|
||||||
* The element where the currently-called jQuery event handler was attached.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.delegateTarget/ }\`
|
|
||||||
*/
|
|
||||||
delegateTarget: Element;
|
|
||||||
/**
|
|
||||||
* Returns whether event.preventDefault() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isDefaultPrevented/ }\`
|
|
||||||
*/
|
|
||||||
isDefaultPrevented(): boolean;
|
|
||||||
/**
|
|
||||||
* Returns whether event.stopImmediatePropagation() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isImmediatePropagationStopped/ }\`
|
|
||||||
*/
|
|
||||||
isImmediatePropagationStopped(): boolean;
|
|
||||||
/**
|
|
||||||
* Returns whether event.stopPropagation() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isPropagationStopped/ }\`
|
|
||||||
*/
|
|
||||||
isPropagationStopped(): boolean;
|
|
||||||
/**
|
|
||||||
* The namespace specified when the event was triggered.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.namespace/ }\`
|
|
||||||
*/
|
|
||||||
namespace: string;
|
|
||||||
/**
|
|
||||||
* The browser's original Event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/category/events/event-object/ }\`
|
|
||||||
*/
|
|
||||||
originalEvent: Event;
|
|
||||||
/**
|
|
||||||
* If this method is called, the default action of the event will not be triggered.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.preventDefault/ }\`
|
|
||||||
*/
|
|
||||||
preventDefault(): any;
|
|
||||||
/**
|
|
||||||
* The other DOM element involved in the event, if any.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.relatedTarget/ }\`
|
|
||||||
*/
|
|
||||||
relatedTarget: Element;
|
|
||||||
/**
|
|
||||||
* The last value returned by an event handler that was triggered by this event, unless the value was undefined.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.result/ }\`
|
|
||||||
*/
|
|
||||||
result: any;
|
|
||||||
/**
|
|
||||||
* Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.stopImmediatePropagation/ }\`
|
|
||||||
*/
|
|
||||||
stopImmediatePropagation(): void;
|
|
||||||
/**
|
|
||||||
* Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.stopPropagation/ }\`
|
|
||||||
*/
|
|
||||||
stopPropagation(): void;
|
|
||||||
/**
|
|
||||||
* The DOM element that initiated the event.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.target/ }\`
|
|
||||||
*/
|
|
||||||
target: Element;
|
|
||||||
/**
|
|
||||||
* The mouse position relative to the left edge of the document.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.pageX/ }\`
|
|
||||||
*/
|
|
||||||
pageX: number;
|
|
||||||
/**
|
|
||||||
* The mouse position relative to the top edge of the document.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.pageY/ }\`
|
|
||||||
*/
|
|
||||||
pageY: number;
|
|
||||||
/**
|
|
||||||
* For key or mouse events, this property indicates the specific key or button that was pressed.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.which/ }\`
|
|
||||||
*/
|
|
||||||
which: number;
|
|
||||||
/**
|
|
||||||
* Indicates whether the META key was pressed when the event fired.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.metaKey/ }\`
|
|
||||||
*/
|
|
||||||
metaKey: boolean;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryInputEventObject extends BaseJQueryEventObject {
|
|
||||||
altKey: boolean;
|
|
||||||
ctrlKey: boolean;
|
|
||||||
metaKey: boolean;
|
|
||||||
shiftKey: boolean;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryMouseEventObject extends JQueryInputEventObject {
|
|
||||||
button: number;
|
|
||||||
clientX: number;
|
|
||||||
clientY: number;
|
|
||||||
offsetX: number;
|
|
||||||
offsetY: number;
|
|
||||||
pageX: number;
|
|
||||||
pageY: number;
|
|
||||||
screenX: number;
|
|
||||||
screenY: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryKeyEventObject extends JQueryInputEventObject {
|
|
||||||
/** @deprecated */
|
|
||||||
char: string;
|
|
||||||
/** @deprecated */
|
|
||||||
charCode: number;
|
|
||||||
key: string;
|
|
||||||
/** @deprecated */
|
|
||||||
keyCode: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject { }
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated.
|
|
||||||
*/
|
|
||||||
interface JQueryPromiseOperator<T, U> {
|
|
||||||
(callback1: JQuery.TypeOrArray<JQueryPromiseCallback<T>>,
|
|
||||||
...callbacksN: Array<JQuery.TypeOrArray<JQueryPromiseCallback<any>>>): JQueryPromise<U>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEasingFunction {
|
|
||||||
(percent: number): number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEasingFunctions {
|
|
||||||
[name: string]: JQueryEasingFunction;
|
|
||||||
linear: JQueryEasingFunction;
|
|
||||||
swing: JQueryEasingFunction;
|
|
||||||
}
|
|
||||||
// tslint:disable:jsdoc-format
|
// tslint:disable:jsdoc-format
|
||||||
// tslint:disable:max-line-length
|
// tslint:disable:max-line-length
|
||||||
// tslint:disable:no-irregular-whitespace
|
// tslint:disable:no-irregular-whitespace
|
||||||
@ -33481,3 +33189,203 @@ interface SymbolConstructor {
|
|||||||
declare var Symbol: SymbolConstructor;
|
declare var Symbol: SymbolConstructor;
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
|
// tslint:disable:no-irregular-whitespace
|
||||||
|
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryCallback extends JQuery.Callbacks { }
|
||||||
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryEventConstructor extends JQuery.EventStatic { }
|
||||||
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryAjaxSettings extends JQuery.AjaxSettings { }
|
||||||
|
interface JQueryAnimationOptions extends JQuery.EffectsOptions<Element> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryCoordinates extends JQuery.Coordinates { }
|
||||||
|
interface JQueryGenericPromise<T> extends JQuery.Thenable<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryXHR extends JQuery.jqXHR { }
|
||||||
|
interface JQueryPromise<T> extends JQuery.Promise<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQuerySerializeArrayElement extends JQuery.NameValuePair { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated since 1.9. See \`{@link https://api.jquery.com/jQuery.support/ }\`.
|
||||||
|
*/
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQuerySupport extends JQuery.PlainObject { }
|
||||||
|
|
||||||
|
// Legacy types that are not represented in the current type definitions are marked deprecated.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Deferred.Callback }\` or \`{@link JQuery.Deferred.CallbackBase }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryPromiseCallback<T> {
|
||||||
|
(value?: T, ...args: any[]): void;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQueryStatic.param JQueryStatic['param']}\`.
|
||||||
|
*/
|
||||||
|
interface JQueryParam {
|
||||||
|
/**
|
||||||
|
* Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
||||||
|
* @param obj An array or object to serialize.
|
||||||
|
* @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
|
||||||
|
*/
|
||||||
|
(obj: any, traditional?: boolean): string;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface BaseJQueryEventObject extends Event {
|
||||||
|
/**
|
||||||
|
* The current DOM element within the event bubbling phase.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.currentTarget/ }\`
|
||||||
|
*/
|
||||||
|
currentTarget: Element;
|
||||||
|
/**
|
||||||
|
* An optional object of data passed to an event method when the current executing handler is bound.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.data/ }\`
|
||||||
|
*/
|
||||||
|
data: any;
|
||||||
|
/**
|
||||||
|
* The element where the currently-called jQuery event handler was attached.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.delegateTarget/ }\`
|
||||||
|
*/
|
||||||
|
delegateTarget: Element;
|
||||||
|
/**
|
||||||
|
* Returns whether event.preventDefault() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isDefaultPrevented/ }\`
|
||||||
|
*/
|
||||||
|
isDefaultPrevented(): boolean;
|
||||||
|
/**
|
||||||
|
* Returns whether event.stopImmediatePropagation() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isImmediatePropagationStopped/ }\`
|
||||||
|
*/
|
||||||
|
isImmediatePropagationStopped(): boolean;
|
||||||
|
/**
|
||||||
|
* Returns whether event.stopPropagation() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isPropagationStopped/ }\`
|
||||||
|
*/
|
||||||
|
isPropagationStopped(): boolean;
|
||||||
|
/**
|
||||||
|
* The namespace specified when the event was triggered.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.namespace/ }\`
|
||||||
|
*/
|
||||||
|
namespace: string;
|
||||||
|
/**
|
||||||
|
* The browser's original Event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/category/events/event-object/ }\`
|
||||||
|
*/
|
||||||
|
originalEvent: Event;
|
||||||
|
/**
|
||||||
|
* If this method is called, the default action of the event will not be triggered.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.preventDefault/ }\`
|
||||||
|
*/
|
||||||
|
preventDefault(): any;
|
||||||
|
/**
|
||||||
|
* The other DOM element involved in the event, if any.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.relatedTarget/ }\`
|
||||||
|
*/
|
||||||
|
relatedTarget: Element;
|
||||||
|
/**
|
||||||
|
* The last value returned by an event handler that was triggered by this event, unless the value was undefined.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.result/ }\`
|
||||||
|
*/
|
||||||
|
result: any;
|
||||||
|
/**
|
||||||
|
* Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.stopImmediatePropagation/ }\`
|
||||||
|
*/
|
||||||
|
stopImmediatePropagation(): void;
|
||||||
|
/**
|
||||||
|
* Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.stopPropagation/ }\`
|
||||||
|
*/
|
||||||
|
stopPropagation(): void;
|
||||||
|
/**
|
||||||
|
* The DOM element that initiated the event.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.target/ }\`
|
||||||
|
*/
|
||||||
|
target: Element;
|
||||||
|
/**
|
||||||
|
* The mouse position relative to the left edge of the document.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.pageX/ }\`
|
||||||
|
*/
|
||||||
|
pageX: number;
|
||||||
|
/**
|
||||||
|
* The mouse position relative to the top edge of the document.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.pageY/ }\`
|
||||||
|
*/
|
||||||
|
pageY: number;
|
||||||
|
/**
|
||||||
|
* For key or mouse events, this property indicates the specific key or button that was pressed.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.which/ }\`
|
||||||
|
*/
|
||||||
|
which: number;
|
||||||
|
/**
|
||||||
|
* Indicates whether the META key was pressed when the event fired.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.metaKey/ }\`
|
||||||
|
*/
|
||||||
|
metaKey: boolean;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryInputEventObject extends BaseJQueryEventObject {
|
||||||
|
altKey: boolean;
|
||||||
|
ctrlKey: boolean;
|
||||||
|
metaKey: boolean;
|
||||||
|
shiftKey: boolean;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryMouseEventObject extends JQueryInputEventObject {
|
||||||
|
button: number;
|
||||||
|
clientX: number;
|
||||||
|
clientY: number;
|
||||||
|
offsetX: number;
|
||||||
|
offsetY: number;
|
||||||
|
pageX: number;
|
||||||
|
pageY: number;
|
||||||
|
screenX: number;
|
||||||
|
screenY: number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryKeyEventObject extends JQueryInputEventObject {
|
||||||
|
/** @deprecated */
|
||||||
|
char: string;
|
||||||
|
/** @deprecated */
|
||||||
|
charCode: number;
|
||||||
|
key: string;
|
||||||
|
/** @deprecated */
|
||||||
|
keyCode: number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject { }
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated.
|
||||||
|
*/
|
||||||
|
interface JQueryPromiseOperator<T, U> {
|
||||||
|
(callback1: JQuery.TypeOrArray<JQueryPromiseCallback<T>>,
|
||||||
|
...callbacksN: Array<JQuery.TypeOrArray<JQueryPromiseCallback<any>>>): JQueryPromise<U>;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEasingFunction {
|
||||||
|
(percent: number): number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEasingFunctions {
|
||||||
|
[name: string]: JQueryEasingFunction;
|
||||||
|
linear: JQueryEasingFunction;
|
||||||
|
swing: JQueryEasingFunction;
|
||||||
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
var OS;!function(t){let e;!function(e){class r{constructor(e){this.worker=new Worker(e.asFileHandle().getlink()),this.jobs={},this.worker.onmessage=t=>{let e=t.data,r=this.jobs[e.id];r?"log"===e.type?r.logger&&(e.error?r.logger.error(e.result):r.logger.info(e.result)):(r.callback(e),delete this.jobs[e.id]):console.log("Unable to identify result of job",e.id,e)};const r={};for(const e in t.setting.system.packages){const o=t.setting.system.packages[e];r[e]={path:o.path,name:o.pkgname}}this.submit("sdk-setup",{REST:t.API.REST,pkgs:r})}newJobID(){return"job_"+Math.random().toString(36).replace(".","")}exectue_job(t,e,r,o,s){const i=this.newJobID(),n={id:i,cmd:t,data:e,root:r};this.jobs[i]={callback:o,logger:s},this.worker.postMessage(n)}submit(t,e,r,o){return new Promise((s,i)=>{this.exectue_job(t,e,r,t=>{if(t.error)return i(t.error);s(t.result)},o)})}terminate(){this.worker.terminate()}}class o{constructor(t,e){this.root=e,this.logger=t,o.worker||(o.worker=new r("pkg://libantosdk/core/worker.js"))}require(t){return this.run("sdk-import",t.map(t=>t+".worker.js"))}compile(t,e){return new Promise(async(r,o)=>{try{await this.require([t]),r(await this.run(t+"-compile",e))}catch(t){o(__e(t))}})}run(t,e){return o.worker.submit(t,e,this.root,this.logger)}batch(t,e){return e.root&&(this.root=e.root),new Promise(async(r,o)=>{try{e.targets||o("No target found");for(const r of t){const t=e.targets[r];if(!t)return o(__("No target: "+r));if(t.depend&&await this.batch(t.depend,e),t.require&&await this.require(t.require),this.logger&&this.logger.info(__(`### RUNNING STAGE: ${r}###`).__()),t.jobs)for(const e of t.jobs)await this.run(e.name,e.data)}r(void 0)}catch(t){o(t)}})}}let s;e.AntOSDKBuilder=o,function(t){class e extends t.RemoteFileHandle{constructor(t){super(t);const e="pkg://libantosdk/"+this.genealogy.join("/");this.setPath(e.asFileHandle().path)}}t.SDKFileHandle=e,t.register("^sdk$",e)}(s=e.VFS||(e.VFS={}))}(e=t.API||(t.API={}))}(OS||(OS={}));
|
var OS;!function(t){let e;!function(e){class r{constructor(e){this.worker=new Worker(e.asFileHandle().getlink()),this.jobs={},this.worker.onmessage=t=>{let e=t.data,r=this.jobs[e.id];r?"log"===e.type?r.logger&&(e.error?r.logger.error(e.result):r.logger.info(e.result)):(r.callback(e),delete this.jobs[e.id]):console.log("Unable to identify result of job",e.id,e)};const r={};for(const e in t.setting.system.packages){const o=t.setting.system.packages[e];r[e]={path:o.path,name:o.pkgname}}this.submit("sdk-setup",{REST:t.API.REST,pkgs:r})}newJobID(){return"job_"+Math.random().toString(36).replace(".","")}exectue_job(t,e,r,o,s){const i=this.newJobID(),n={id:i,cmd:t,data:e,root:r};this.jobs[i]={callback:o,logger:s},this.worker.postMessage(n)}submit(t,e,r,o){return new Promise((s,i)=>{this.exectue_job(t,e,r,t=>{if(t.error)return i(t.error);s(t.result)},o)})}terminate(){this.worker.terminate()}}class o{constructor(t,e){this.root=e,this.logger=t,o.worker||(o.worker=new r("pkg://libantosdk/core/worker.js"))}require(t){return this.run("sdk-import",t.map(t=>t+".worker.js"))}compile(t,e){return new Promise(async(r,o)=>{try{await this.require([t]),r(await this.run(t+"-compile",e))}catch(t){o(__e(t))}})}run(t,e){return o.worker.submit(t,e,this.root,this.logger)}batch(t,e){return e.root&&(this.root=e.root),new Promise(async(r,o)=>{try{e.targets||o("No target found");for(const r of t){const t=e.targets[r];if(!t)return o(__("No target: "+r));if(t.depend&&await this.batch(t.depend,e),t.require&&await this.require(t.require),this.logger&&this.logger.info(__(`### RUNNING STAGE: ${r}###`).__()),t.jobs)for(const e of t.jobs)await this.run(e.name,e.data)}r(void 0)}catch(t){o(t)}})}}let s;e.AntOSDKBuilder=o,function(t){class e extends t.RemoteFileHandle{constructor(t){super(t);const e="pkg://libantosdk/"+this.genealogy.join("/");this.setPath(e.asFileHandle().path)}}t.SDKFileHandle=e,t.register("^sdk$",e)}(s=e.VFS||(e.VFS={}))}(e=t.API||(t.API={}))}(OS||(OS={})),function(){}.call(this);
|
@ -1,16 +0,0 @@
|
|||||||
<afx-app-window apptitle="__(Test SDK)" width="450" height="500" data-id="TestSDK">
|
|
||||||
<afx-vbox >
|
|
||||||
<div data-height="10"></div>
|
|
||||||
<afx-hbox data-id="wrapper">
|
|
||||||
<div data-width="10"></div>
|
|
||||||
<div data-id="container"></div>
|
|
||||||
<div data-width="10"></div>
|
|
||||||
</afx-hbox>
|
|
||||||
<div data-height="5"></div>
|
|
||||||
<afx-hbox data-height="23" style="text-align: right;">
|
|
||||||
<afx-button data-id="btnsend" text="__(Send)"></afx-button>
|
|
||||||
<div data-width="5"></div>
|
|
||||||
</afx-hbox>
|
|
||||||
<div data-height="10"></div>
|
|
||||||
</afx-vbox>
|
|
||||||
</afx-app-window>
|
|
Binary file not shown.
492
libantosdk/core/ts/jquery.d.ts
vendored
492
libantosdk/core/ts/jquery.d.ts
vendored
@ -1,95 +1,3 @@
|
|||||||
// Type definitions for sizzle 2.3
|
|
||||||
// Project: https://sizzlejs.com
|
|
||||||
// Definitions by: Leonard Thieu <https://github.com/leonard-thieu>
|
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
||||||
// TypeScript Version: 2.3
|
|
||||||
|
|
||||||
export as namespace Sizzle;
|
|
||||||
|
|
||||||
declare const Sizzle: SizzleStatic;
|
|
||||||
export = Sizzle;
|
|
||||||
|
|
||||||
interface SizzleStatic {
|
|
||||||
selectors: Sizzle.Selectors;
|
|
||||||
<TArrayLike extends ArrayLike<Element>>(selector: string, context: Element | Document | DocumentFragment, results: TArrayLike): TArrayLike;
|
|
||||||
(selector: string, context?: Element | Document | DocumentFragment): Element[];
|
|
||||||
// tslint:disable-next-line:ban-types
|
|
||||||
compile(selector: string): Function;
|
|
||||||
matchSelector(element: Element, selector: string): boolean;
|
|
||||||
matches(selector: string, elements: Element[]): Element[];
|
|
||||||
}
|
|
||||||
|
|
||||||
declare namespace Sizzle {
|
|
||||||
interface Selectors {
|
|
||||||
cacheLength: number;
|
|
||||||
match: Selectors.Matches;
|
|
||||||
find: Selectors.FindFunctions;
|
|
||||||
preFilter: Selectors.PreFilterFunctions;
|
|
||||||
filter: Selectors.FilterFunctions;
|
|
||||||
attrHandle: Selectors.AttrHandleFunctions;
|
|
||||||
pseudos: Selectors.PseudoFunctions;
|
|
||||||
setFilters: Selectors.SetFilterFunctions;
|
|
||||||
createPseudo(fn: Selectors.CreatePseudoFunction): Selectors.PseudoFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace Selectors {
|
|
||||||
interface Matches {
|
|
||||||
[name: string]: RegExp;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FindFunction {
|
|
||||||
(match: RegExpMatchArray, context: Element | Document, isXML: boolean): Element[] | void;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FindFunctions {
|
|
||||||
[name: string]: FindFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PreFilterFunction {
|
|
||||||
(match: RegExpMatchArray): string[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PreFilterFunctions {
|
|
||||||
[name: string]: PreFilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FilterFunction {
|
|
||||||
(element: string, ...matches: string[]): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FilterFunctions {
|
|
||||||
[name: string]: FilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AttrHandleFunction {
|
|
||||||
(elem: any, casePreservedName: string, isXML: boolean): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AttrHandleFunctions {
|
|
||||||
[name: string]: AttrHandleFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PseudoFunction {
|
|
||||||
(elem: Element): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PseudoFunctions {
|
|
||||||
[name: string]: PseudoFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SetFilterFunction {
|
|
||||||
(elements: Element[], argument: number, not: boolean): Element[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SetFilterFunctions {
|
|
||||||
[name: string]: SetFilterFunction;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface CreatePseudoFunction {
|
|
||||||
(...args: any[]): PseudoFunction;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// tslint:disable:jsdoc-format
|
// tslint:disable:jsdoc-format
|
||||||
// tslint:disable:max-line-length
|
// tslint:disable:max-line-length
|
||||||
// tslint:disable:no-irregular-whitespace
|
// tslint:disable:no-irregular-whitespace
|
||||||
@ -26633,206 +26541,6 @@ $.when( $.ajax( "/page1.php" ), $.ajax( "/page2.php" ) )
|
|||||||
*/
|
*/
|
||||||
when(...deferreds: any[]): JQuery.Promise<any, any, never>;
|
when(...deferreds: any[]): JQuery.Promise<any, any, never>;
|
||||||
}
|
}
|
||||||
// tslint:disable:no-irregular-whitespace
|
|
||||||
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryCallback extends JQuery.Callbacks { }
|
|
||||||
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryEventConstructor extends JQuery.EventStatic { }
|
|
||||||
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryAjaxSettings extends JQuery.AjaxSettings { }
|
|
||||||
interface JQueryAnimationOptions extends JQuery.EffectsOptions<Element> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryCoordinates extends JQuery.Coordinates { }
|
|
||||||
interface JQueryGenericPromise<T> extends JQuery.Thenable<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQueryXHR extends JQuery.jqXHR { }
|
|
||||||
interface JQueryPromise<T> extends JQuery.Promise<T> { }
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQuerySerializeArrayElement extends JQuery.NameValuePair { }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated since 1.9. See \`{@link https://api.jquery.com/jQuery.support/ }\`.
|
|
||||||
*/
|
|
||||||
// tslint:disable-next-line:no-empty-interface
|
|
||||||
interface JQuerySupport extends JQuery.PlainObject { }
|
|
||||||
|
|
||||||
// Legacy types that are not represented in the current type definitions are marked deprecated.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Deferred.Callback }\` or \`{@link JQuery.Deferred.CallbackBase }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryPromiseCallback<T> {
|
|
||||||
(value?: T, ...args: any[]): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQueryStatic.param JQueryStatic['param']}\`.
|
|
||||||
*/
|
|
||||||
interface JQueryParam {
|
|
||||||
/**
|
|
||||||
* Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
|
||||||
* @param obj An array or object to serialize.
|
|
||||||
* @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
|
|
||||||
*/
|
|
||||||
(obj: any, traditional?: boolean): string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface BaseJQueryEventObject extends Event {
|
|
||||||
/**
|
|
||||||
* The current DOM element within the event bubbling phase.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.currentTarget/ }\`
|
|
||||||
*/
|
|
||||||
currentTarget: Element;
|
|
||||||
/**
|
|
||||||
* An optional object of data passed to an event method when the current executing handler is bound.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.data/ }\`
|
|
||||||
*/
|
|
||||||
data: any;
|
|
||||||
/**
|
|
||||||
* The element where the currently-called jQuery event handler was attached.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.delegateTarget/ }\`
|
|
||||||
*/
|
|
||||||
delegateTarget: Element;
|
|
||||||
/**
|
|
||||||
* Returns whether event.preventDefault() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isDefaultPrevented/ }\`
|
|
||||||
*/
|
|
||||||
isDefaultPrevented(): boolean;
|
|
||||||
/**
|
|
||||||
* Returns whether event.stopImmediatePropagation() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isImmediatePropagationStopped/ }\`
|
|
||||||
*/
|
|
||||||
isImmediatePropagationStopped(): boolean;
|
|
||||||
/**
|
|
||||||
* Returns whether event.stopPropagation() was ever called on this event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.isPropagationStopped/ }\`
|
|
||||||
*/
|
|
||||||
isPropagationStopped(): boolean;
|
|
||||||
/**
|
|
||||||
* The namespace specified when the event was triggered.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.namespace/ }\`
|
|
||||||
*/
|
|
||||||
namespace: string;
|
|
||||||
/**
|
|
||||||
* The browser's original Event object.
|
|
||||||
* @see \`{@link https://api.jquery.com/category/events/event-object/ }\`
|
|
||||||
*/
|
|
||||||
originalEvent: Event;
|
|
||||||
/**
|
|
||||||
* If this method is called, the default action of the event will not be triggered.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.preventDefault/ }\`
|
|
||||||
*/
|
|
||||||
preventDefault(): any;
|
|
||||||
/**
|
|
||||||
* The other DOM element involved in the event, if any.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.relatedTarget/ }\`
|
|
||||||
*/
|
|
||||||
relatedTarget: Element;
|
|
||||||
/**
|
|
||||||
* The last value returned by an event handler that was triggered by this event, unless the value was undefined.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.result/ }\`
|
|
||||||
*/
|
|
||||||
result: any;
|
|
||||||
/**
|
|
||||||
* Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.stopImmediatePropagation/ }\`
|
|
||||||
*/
|
|
||||||
stopImmediatePropagation(): void;
|
|
||||||
/**
|
|
||||||
* Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.stopPropagation/ }\`
|
|
||||||
*/
|
|
||||||
stopPropagation(): void;
|
|
||||||
/**
|
|
||||||
* The DOM element that initiated the event.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.target/ }\`
|
|
||||||
*/
|
|
||||||
target: Element;
|
|
||||||
/**
|
|
||||||
* The mouse position relative to the left edge of the document.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.pageX/ }\`
|
|
||||||
*/
|
|
||||||
pageX: number;
|
|
||||||
/**
|
|
||||||
* The mouse position relative to the top edge of the document.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.pageY/ }\`
|
|
||||||
*/
|
|
||||||
pageY: number;
|
|
||||||
/**
|
|
||||||
* For key or mouse events, this property indicates the specific key or button that was pressed.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.which/ }\`
|
|
||||||
*/
|
|
||||||
which: number;
|
|
||||||
/**
|
|
||||||
* Indicates whether the META key was pressed when the event fired.
|
|
||||||
* @see \`{@link https://api.jquery.com/event.metaKey/ }\`
|
|
||||||
*/
|
|
||||||
metaKey: boolean;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryInputEventObject extends BaseJQueryEventObject {
|
|
||||||
altKey: boolean;
|
|
||||||
ctrlKey: boolean;
|
|
||||||
metaKey: boolean;
|
|
||||||
shiftKey: boolean;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryMouseEventObject extends JQueryInputEventObject {
|
|
||||||
button: number;
|
|
||||||
clientX: number;
|
|
||||||
clientY: number;
|
|
||||||
offsetX: number;
|
|
||||||
offsetY: number;
|
|
||||||
pageX: number;
|
|
||||||
pageY: number;
|
|
||||||
screenX: number;
|
|
||||||
screenY: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryKeyEventObject extends JQueryInputEventObject {
|
|
||||||
/** @deprecated */
|
|
||||||
char: string;
|
|
||||||
/** @deprecated */
|
|
||||||
charCode: number;
|
|
||||||
key: string;
|
|
||||||
/** @deprecated */
|
|
||||||
keyCode: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject { }
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated.
|
|
||||||
*/
|
|
||||||
interface JQueryPromiseOperator<T, U> {
|
|
||||||
(callback1: JQuery.TypeOrArray<JQueryPromiseCallback<T>>,
|
|
||||||
...callbacksN: Array<JQuery.TypeOrArray<JQueryPromiseCallback<any>>>): JQueryPromise<U>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEasingFunction {
|
|
||||||
(percent: number): number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
|
||||||
*/
|
|
||||||
interface JQueryEasingFunctions {
|
|
||||||
[name: string]: JQueryEasingFunction;
|
|
||||||
linear: JQueryEasingFunction;
|
|
||||||
swing: JQueryEasingFunction;
|
|
||||||
}
|
|
||||||
// tslint:disable:jsdoc-format
|
// tslint:disable:jsdoc-format
|
||||||
// tslint:disable:max-line-length
|
// tslint:disable:max-line-length
|
||||||
// tslint:disable:no-irregular-whitespace
|
// tslint:disable:no-irregular-whitespace
|
||||||
@ -33481,3 +33189,203 @@ interface SymbolConstructor {
|
|||||||
declare var Symbol: SymbolConstructor;
|
declare var Symbol: SymbolConstructor;
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
|
// tslint:disable:no-irregular-whitespace
|
||||||
|
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryCallback extends JQuery.Callbacks { }
|
||||||
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryEventConstructor extends JQuery.EventStatic { }
|
||||||
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryAjaxSettings extends JQuery.AjaxSettings { }
|
||||||
|
interface JQueryAnimationOptions extends JQuery.EffectsOptions<Element> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryCoordinates extends JQuery.Coordinates { }
|
||||||
|
interface JQueryGenericPromise<T> extends JQuery.Thenable<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQueryXHR extends JQuery.jqXHR { }
|
||||||
|
interface JQueryPromise<T> extends JQuery.Promise<T> { }
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQuerySerializeArrayElement extends JQuery.NameValuePair { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated since 1.9. See \`{@link https://api.jquery.com/jQuery.support/ }\`.
|
||||||
|
*/
|
||||||
|
// tslint:disable-next-line:no-empty-interface
|
||||||
|
interface JQuerySupport extends JQuery.PlainObject { }
|
||||||
|
|
||||||
|
// Legacy types that are not represented in the current type definitions are marked deprecated.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Deferred.Callback }\` or \`{@link JQuery.Deferred.CallbackBase }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryPromiseCallback<T> {
|
||||||
|
(value?: T, ...args: any[]): void;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQueryStatic.param JQueryStatic['param']}\`.
|
||||||
|
*/
|
||||||
|
interface JQueryParam {
|
||||||
|
/**
|
||||||
|
* Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
|
||||||
|
* @param obj An array or object to serialize.
|
||||||
|
* @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
|
||||||
|
*/
|
||||||
|
(obj: any, traditional?: boolean): string;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface BaseJQueryEventObject extends Event {
|
||||||
|
/**
|
||||||
|
* The current DOM element within the event bubbling phase.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.currentTarget/ }\`
|
||||||
|
*/
|
||||||
|
currentTarget: Element;
|
||||||
|
/**
|
||||||
|
* An optional object of data passed to an event method when the current executing handler is bound.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.data/ }\`
|
||||||
|
*/
|
||||||
|
data: any;
|
||||||
|
/**
|
||||||
|
* The element where the currently-called jQuery event handler was attached.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.delegateTarget/ }\`
|
||||||
|
*/
|
||||||
|
delegateTarget: Element;
|
||||||
|
/**
|
||||||
|
* Returns whether event.preventDefault() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isDefaultPrevented/ }\`
|
||||||
|
*/
|
||||||
|
isDefaultPrevented(): boolean;
|
||||||
|
/**
|
||||||
|
* Returns whether event.stopImmediatePropagation() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isImmediatePropagationStopped/ }\`
|
||||||
|
*/
|
||||||
|
isImmediatePropagationStopped(): boolean;
|
||||||
|
/**
|
||||||
|
* Returns whether event.stopPropagation() was ever called on this event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.isPropagationStopped/ }\`
|
||||||
|
*/
|
||||||
|
isPropagationStopped(): boolean;
|
||||||
|
/**
|
||||||
|
* The namespace specified when the event was triggered.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.namespace/ }\`
|
||||||
|
*/
|
||||||
|
namespace: string;
|
||||||
|
/**
|
||||||
|
* The browser's original Event object.
|
||||||
|
* @see \`{@link https://api.jquery.com/category/events/event-object/ }\`
|
||||||
|
*/
|
||||||
|
originalEvent: Event;
|
||||||
|
/**
|
||||||
|
* If this method is called, the default action of the event will not be triggered.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.preventDefault/ }\`
|
||||||
|
*/
|
||||||
|
preventDefault(): any;
|
||||||
|
/**
|
||||||
|
* The other DOM element involved in the event, if any.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.relatedTarget/ }\`
|
||||||
|
*/
|
||||||
|
relatedTarget: Element;
|
||||||
|
/**
|
||||||
|
* The last value returned by an event handler that was triggered by this event, unless the value was undefined.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.result/ }\`
|
||||||
|
*/
|
||||||
|
result: any;
|
||||||
|
/**
|
||||||
|
* Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.stopImmediatePropagation/ }\`
|
||||||
|
*/
|
||||||
|
stopImmediatePropagation(): void;
|
||||||
|
/**
|
||||||
|
* Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.stopPropagation/ }\`
|
||||||
|
*/
|
||||||
|
stopPropagation(): void;
|
||||||
|
/**
|
||||||
|
* The DOM element that initiated the event.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.target/ }\`
|
||||||
|
*/
|
||||||
|
target: Element;
|
||||||
|
/**
|
||||||
|
* The mouse position relative to the left edge of the document.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.pageX/ }\`
|
||||||
|
*/
|
||||||
|
pageX: number;
|
||||||
|
/**
|
||||||
|
* The mouse position relative to the top edge of the document.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.pageY/ }\`
|
||||||
|
*/
|
||||||
|
pageY: number;
|
||||||
|
/**
|
||||||
|
* For key or mouse events, this property indicates the specific key or button that was pressed.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.which/ }\`
|
||||||
|
*/
|
||||||
|
which: number;
|
||||||
|
/**
|
||||||
|
* Indicates whether the META key was pressed when the event fired.
|
||||||
|
* @see \`{@link https://api.jquery.com/event.metaKey/ }\`
|
||||||
|
*/
|
||||||
|
metaKey: boolean;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryInputEventObject extends BaseJQueryEventObject {
|
||||||
|
altKey: boolean;
|
||||||
|
ctrlKey: boolean;
|
||||||
|
metaKey: boolean;
|
||||||
|
shiftKey: boolean;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryMouseEventObject extends JQueryInputEventObject {
|
||||||
|
button: number;
|
||||||
|
clientX: number;
|
||||||
|
clientY: number;
|
||||||
|
offsetX: number;
|
||||||
|
offsetY: number;
|
||||||
|
pageX: number;
|
||||||
|
pageY: number;
|
||||||
|
screenX: number;
|
||||||
|
screenY: number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryKeyEventObject extends JQueryInputEventObject {
|
||||||
|
/** @deprecated */
|
||||||
|
char: string;
|
||||||
|
/** @deprecated */
|
||||||
|
charCode: number;
|
||||||
|
key: string;
|
||||||
|
/** @deprecated */
|
||||||
|
keyCode: number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Use \`{@link JQuery.Event }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject { }
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated.
|
||||||
|
*/
|
||||||
|
interface JQueryPromiseOperator<T, U> {
|
||||||
|
(callback1: JQuery.TypeOrArray<JQueryPromiseCallback<T>>,
|
||||||
|
...callbacksN: Array<JQuery.TypeOrArray<JQueryPromiseCallback<any>>>): JQueryPromise<U>;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEasingFunction {
|
||||||
|
(percent: number): number;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @deprecated Deprecated. Internal. See \`{@link https://github.com/jquery/api.jquery.com/issues/912 }\`.
|
||||||
|
*/
|
||||||
|
interface JQueryEasingFunctions {
|
||||||
|
[name: string]: JQueryEasingFunction;
|
||||||
|
linear: JQueryEasingFunction;
|
||||||
|
swing: JQueryEasingFunction;
|
||||||
|
}
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
"css": [],
|
"css": [],
|
||||||
"javascripts": [],
|
"javascripts": [],
|
||||||
"coffees": [],
|
"coffees": [],
|
||||||
"ts": ["ts/main.ts", "ts/test.ts"],
|
"ts": ["ts/main.ts"],
|
||||||
"copies": ["core","package.json", "scheme.html", "README.md"]
|
"copies": ["core","package.json", "README.md"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user