mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-19 11:48:22 +01:00
update packages
This commit is contained in:
parent
a0f3f25338
commit
bc33f7ff10
Binary file not shown.
@ -43,7 +43,7 @@
|
|||||||
"name": "vfs-cp",
|
"name": "vfs-cp",
|
||||||
"data": {
|
"data": {
|
||||||
"src": [
|
"src": [
|
||||||
"core",
|
"core",
|
||||||
"package.json",
|
"package.json",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
@ -53,7 +53,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"release": {
|
"release": {
|
||||||
"depend": ["clean","build","uglify", "copy"],
|
"depend": ["build","uglify", "copy"],
|
||||||
"require": ["zip"],
|
"require": ["zip"],
|
||||||
"jobs": [
|
"jobs": [
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
87
libantosdk/core/ts/jquery.d.ts
vendored
87
libantosdk/core/ts/jquery.d.ts
vendored
@ -1,3 +1,90 @@
|
|||||||
|
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
|
||||||
|
@ -465,9 +465,21 @@ API.jobhandle["vfs-mkdir"] = VFSJob;
|
|||||||
API.jobhandle["vfs-cp"] = VFSJob;
|
API.jobhandle["vfs-cp"] = VFSJob;
|
||||||
|
|
||||||
onmessage = (e) => {
|
onmessage = (e) => {
|
||||||
if(API.jobhandle[e.data.cmd])
|
try{
|
||||||
{
|
if(API.jobhandle[e.data.cmd])
|
||||||
return (new API.jobhandle[e.data.cmd](e.data)).execute();
|
{
|
||||||
|
return (new API.jobhandle[e.data.cmd](e.data)).execute();
|
||||||
|
}
|
||||||
|
(new UnknownJob(e.data)).execute();
|
||||||
|
}
|
||||||
|
catch(error)
|
||||||
|
{
|
||||||
|
const result = {
|
||||||
|
id: e.data.id,
|
||||||
|
type: "result",
|
||||||
|
error: error.toString(),
|
||||||
|
result: false
|
||||||
|
};
|
||||||
|
postMessage(result);
|
||||||
}
|
}
|
||||||
(new UnknownJob(e.data)).execute();
|
|
||||||
}
|
}
|
@ -6,7 +6,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@iohub.dev"
|
"email": "mrsang@iohub.dev"
|
||||||
},
|
},
|
||||||
"version":"0.0.2-a",
|
"version":"0.0.3-a",
|
||||||
"category":"Other",
|
"category":"Other",
|
||||||
"iconclass":"fa fa-cog",
|
"iconclass":"fa fa-cog",
|
||||||
"mimes":["none"],
|
"mimes":["none"],
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
|
||||||
"category": "Other",
|
"category": "Other",
|
||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"version": "0.0.2-a",
|
"version": "0.0.3-a",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user