diff --git a/ChangeLog b/ChangeLog index 90cae7d97..cd48af2d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +17-JAN-2018: 8.0.0 + +- New Google repository structure +- Uses Java 1.8 + 16-JAN-2018: 7.9.8 - Adds dark theme (beta) diff --git a/README.md b/README.md index f8a1aed13..ba9acda16 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The [mxGraph documentation](https://jgraph.github.io/mxgraph/) provides a lot of Running ------- -The simplest way to run draw.io initially is to fork this project, [publish the master branch to GitHub pages](https://help.github.com/categories/github-pages-basics/) and the [pages sites](https://jgraph.github.io/drawio/war/index.html) will have the full editor functionality (sans the integrations). +The simplest way to run draw.io initially is to fork this project, [publish the master branch to GitHub pages](https://help.github.com/categories/github-pages-basics/) and the [pages sites](https://jgraph.github.io/drawio/src/main/webapp/index.html) will have the full editor functionality (sans the integrations). The full packaged .war of the client and servlets is built when the project is tagged and available on the [releases page](https://github.com/jgraph/draw.io/releases). diff --git a/VERSION b/VERSION index 356934845..fa5fce04b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.9.8 \ No newline at end of file +8.0.0 \ No newline at end of file diff --git a/etc/build/build.properties b/etc/build/build.properties index f6d9de72b..8ede1e7d6 100644 --- a/etc/build/build.properties +++ b/etc/build/build.properties @@ -1,8 +1,7 @@ jscompiler=${basedir}/compiler.jar -grapheditor.dir=${basedir}/../../war/js/mxgraph -src.dir=${basedir}/../../src -war.dir=${basedir}/../../war +grapheditor.dir=${basedir}/../../src/main/webapp/js/mxgraph +src.dir=${basedir}/../../src/main/java +war.dir=${basedir}/../../src/main/webapp javac.dir=${war.dir}/WEB-INF/classes build.dir=${basedir}/../../build war.name=draw.war -imageexport.dir=${basedir}/../imageexport \ No newline at end of file diff --git a/etc/build/build.xml b/etc/build/build.xml index 5bbfca5cb..4860e134e 100644 --- a/etc/build/build.xml +++ b/etc/build/build.xml @@ -12,8 +12,8 @@ - - + + @@ -285,8 +285,8 @@ - - + + @@ -367,18 +367,12 @@ - - - - - - - + - + @@ -391,10 +385,12 @@ + + - + diff --git a/etc/propgen/README b/etc/propgen/README index 923b22f57..b5adc15e7 100644 --- a/etc/propgen/README +++ b/etc/propgen/README @@ -2,3 +2,5 @@ Converts from .tsv files (downloaded from eg. Google Spreadsheet) to .txt resou The resources for draw.io are here: https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE#gid=0 + +Run ant build.xml to run the converter. \ No newline at end of file diff --git a/etc/propgen/build.xml b/etc/propgen/build.xml new file mode 100644 index 000000000..f710d86a1 --- /dev/null +++ b/etc/propgen/build.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/etc/unicode-tests/special'filename.xml b/etc/unicode-tests/special'filename.xml deleted file mode 100644 index 39f196108..000000000 --- a/etc/unicode-tests/special'filename.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/etc/unicode-tests/utf16.xml b/etc/unicode-tests/utf16.xml deleted file mode 100644 index 3b40a28ce..000000000 Binary files a/etc/unicode-tests/utf16.xml and /dev/null differ diff --git a/etc/unicode-tests/utf8-uncompressed.xml b/etc/unicode-tests/utf8-uncompressed.xml deleted file mode 100644 index 39f196108..000000000 --- a/etc/unicode-tests/utf8-uncompressed.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/etc/unicode-tests/utf8.gliffy b/etc/unicode-tests/utf8.gliffy deleted file mode 100644 index f09fcd1e4..000000000 --- a/etc/unicode-tests/utf8.gliffy +++ /dev/null @@ -1 +0,0 @@ -{"contentType":"application/gliffy+json","version":"1.3","stage":{"background":"#FFFFFF","width":411,"height":205,"nodeIndex":2,"autoFit":true,"exportBorder":false,"gridOn":true,"snapToGrid":true,"drawingGuidesOn":true,"pageBreaksOn":false,"printGridOn":false,"printPaper":null,"printShrinkToFit":false,"printPortrait":false,"maxWidth":5000,"maxHeight":5000,"themeData":null,"viewportType":"default","fitBB":{"min":{"x":310,"y":110},"max":{"x":411,"y":205}},"printModel":{"pageSize":"a4","portrait":false,"fitToOnePage":false,"displayPageBreaks":false},"objects":[{"x":310.0,"y":110.0,"rotation":0.0,"id":0,"width":95.0,"height":95.0,"uid":"com.gliffy.shape.flowchart.flowchart_v1.default.manual_operation","order":0,"lockAspectRatio":false,"lockShape":false,"graphic":{"type":"Shape","Shape":{"tid":"com.gliffy.stencil.trapezoid.basic_v1","strokeWidth":2.0,"strokeColor":"#333333","fillColor":"#FFFFFF","gradient":false,"dashStyle":null,"dropShadow":false,"state":0,"opacity":1.0,"shadowX":0.0,"shadowY":0.0}},"linkMap":[],"children":[{"x":2.0,"y":0.0,"rotation":0.0,"id":1,"width":91.0,"height":14.0,"uid":null,"order":"auto","lockAspectRatio":false,"lockShape":false,"graphic":{"type":"Text","Text":{"overflow":"none","paddingTop":8,"paddingRight":8,"paddingBottom":8,"paddingLeft":8,"outerPaddingTop":6,"outerPaddingRight":6,"outerPaddingBottom":2,"outerPaddingLeft":6,"type":"fixed","lineTValue":null,"linePerpValue":null,"cardinalityType":null,"html":"

ЂШЖЋ

","tid":null,"valign":"middle","vposition":"none","hposition":"none"}},"hidden":false,"layerId":"Vks6sl4vucyr"}],"hidden":false,"layerId":"Vks6sl4vucyr"}],"layers":[{"guid":"Vks6sl4vucyr","order":0,"name":"Layer 0","active":true,"locked":false,"visible":true,"nodeIndex":1}],"shapeStyles":{},"lineStyles":{},"textStyles":{}},"metadata":{"title":"untitled","revision":0,"exportBorder":false,"loadPosition":"default","libraries":["com.gliffy.libraries.flowchart.flowchart_v1.default","com.gliffy.libraries.basic.basic_v1.default","com.gliffy.libraries.swimlanes.swimlanes_v1.default","com.gliffy.libraries.images"],"lastSerialized":1436453227228},"embeddedResources":{"index":0,"resources":[]}} \ No newline at end of file diff --git a/etc/unicode-tests/utf8.png b/etc/unicode-tests/utf8.png deleted file mode 100644 index 9d6da8542..000000000 Binary files a/etc/unicode-tests/utf8.png and /dev/null differ diff --git a/etc/unicode-tests/utf8.svg b/etc/unicode-tests/utf8.svg deleted file mode 100644 index bf6b7c2ef..000000000 --- a/etc/unicode-tests/utf8.svg +++ /dev/null @@ -1,3 +0,0 @@ - - -
äöü
[Not supported by viewer]
öäü
[Not supported by viewer]
\ No newline at end of file diff --git a/etc/unicode-tests/utf8.vdx b/etc/unicode-tests/utf8.vdx deleted file mode 100644 index 8868a556a..000000000 --- a/etc/unicode-tests/utf8.vdx +++ /dev/null @@ -1,436 +0,0 @@ - -david939531243939531243 -AQAAAIwAAAAAAAAAAAAAAE0AAABTAAAAAAAAAAAAAACcCgAAcAsAACBFTUYAAAEAnE4AAAMAAAABA -AAADwAAAGwAAAAAAAAAAAoAAKAFAACHAwAA/AEAAAAAAAAAAAAAAAAAAMfHDQBgwAcAVgBJAFMASQ -BPAAAARAByAGEAdwBpAG4AZwAAAAAAAABMAAAA/E0AAAAAAAAAAAAATQAAAFMAAAAAAAAAAAAAAE4 -AAABUAAAAIADMAAAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAA////AAAAAABkAAAAKAAA -AIwAAABwTQAAKAAAAE4AAABUAAAAAQAYAAAAAABwTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////A -AD/////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////8AAP//////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////wAA////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////AAD/////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////8AAP//////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//9/f329vb+/v7/////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////wAA////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////VFRUAAAAW1tb//////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////AAD/////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////Pz88gICDf39////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////8AAP//////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////wAAAP////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////wAA////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////9/f3h4eHf39/AAAAf39/h4eH9/f3//////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////AAD/////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////9gYGBgYGB/f39nZ2d/f39gYGBgYGD///////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -//////////////////////////////////////////////////8AAP/////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////0BAQJmZmebm5szMzL+/v5mZmUBAQP///////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////wAA///////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////mJiYJCQkNjY2MDAwNjY2JiYmt7e3/////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////AAD////////// -//////////////////////////////////////////////////n5+f/////////////////////// -/////////////////////////////////////Pz8+/v78AAAC/v7/X19f//////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////8AAP/// -////////////////////////////////////////////////////8nJyQcHB1RUVP//////////// -///////////////7+/v9nZ2fPz8////////////////8/Pz7+/vwAAAL+/v8/Pz////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -wAA////////////////////////////////////////////////////////ycnJBwcHVFRU////// -//////////////////////sbGxzMzM////////////////n5+fMDAwQEBAHBwcQEBAMDAwn5+f/// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////AAD///////////////////////////////////////////////////////////8ZGRnf39 -////////////////////////////////////////////////////9AQEC/v7/z8/P///////+/v79 -AQED///////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////8AAP///////////////////////////////////////////////////////////y -AgIN/f3////////////////////////////////////////////////////2BgYE1NTTMzM0xMTFR -UVFdXV2BgYP////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////wAA////////////////////////////////////////////////9/f3UF -BQQEBADAwMOjo6QEBAz8/P////////////////////////////////////////////9/f3c3Nzc3N -zGxsbeXl5h4eH9/f3//////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////AAD/////////////////////////////////////////////// -+Hh4dgYGC/v7+5ubm/v7+np6coKCj//////////////////////////////////////////////// -///////8AAAD///////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////8AAP//////////////////////////////////////// -///////39/f19fX8zMzLGxsbGxsY+PjyAgIP///////////////////////////////////////// -//////////////wAAAP////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////wAA////////////////////////////////// -//////////////7+/vFhYWAAAAAAAAAAAABwcHt7e3/////////////////////////////////// -/////////////////////AAAA//////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////AAD/////////////////////////// -////////////////////////////////8gICDf39///////////////////////////////////// -///////////////////////+Pj48eHh5ubm6np6f///////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////8AAP//////////////////// -///////////////////////////////8/Pz7+/vxgYGKenp7+/v/f39////////////////////// -//////////////////////////////9/f3ykpKUhISGBgYP////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -/////////////////////////////////////////////wAA///////////////////////////// -///////////////////r6+vICAgQEBAKioqPj4+ODg4UFBQ////////////////////////////// -//////////UFBQAAAAAAAAAAAAAAAAAAAAf39//////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////AAD////////////////////// -/////////////////////////9/f39/f3/MzMz////z8/PV1dUgICD/////////////////////// -////////////////9AQEC/v7////////8AAAD//////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////8AAP/////////////// -////////////////////////////////6+vrxgYGCEhITIyMiwsLDAwMFBQUP//////////////// -///////////////////////0BAQL+/v8fHx7+/vwAAAL+/v8fHx////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////wAA///////// -///////////////////////////////////////////z8/Pv7+/Gxsbra2tv7+/9/f3////////// -//////////////////////////////QEBAWlpaMDAwQEBAJCQkQEBAMDAwh4eH/////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////AAD// -/////////////////////////////////////////////////////////8gICDf39//////////// -////////////////////////////////////9AQEAwMDC/v7/MzMypqan///+/v79AQED//////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/8AAP///////////////////////////////////////////////9/f3yAgIAAAAAAAAAAAAAAAAJ -+fn////////////////////////////////////////0BAQFBQUENDQz09PTQ0NEpKSi4uLoeHh// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////wAA////////////////////////////////////////////////f39/eXl55ubm5ubm8/ -Pz1dXVICAg////////////////////////////////////////QEBAv7+/j4+Pf39/CQkJf39/mJi -Y//////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////AAD///////////////////////////////////////////////+Hh4dDQ0N3d3 -dmZmZiYmJ0dHQoKCj///////////////////////////////////////9AQEC/v7/Hx8e/v78AAAC -/v7/Hx8f///////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////8AAP////////////////////////////////////////////////f392 -BgYCwsLBkZGSoqKkBAQM/Pz////////////////////////////////////////0BAQGVlZTAwMEB -AQCAgIEBAQDAwMIeHh/////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////wAA////////////////////////////////////////////// -//////////////ICAg39/f////////////////////////////////////////////////QEBAMDA -wv7+/5ubmzMzM////v7+/QEBA//////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////AAD/////////////////////////////////////// -////////////////////8gICDf39////////////////////////////////////////////////9 -AQEBHR0dDQ0NFRUVBQUFRUVFDQ0NwcHD///////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////8AAP//////////////////////////////// -///////////////////////////yAgIKenp7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v4mJiYuLi7+ -/v7+/vzQ0NI+Pj2ZmZlZWVgwMDHNzc3p6ev////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////wAA////////////////////////// -//////////////////////////////////eHh4QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAPDw8DQ0 -NU1NTTExMQEBADAwMMDAwQEBAQEBAYGBg//////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -////////////////////////////////////////AAD////////////////////////////////// -/////////////////////////////////////////////////////////////////9lZWVra2v/// -////9AQEC/v7///////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////8AAP/////////////////////////// -////////////////////////////////////////////////////////////////////////2BgYJ -+fn////////0BAQL+/v////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////wAA///////////////////// -///////////////////////////////////////////////////////////////////////////// -//YGBgn5+f////////SEhIMDAwx8fH/////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////AAD////////////// -/////////////////////////////////////////////////////////////////////9QUFAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAxMTFgYGD//////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////8AAP/////// -////////////////////////////////////////////////////////////////////////////w -AAAP////////Pz89nZ2fPz8////////9/f3xQUFGBgYP///////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////wAA/ -///////////////////////////////////////////////////////////////////////////// -//////FxcXX19fWFhYODg4Nzc3R0dHRUVFUVFRSEhIHh4eYGBg/////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///AAD/////////////////////////////////////////////////////////////////////// -/////////////FxcV5eXl/f39zc3M2NjZTU1N5eXlzc3Nzc3OLi4tgYGD//////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////8AAP//////////////////////////////////////////////////////////////// -///////////////////////////////////2BgYJ+fn////////////5+fn2BgYP///////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////wAA////////////////////////////////////////////////////////// -//////////////////////////////////////////YGBgn5+f////////////n5+fYGBg/////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////AAD/////////////////////////////////////////////////// -/////////////////////////////////////39/c4ODgAAAAAAAAAAAAAAABgYGD///+fn59gYGD -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////8AAP//////////////////////////////////////////// -///////////////////////////////////////////7+/v0BAQObm5ubm5r+/v////xwcHDc3Nyg -oKGhoaP////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////wAA////////////////////////////////////// -//////////////////////////////////////////////////z8/PLi4uYmJiYmJiTU1NZGRkICA -gra2tv7+/7+/v//////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////AAD/////////////////////////////// -////////////////////////////////////////////////////////////+Hh4c9PT0jIyMvLy8 -9PT23t7f///////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -//////////////////////////////////8AAP/////////////////////////////////////// -////////////////////////////////////////////////////////////2BgYJ+fn///////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////wAA///////////////////////////////// -///////////////////////////////////////////////////////////////////YGBgn5+f// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////AAD////////////////////////// -/////////////////////////////////////////////////////////////////////////9aWl -qampr////////////////////Pz88QEBAAAAAAAAAAAAAICAi3t7f///////+3t7cICAgAAAAAAAA -AAAAQEBDPz8/////////v7+/Pz8////////////////////////////////////////////////// -//////////////////////////////////////////////////////8AAP/////////////////// -////////////////////////////////////////////////////////////////////////9nZ2e -Li4pSUlKqqqoyMjH9/f39/f39/f39/fyoqKr+/v////////////7OzsyAgIH9/f39/fxgYGN/f3// -//////////4uLizAwMH9/f39/fxwcHAUFBbm5uf////////////////////////////////////// -/////////////////////////////////////////////////////////////wAA///////////// -///////////ubm5goKC////////////////////////////////////////////////////////// -//zMzM2dnZOjo6XV1dbW1tf39/f39/f39/f39/QEBAa2trenp6j4+PmZmZcnJyKCgof39/f39/KCg -odHR0j4+PhYWFenp6UFBQNzc3f39/f39/UVFRCAgI19fX//////////////////////////////// -////////////////////////////////////////////////////////////////////AAD////// -/////////////////8KCgoDAwO3t7f/////////////////////////////////////////////// -////////////////9ISEiPj4/z8/P////////////////v7+9AQEA9PT0wMDA6OjpFRUXf39///// -////V1dU6Ojo9PT09PT09PT1MTEzv7+////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////8AA -P///////////////////////4mJiTMzM/f39///////////////////////////////////////// -///////////////////////2BgYJ+fn////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////wAA////////////////z8/Pf39/T09PMDAwf39/r6+v////////////////////////////// -//////////z8/Pf39/f39/f39/f39/MDAwT09Pf39/f39/f39/f39/39/f/////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////AAD////////////v7+8gICB/f397e3tra2t/f38wMDC/v7//////////////////// -////////////////8QEBB/f39/f39/f39/f39vb293d3d/f39/f39/f39wcHAwMDD//////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////8AAP///////////9/f3x0dHczMzNnZ2b+/v8zMzFdXV5+fn///////////// -///////////////////////wAAAMzMzNnZ2ZmZmXZ2dm9vb5eXl5OTk8/Pz9nZ2bKysiAgIP///// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////wAA////////////////SEhIMzMzNjY2Nzc3NjY2MzMz39/f////// -//////////////////////////////SUlJDw8PIyMjIyMjISEhJiYmKioqKSkpKSkpKSkpCgoKf39 -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////AAD///////////////////+/v79zc3NBQUG/v7/n5+f/// -/////////////////////////////////////z8/PJycmsrKysrKysrKw+Pj5ra2u2tra2trasrKz -Y2Nj///////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////8AAP///////////////////////5+fn2BgYP//// -///////////////////////////////////////////////////////////////2BgYJ+fn////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -/////////////////////////////wAA////////////////////////n5+fMDAwf39/f39/f39/f -39/f39/f39/XV1dXl5ef39/f39/f39/f39/f39/f39/f39/f39/f39/MDAwn5+f////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////AAD////////////////////////v7+9/f39/f39/f -39/f39/f39/f39YWFhDQ0MzMzN5eXl/f39/f39/f39/f39/f39/f39/f39/f39/f3/v7+//////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////8AAP/////////////////////////////// -////////////////////8zMzHFxcV9fX///////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////wAA///////////////////////// -///////////////////////////////f39/f39/////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////AAD////////////////// -//////////////////////Pz89/f39/f39/f38/Pz8/Pz9/f39/f39/f3+/v7//////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////8AAP/////////// -////////////////////////9fX1yAgIH9/f39/f39/f29vb2dnZ39/f39/f39/fyAgIM/Pz///// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////wAA///// -///////////////////////////////x8fHICAgeXl5YWFhVlZWRkZGRkZGTU1NTU1NeXl5ICAgx8 -fH/////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////A -AD///////////////////////////////////////+fn59fX19fX19RUVE3NzcvLy9UVFRUVFRYWF -ifn5///////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////8AAP///////////////////////////////////////////////////////39/f39/f///// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////wAA////////////////////////////////////////////39/fWFhYQEBAIiIiIC -AgQEBAUFBQ39/f/////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////AAD///////////////////////////////////////////9oaGhmZma2tr -awsLChoaG2trZ4eHhgYGD//////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////8AAP///////////////////////////////////////////4eHhx -4eHigoKCMjIx4eHiMjIx4eHn9/f////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////wAA////////////////////////////////////////// -//////v7+/o6OjTk5OQkJCj4+Po6Oj/////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////// -////////////////////////AAD////////////////////////////////////////////////// -/////9vb29vb2//////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////8AAP/////////////////////////////////////////// -/////////f39wsLCwoKCu/v7///////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////wAA///////////////////////////////////// -///////////////////JCQkIiIi9/f3////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////AAD////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////8AAP/////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////wAA///////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////AAD////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////8AAA4AA -AAUAAAAAAAAABAAAAAUAAAA12015-04-29T17:56:022015-04-30T13:11:552015-04-29T17:56:032015-04-29T17:56:029295340000011100.010416666666666670102000201010100000000010000100.5000000000000000000000000000000000000002057100000032320088000010.50.500001201100000000000000000000000000010000.1250.1250.250.250.3750.3750.1250.1250.666666666666670.666666666666670000000.250.250.250.2511110000117400010.1666666666666667000000000000-12057000-1.2001000-10011100.010416666666666670002000201000100000000010000000.500000-1.2000000-10011100.0104166666666666700020002010001000000000111100.055555555555555550.055555555555555550.055555555555555550.05555555555555555100.5001110042302000201000100000000010.055555555555555550.0555555555555555500200.500010000000000000020571111000000000000000440010.125000000000000-12057000000205714.0515.131250.125-0.12511000000110.50.50.50.51111000011700110000002.62514.31880.250.250.1250.12500000000000.0125#00000010.03125200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010.03125200020#000000#0000001010000000001111100001001000000002.62513.97500.437500.218800000.0125#00000010.0031252040202.62514.19382.62513.756300000000000100000000000100200222010020571000000100000000000000000100000.43750002.62513.56881.1250.3750.56250.187500000000000.56250.18751.0250.2750.51250.137500.0125#00000010.03125200020#ffffff#00000010100000000010000100.5000000000000000100000012011000000000000100002057100.187500001.1250.187500000.5625000000.56250.375000065535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-100Inicía a pesquisa de um estabelecimento -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6},{"s":0,"n":"a","v":"center"}]}falsefalse00.56250.18751.1250.3750.56250.187500000.0125#00000010.03125200020#ffffff#00000010100000000011111000010010000000000000.11250.37500.30101NURBS(1, 3, 0, 0, 0.045,1,0,1, 0,0.91,0,1)00.0750.112500101NURBS(1, 3, 0, 0, 0,0.09,0,1, 0.045,0,0,1)1.012501.1250.0750101NURBS(1, 3, 0, 0, 0.955,0,0,1, 1,0.09,0,1)1.1250.31.01250.3750101NURBS(1, 3, 0, 0, 1,0.91,0,1, 0.955,1,0,1)0.11250.37502.62513.13130.25-0.50.125-0.2500000.0125#00000010.0031252040202.62513.38132.62512.8813000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.50.125-0.25010000.12500.125-0.502.62512.69381.750.3750.8750.187500000000000.8750.18751.650.2750.8250.137500.0125#00000010200020#ffffff#00000010100000000010000100.5000000000000000100000012011000000000000100002057100.187500001.750.187500000.875000000.8750.375000065535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-100Existe um registro conforme os filtros próximo no BD? -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6},{"s":0,"n":"a","v":"center"}]}falsefalse00.8750.18751.750.3750.8750.187500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000000000.1750.37500.30101NURBS(1, 3, 0, 0, 0.045,1,0,1, 0,0.91,0,1)00.0750.17500101NURBS(1, 3, 0, 0, 0,0.09,0,1, 0.045,0,0,1)1.57501.750.0750101NURBS(1, 3, 0, 0, 0.955,0,0,1, 1,0.09,0,1)1.750.31.5750.3750101NURBS(1, 3, 0, 0, 1,0.91,0,1, 0.955,1,0,1)0.1750.37502.62512.19380.25-0.6250.125-0.312500000.0125#00000010.0031252040202.62512.50632.62511.8813000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.6250.125-0.3125010000.12500.125-0.62502.62511.75630.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000001.8437511.4438-1.3125-0.625-0.65625-0.312500000.0125#00000010.0031252040202.511.75631.187511.13130000120.500000.55555555555555560.11116068725585940.27792162955290870.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000000001Reposition Text100000-1.31250-1.3125-0.6250Sim -1.187510.881310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Retorna ao usuário -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000003.687511.44381.875-0.6250.9375-0.312500000.0125#00000010.0031252040202.7511.75634.62511.13130000120.500000.55555555555555560.11116068725585940.27791268684906370.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000000001Reposition Text1000001.87501.875-0.6250Não -4.62510.881320.510.25000000000010.251.90.40.950.200.0125#00000010200020#ffffff#00000010100000000010000100.5000000000000000100000012011000000000000100002057100.25000020.25000010000010.5000065535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-100Pergunta ao usuário se prefere receitas conforme o filtro ou um estabelecimento próximo sem filtro -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse010.2520.510.2500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000000000.20.500.40101NURBS(1, 3, 0, 0, 0.045,1,0,1, 0,0.91,0,1)00.10.200101NURBS(1, 3, 0, 0, 0,0.09,0,1, 0.045,0,0,1)1.8020.10101NURBS(1, 3, 0, 0, 0.955,0,0,1, 1,0.09,0,1)20.41.80.50101NURBS(1, 3, 0, 0, 1,0.91,0,1, 0.955,1,0,1)0.20.501.187510.475050.25-0.31250.125-0.1562500000.0125#00000010.0031252040201.187510.63131.187510.3188000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.31250.125-0.15625010000.12500.125-0.312501.187510.19380.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000000.1250.1250.250.250.1250.12500000.0125#00000010200020#000000#0000001010000000001111100001001000000004.62510.31880.25-0.6250.125-0.312500000.0125#00000010.0031252040204.62510.63134.62510.0063000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.6250.125-0.3125010000.12500.125-0.62504.6259.88130.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000004.6259.38130.25-0.750.125-0.37500000.0125#00000010.0031252040204.6259.75634.6259.00630000120.5000.12500.77846186623437490.11116068725585940.38927781146635240.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000.125000001Reposition Text10000.12500.125-0.750Estabelecimento -4.6258.756310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Faz uma consulta no foursquare -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000005.31259.88131.1250.250.56250.12500000.0125#00000010.0031252040204.759.88135.8759.88130000120.50000.1250.55555555555555560.11116068725585940.27777777777777780.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-10000.12500001Reposition Text100000.1251.1250.1250Receita -6.3759.881310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Pesquisa Receitas -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000004.6258.19380.25-0.62499999999999910.125-0.312500000.0125#00000010.0031252040204.6258.50634.6257.8813000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.62499999999999910.125-0.3125010000.12500.125-0.624999999999999104.6257.63131.6250.50.81250.2500000000000.81250.251.5250.40.76250.200.0125#00000010200020#ffffff#00000010100000000010000100.5000000000000000100000012011000000000000100002057100.2500001.6250.2500000.8125000000.81250.5000065535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-100Existe um estabeleciomento no raio de ação? -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.81250.251.6250.50.81250.2500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000000000.16250.500.40101NURBS(1, 3, 0, 0, 0.045,1,0,1, 0,0.91,0,1)00.10.162500101NURBS(1, 3, 0, 0, 0,0.09,0,1, 0.045,0,0,1)1.462501.6250.10101NURBS(1, 3, 0, 0, 0.955,0,0,1, 1,0.09,0,1)1.6250.41.46250.50101NURBS(1, 3, 0, 0, 1,0.91,0,1, 0.955,1,0,1)0.16250.504.6257.06880.25-0.6250.125-0.312500000.0125#00000010.0031252040204.6257.38134.6256.7563000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.6250.125-0.3125010000.12500.125-0.62504.6256.63130.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000005.3756.50631.25-0.250.625-0.12500000.0125#00000010.0031252040204.756.631366.38130000120.500000.55555555555555560.11116068725585940.27791268684906370.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000000001Reposition Text1000000.52083333333333300.6041666666666670-0.041666666666666961.2501.25-0.250Não -66.131310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Aumenta o raio de ação -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000065.662550.25-0.43750.125-0.2187500000.0125#00000010.00312520402065.881365.4438000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.43750.125-0.21875010000.12500.125-0.4375065.193810.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Passou do limite da cidade? -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000064.600050.25-0.68750.125-0.3437500000.0125#00000010.00312520402064.943864.2563000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.68750.125-0.34375010000.12500.125-0.6875064.13130.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000005.6256.4438-14.625-0.52.312500000.0125#00000010.0031252040206.1254.13135.1258.75630000120.500000.55555555555555560.11116068725585940.27791268684906370.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000000001Reposition Text1000000.187500.18750.3125-0.083333333333333040.3125-0.1666666666666670.31250.04166666666666696-0.81250.3125-0.81253.125-0.56253.125-0.56254.625-14.6250Não -63.63130.25-0.750.125-0.37500000.0125#00000010.00312520402064.006363.25630000120.500-1.651384506429589E19900.55555555555555560.11116068725585940.27792162955290870.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-100-1.651384506429589E199000001Reposition Text10000.12500.125-0.750Sim -63.006310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Pesquisa uma receita -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000003.6256.2563-1.75-0.75-0.875-0.37500000.0125#00000010.0031252040204.56.63132.755.88130000120.5000-4.0695343017578120.55555555555555560.11116068725585940.27792162955290870.05558034362792969000010020022201002057100000000000000000000000065535#0000000010.1111111111111111000000000000-12057000-1001000-1000-4.06953430175781200001Reposition Text100000-1.750-1.75-0.750Sim -2.755.631310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Pega 10 estabelecimentos -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000002.755.13130.25-0.50.125-0.2500000.0125#00000010.0031252040202.755.38132.754.8813000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.50.125-0.25010000.12500.125-0.502.754.631310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Registra no BD -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000002.754.13130.25-0.50.125-0.2500000.0125#00000010.0031252040202.754.38132.753.8813000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.50.125-0.25010000.12500.125-0.502.753.631310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Retorna ao usuário -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000002.753.100050.25-0.56250.125-0.2812500000.0125#00000010.0031252040202.753.38132.752.8188000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.56250.125-0.28125010000.12500.125-0.562502.752.69380.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000000.1250.1250.250.250.1250.12500000.0125#00000010200020#000000#00000010100000000011111000010010000000062.50630.25-0.50.125-0.2500000.0125#00000010.00312520402062.756362.2563000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.50.125-0.25010000.12500.125-0.5062.006310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Retorna ao usuário -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#00000010100000000011111000010010000000061.50630.25-0.50.125-0.2500000.0125#00000010.00312520402061.756361.2563000000000001000000000001002002220100205710000000000000000000000000.12500.25-0.50.125-0.25010000.12500.125-0.5061.13130.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000000.1250.1250.250.250.1250.12500000.0125#00000010200020#000000#0000001010000000001111100001001000000007.18759.88130.6250.250.31250.12500000.0125#00000010.0031252040206.8759.88137.59.88130000000000010000000000010020022201002057100000000000000000000000000.1250.6250.250.31250.1250100000.1250.6250.125089.881310.50.50.2500000000000.0125#00000010200020#ffffff#00000010100000000010000100.5000.50.250.90.40.450.200000000000000100000012011000000000000100002057165535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-1205765535#0000000010.1111111111111111000000000000-12057000-1001000-10000.25000010.2500000.5000000.50.50000Retorna ao usuário -[]044010000solid[]State0{"t":"Action","m":[{"s":0,"n":"c","v":"000000ff","e":6}]}falsefalse00.50.2510.50.50.2500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000008.81259.88130.6250.250.31250.12500000.0125#00000010.0031252040208.59.88139.1259.88130000000000010000000000010020022201002057100000000000000000000000000.1250.6250.250.31250.1250100000.1250.6250.12509.259.88130.250.250.1250.12500000000000.0125#00000010200020#ffffff#00000010100000000010000000000010100000012011000000000000100002057100.12500000.250.12500000.125000000.1250.2500000[]0false10000solidfalse[]0.1250.1250.250.250.1250.12500000.0125#00000010200020#ffffff#0000001010000000001111100001001000000000.1250.1250.250.250.1250.12500000.0125#00000010200020#000000#000000101000000000111110000100100000000 \ No newline at end of file diff --git a/etc/unicode-tests/utf8.vsdx b/etc/unicode-tests/utf8.vsdx deleted file mode 100644 index d19ce8d99..000000000 Binary files a/etc/unicode-tests/utf8.vsdx and /dev/null differ diff --git a/etc/unicode-tests/utf8.xml b/etc/unicode-tests/utf8.xml deleted file mode 100644 index fda8aca97..000000000 --- a/etc/unicode-tests/utf8.xml +++ /dev/null @@ -1 +0,0 @@ -5R3ZkptI8ms6YvbBDnEISY92d9vrCE/Yu+3Z2X2kBa0mjEADyN2er58sqCyoQ1AgztkHXSWKI8+jMrNurNvj68fEPT3/Gnt+eGOu0uxn6N9Ydzem6flP7jnM3uRDJgzA30c3ey7+XRUDJ/fg/9MPDs9ZMWwYzq785/fAw+O3plOOP+xdvIpRjnIDT3HocQP7OIr8PV6mGMviOMyCU8oNHs6B5wtDSeA9BH/iFei9k1HuMO8nvVeHHuG90v9tyy5GHt3990MSnyM6M4ojn/xj3QMskziG+yPfjq+3fkjgiVegJ7wxP1w4gMEh8SP6kBfn/HDDM32WG9MJ4fD3J/hyIF8AkWeArbmCE67ewOv2nGbx0U/g652fuUGY4hw4MZumOM/Zy89DLuEeTzAUPabkg5z0SxQG5MFXXxLPT4Lo0O6cFr23b4kbpe4+C+IofdvuFIAPcgr+1mDsIYsT8v+niDywm7mPbgq/25x6Te/uLkhPofuTnCzzjwC2VUxO+gC02/JmgfTzM/528tyMDPzuP6YB+aY6C0F6hQ8z/5WMP2fHEAYM+Jr4afCn+5gfsILf7jmLYYT8JH+7YXCI4HvoP5GJP/wkC4Dh3tHhLCagSk/uHvD2jfy4e2OzCyM97jYyQVIaJSf0kTM45qT3hLRLqfajD/SXJQSQLuXLAxsis5+rAmRDyf6llB3Gjo5R/lzjMfQmTIPKFsYq8IVySw3nCHAmbE0g4wUJPAqQJAy/+GmJEwYaJuHGBY2tAM1mzYPGANaqQMYWZYgWYAqiTLMkzhmbI27/KI48xQCEKiSdP85EDuZ/vCno8h0RJPbptfxTPMsZB+4+wClWn+//c/8ZPuHOCykG5yJ8QLjSPSQuuQtkHTa1MlbclDQs3z0Mig/ayH9kwnf/Ng7jBEZyFQBPG4ShMISMuAcyAQEss+Ix8IiAsN6/PIM0eACWJNd8AYUMYzEc/RTGLzDyDMf5MEEgRGsrEyISp0SJXShOQXA2ak8895oKih54j3s4g+Be++l65TO8cg2fIWT6fuqdAqUMEtM9dZvHLA2OD7+l5EN4ahWtV5iLhwcFGkcDFES9UDhaelVtg4YXilSzA4U/ZO7Tk/ToueHok0cjT9oAiEY9ZChsxsmAQ6/lWB0o5lc3cg9H8gxX0YqtMFnGhgfewzXg+OgeiY348Ay2WcVUFEAD08DzuaQ8LgJpPTTRGKgg6qhmxYPJwjltwPTejb5fRzDrGUgXC000eq012rqNoKjSggc+Nf0ZJ9lzfIgjN7wvR9+Xkoc4DBWI+K9B9l8y/Hazpj//R48SgEUtSxWw0vic5BAvJXbmJgefHoY0R26zA0QTP3Sz4Ic09V2S5N4ZzjrFQZSBm8bO/JUMVKjO4KlOgnTjDFNiZ3mKIAHkKfCluPMSuwwEIyIcv+fYpsiP4B4KYlhtLRwoDtgaWxz4Ch4/3C6xaFV0wuI8i6WTDb03RKFkBclT0F2+OGUmWF+9rXK5QiTW6NCFYG8roKIReZZgw3SYYUDMqGGKKBfaT7FUTkc3oqqo0a8JRAwhrroct3etcnv7VNtIABW1LUSgBHZnSr2bn4SBWYgqLgcJiiDY0EiQzEg04K5Bw7/9feCflkT/aFVOSP/mpsGUGkmbcTYM0WwCpDRtVhS0M1RnqJAvOpRNM+xtazNXntKHonnneSQkhEsgdE1lOVxHVwBHFXhoJGB0gfcV7Z1oQ0zAdvV+g57P4NRo9CqfIk9W+ZSqgKmtTpNfeJEDxNIUQYS2n6EKmvRnDparxcth0SlsEgybq6WvSpKOzKH5eMmhzNFXO4AbTZU5X1YUjXPLpLd/mbHEKWhhzTlmw6OVD9aYsim0qVFfTXhFM3tqxJKclqr6a47LWEiTF6fMJS5TG40rfxf/71Y7PcW60VWs843nWIKTx9Yp+zVOT6ckht8kyafwyPc0wymGZbzVrZuA8boYRbgZWhFaVF5WPUR6TYY2wVZF5m3jmxMfAUa+JgE8/3LAj0p/QgfdIglynODTBX/f8eZcF13wFnbgeHKCbQOBVS3BBm7G3ARbKblwXnFROlqNWwkhalty6lsLScEzdKTEL1mbCt5Ehym2xgqa+KiqSNHV0rsMpfL5oIXYXqAns6WO/XACvDnEJ6w+KDE3+jqlwrLdai44YrrMdGwvQvRqthe5SyM6KE5Zt1/Slqf0wcOQuL2X8zlmzKJDZxvVKHlExEr0bOeg1HlfRYabpksy45i8EC53pHBB0wwNz1VMkerRc60wHYvGq6pElsOKQ7s7aBrVxP3Etci1NbLBfSEUxLK6OIu71KcQ7yt+19vbu5q0wabwEXLy4Iq3uBGF4kV3tT/FK5xxLcXipSk7gT4Gid4vTYkiUCb0lDfUfES8YMSwTZziX2fIzyZFbHDsffTHOUh+LimXY1fjTA+2bmLxS5sW8iRG7fsosJiodK6N89ZvCYcEZrE8zBbqw1B1dikQYyWLt4nvBUTUFf62RmXkL/dP2SlO/6FVANkx093AiKNOnV4XcGOYrwLuLT0/c7ZIqWt1kRed1W6JYtckuxukkndIcOhUi1iOuITTHhxfXqLrYaGQeKPDAq/I3IihKukwi2T0Wl5UtVUwYOSW2c2ofVABY5CxdzCgRc6BAWEzLCDQ6a0BhLRK3eWx8zWrWsJX1RciYPqp/1GEFhntszjVGM9qqATeeM+KCSEU4n0+upK6FYtOl5+2T+pWCTt8TAqEgRBeLZEE549cXSJ4VbE+wmowWd/Fei2bVSzGcTCw3cBw0FW4DpiihIKTd6y1lykqoP8cx+A1Q3uO/ustWW7thFaohUsfrJBkmrzRxqUcJjsVwOKWctCWnW4tx0LRijDFJbsrYkrCKQ1HgabrQ755Tf4Co7yGqkdSn5ykcJ+FpBbDMYS0ii7+3IMfkkZWNAVeDhR1lTSqZgkjSxrWJwv9XacDfPKuUE85lX6KfsSq3J/OIBrY79MAkSOAyNp1AJHcSKovACnSRMfWVrjWwFZSdAE0dHFRNXNJTMl0iiXR5swlAw7U03GUVqtLKQw/EyYxCFrKwUDuFYoPV43wlAiiupwEu2nOHDN7q0TEVu0uVa+x3ipNlIJEwVEK2p1Tr5XbQgjUluRdM0HIc3pd/L7oeXWWoqooy7hSdC1YKs5kuSJiw4GavHZdEYoip5Ex6DNzjIGAmJoxHFHq2eJaTPOczSK6i9SkJ2hjXJHkp8S4SmliDGhyjAs6y5YcvOY5TnN3CsPZCryvqou/WnxKi3pFQyaNBb12whRTLaZcq9kK5Z1ryeiZXJo2mxOqdpEqHkLLgTc8e4+4dO6W8W6/BzjJHRu6amurRT/XobT1Rgj9oA80V/qSoYjRk0YJrajIYCgYlbqmqc1UMCaK+CbQIZR4xqSSaXLlhneHcY21hnLDqtSLcxZWeJsbtCJ2df19ReokU35TY3cnLiFoYFecs16Ei05z22tCPTYoUj2r1da0WhHLvNU6l35qQtm1jMbmOVZ/SxlDKrzLnorCbFC1m9Xm6/6ldjtzqlrvvMACZ8MeOMKCWRtcxj8dY0Ru8U6BpZ1MOeSyqkoDXTZwlc7zdMHljaAyHFvMxm5fqyOc0lbll81NCwlxslIlXZBFqk7G+uGRiV076MDnB4vqwGeomiH3KX4UWS8OxVIZ5OGlD+Py2fg9TZWAhqpVsLbLOBe/R3TdLSk01DzHRgOw1wAd7Z6xwEwPVRfigdkLK5EYioRIu4WVE62W6Reba6PqsTsyBhwhsY91CZy2M37L2I6qT25dRtv0YTGZfj8tyjVQtccdOE0MQzxMeGB8F6+lvVxQ7cTopulLvCy3DMt7RoQ9RhaY2EBOYk2haYyxdQpasTHhMuW3qvPxwIgw0NEqo7t8RNjGKphWLcAwA3CRWGhReNUTFjCiXu5lIYTYMWhxVcXnp69kHc7zoJyW1DxDFmL192w3tTQwHXX0rRsV7CLt3CjETPXXAAWbf1ksMr6pj8i4lHfvaG/4NpvFV1UDbf2c0t4Tojp1eWTyfeXC7spky0/Y825JlDxwGgHGLWso2UZDFCkZ7dAh93+Vtl/FDWFxw23c8hXuTdz9tdjslWzwahBkrz77P/JtyO9fTyFI/ziqbrR8YU9X1fav/ezzOopKwrbvY6skhWC0pM0dUTRcU84xDT2ZuQz5f6SnFlVAI9NTuYMVo6cO8qmP/g9YADlhTiG0ZhGyNHER5yrLXG+LeWGS8RYuOmAnFlUb8j7BregzgR39GbSFfauVm6n97axrVZvkca1rSBfhdch62weZAyBpESUp3tAkcnjMAYkck66nSyMFcSo0CO0ScZEA9yU5uBFRU62Azc4zDLAHFuAawN6KwMYFjKuADR38khLSUADL1SdpQR54fkjItwihDAT5nSjLtffBqoN8pez423MFBd9iNtJOp4I8GBIPk9eYmVuhrQ9bt70KD3dBegrdnySOyDVzL1BQ2Dd5V/cCPV8Ih3RBD3EfBkTP5EUF5VbirJ/EPDJEBEipuk+qYldoRHKxK1S6U29NxDQta83dvJuCI2yRIs/pIwukYI24cJrA38vtJhJlg2MAB+YK+InwUQ6KnLEyIvCyfNpLwVFLamZqqNpv9hqHUy198X1CzI2goZyxu0HrVN82pWdh0XUTYyIP8oxJsTBVULkge0ruOVlTOodbJNQf50Ztmv9TxJs9ksd/hB5j5O+C/J/i5OgSls1zpIuxyH8pT/ZLBmxgwv2s9ucEoLSH2ye/Ch+cfIOrQ5fTBXHPwGYF65teZR/MrWKGBWo3VnKgu4Y/bEquCCvN3B7kBZ5BKHdNrbm2qFcZrJs1107UXP0VGI/Yw6UhqdpESm1EL8Ukj96JF9UK+UfFVEBEGtTPQp9m8ivKNTz5g/xfeJZE1pH3c3bO/c/EB1cIBBr5XshHd7+H1f3gMQiDbFHtzdm+kVNaBCLLQAl5V6SemQtURa9XuE35eJ61xFlwuTJaEMYGjlsqMLbjE2dMB9cI8FrGDNpQKSClWV2K8ogXUn+vsuu6RiOKyly2I1gnzxPJYyoBr+hZ2lsrQQgVjL9gI24/JwSXVPsfzbp9F9v0qZE1FWX9DANjkBf8TGKyjl7aakAgz7/GHiyeW/d/AQ== \ No newline at end of file diff --git a/etc/vsdx-convert/build.xml b/etc/vsdx-convert/build.xml new file mode 100644 index 000000000..c7f186f31 --- /dev/null +++ b/etc/vsdx-convert/build.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/com/mxgraph/vsdxutils/vsdxBatchConvert.java b/etc/vsdx-convert/com/mxgraph/vsdxutils/VsdxBatchConvert.java similarity index 98% rename from src/com/mxgraph/vsdxutils/vsdxBatchConvert.java rename to etc/vsdx-convert/com/mxgraph/vsdxutils/VsdxBatchConvert.java index 34711cd2d..2bd36842b 100644 --- a/src/com/mxgraph/vsdxutils/vsdxBatchConvert.java +++ b/etc/vsdx-convert/com/mxgraph/vsdxutils/VsdxBatchConvert.java @@ -1,4 +1,5 @@ package com.mxgraph.vsdxutils; + import java.io.File; import java.io.FilenameFilter; import java.io.IOException; @@ -16,7 +17,7 @@ import com.mxgraph.io.mxVsdxCodec; import com.mxgraph.online.Utils; -public class vsdxBatchConvert +public class VsdxBatchConvert { /** * @param args diff --git a/war/WEB-INF/lib/appengine-api-1.0-sdk-1.9.34.jar.REMOVED.git-id b/etc/vsdx-convert/lib/appengine-api-1.0-sdk-1.9.34.jar.REMOVED.git-id similarity index 100% rename from war/WEB-INF/lib/appengine-api-1.0-sdk-1.9.34.jar.REMOVED.git-id rename to etc/vsdx-convert/lib/appengine-api-1.0-sdk-1.9.34.jar.REMOVED.git-id diff --git a/etc/vsdxJava2JS/.classpath b/etc/vsdxJava2JS/.classpath deleted file mode 100644 index 40f3afa37..000000000 --- a/etc/vsdxJava2JS/.classpath +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/vsdxJava2JS/.jsweet/candies/CandyStore.json b/etc/vsdxJava2JS/.jsweet/candies/CandyStore.json deleted file mode 100644 index 6ef37137c..000000000 --- a/etc/vsdxJava2JS/.jsweet/candies/CandyStore.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "candies": [ - { - "name": "jquery", - "version": "1.10.0-20170726", - "lastUpdateTimestamp": 1501691304000, - "modelVersion": "unknown", - "transpilerVersion": "2.0.0", - "jsOutputDirPath": "C:\\Users\\ashra\\Documents\\jsweet\\jsweet-quickstart\\webapp", - "jsDirPath": "META-INF/resources/webjars/jquery/1.10.0-20170726", - "jsFilesPaths": [] - } - ] -} \ No newline at end of file diff --git a/etc/vsdxJava2JS/.jsweet/candies/typings/META-INF/resources/typings/jquery/1.10.0-20170726/bundle.d.ts b/etc/vsdxJava2JS/.jsweet/candies/typings/META-INF/resources/typings/jquery/1.10.0-20170726/bundle.d.ts deleted file mode 100644 index cd8bf2e80..000000000 --- a/etc/vsdxJava2JS/.jsweet/candies/typings/META-INF/resources/typings/jquery/1.10.0-20170726/bundle.d.ts +++ /dev/null @@ -1,7566 +0,0 @@ -/* Generated from Java with JSweet 2.0.0-rc1 - http://www.jsweet.org */ -interface JQueryMouseEventObject extends JQueryInputEventObject { - button : number; - - clientX : number; - - clientY : number; - - offsetX : number; - - offsetY : number; - - pageX : number; - - pageY : number; - - screenX : number; - - screenY : number; -} - -/** - * The interface used to construct jQuery events (with $.Event). It is - * defined separately instead of inline in JQueryStatic to allow - * overriding the construction function with specific strings - * returning specific event objects. - * @class - * @extends Object - */ -interface JQueryEventConstructor { - (name : string, eventProperties : any) : JQueryEventObject; - - (name : string) : JQueryEventObject; -} - -/** - * Interface for the JQuery deferred, part of callbacks - * @class - * @extends * - */ -interface JQueryDeferred extends JQueryGenericPromise { - /** - * Determine the current state of a Deferred object. - * @return {string} - */ - state() : string; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given args. - * - * @param {Array} args Optional arguments that are passed to the progressCallbacks. - * @param {*} value - * @return {*} - */ - notify(value : any, ...args : any[]) : JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given context and args. - * - * @param {*} context Context passed to the progressCallbacks as the this object. - * @param args Optional arguments that are passed to the progressCallbacks. - * @param {Array} value - * @return {*} - */ - notifyWith(context : any, value : any[]) : JQueryDeferred; - - /** - * Reject a Deferred object and call any failCallbacks with the given args. - * - * @param {Array} args Optional arguments that are passed to the failCallbacks. - * @param {*} value - * @return {*} - */ - reject(value : any, ...args : any[]) : JQueryDeferred; - - /** - * Reject a Deferred object and call any failCallbacks with the given context and args. - * - * @param {*} context Context passed to the failCallbacks as the this object. - * @param args An optional array of arguments that are passed to the failCallbacks. - * @param {Array} value - * @return {*} - */ - rejectWith(context : any, value : any[]) : JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given args. - * - * @param {*} value First argument passed to doneCallbacks. - * @param {Array} args Optional subsequent arguments that are passed to the doneCallbacks. - * @return {*} - */ - resolve(value : T, ...args : any[]) : JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given context and args. - * - * @param {*} context Context passed to the doneCallbacks as the this object. - * @param args An optional array of arguments that are passed to the doneCallbacks. - * @param {Array} value - * @return {*} - */ - resolveWith(context : any, value : T[]) : JQueryDeferred; - - /** - * Return a Deferred's Promise object. - * - * @param {*} target Object onto which the promise methods have to be attached - * @return {*} - */ - promise(target : any) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @return {*} - */ - always() : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @return {*} - */ - done() : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @return {*} - */ - fail() : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @return {*} - */ - progress() : JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given args. - * - * @param args Optional arguments that are passed to the progressCallbacks. - * @return {*} - */ - notify() : JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given context and args. - * - * @param {*} context Context passed to the progressCallbacks as the this object. - * @param args Optional arguments that are passed to the progressCallbacks. - * @return {*} - */ - notifyWith(context : any) : JQueryDeferred; - - /** - * Reject a Deferred object and call any failCallbacks with the given args. - * - * @param args Optional arguments that are passed to the failCallbacks. - * @return {*} - */ - reject() : JQueryDeferred; - - /** - * Reject a Deferred object and call any failCallbacks with the given context and args. - * - * @param {*} context Context passed to the failCallbacks as the this object. - * @param args An optional array of arguments that are passed to the failCallbacks. - * @return {*} - */ - rejectWith(context : any) : JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given args. - * - * @param value First argument passed to doneCallbacks. - * @param args Optional subsequent arguments that are passed to the doneCallbacks. - * @return {*} - */ - resolve() : JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given context and args. - * - * @param {*} context Context passed to the doneCallbacks as the this object. - * @param args An optional array of arguments that are passed to the doneCallbacks. - * @return {*} - */ - resolveWith(context : any) : JQueryDeferred; - - /** - * Return a Deferred's Promise object. - * - * @param target Object onto which the promise methods have to be attached - * @return {*} - */ - promise() : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any) : JQueryPromise; - - pipe() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryDeferred; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[]) : JQueryDeferred; -} - -interface JQueryPromiseOperator { - (callback1 : JQueryPromiseCallback, ...callbacksN : any[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback[], ...callbacksN : any[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback[], ...callbacksN : any[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback, ...callbacksN : any[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback, ...callbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback[], ...callbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback[], ...callbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - (callback1 : JQueryPromiseCallback, ...callbacksN : JQueryPromiseCallback[][]) : JQueryPromise; -} - -/** - * The jQuery instance members - * @class - * @extends Object - */ -interface JQuery { - /** - * Register a handler to be called when Ajax requests complete. This is an AjaxEvent. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxComplete(handler : (p1: JQueryEventObject, p2: XMLHttpRequest, p3: any) => any) : JQuery; - - /** - * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxError(handler : (p1: JQueryEventObject, p2: JQueryXHR, p3: JQueryAjaxSettings, p4: any) => any) : JQuery; - - /** - * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxSend(handler : (p1: JQueryEventObject, p2: JQueryXHR, p3: JQueryAjaxSettings) => any) : JQuery; - - /** - * Register a handler to be called when the first Ajax request begins. This is an Ajax Event. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxStart(handler : () => any) : JQuery; - - /** - * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxStop(handler : () => any) : JQuery; - - /** - * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. - * - * @param {*} handler The function to be invoked. - * @return {*} - */ - ajaxSuccess(handler : (p1: JQueryEventObject, p2: XMLHttpRequest, p3: JQueryAjaxSettings) => any) : JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} complete A callback function that is executed when the request completes. - * @return {*} - */ - load(url : string, data : string, complete : (p1: string, p2: string, p3: XMLHttpRequest) => any) : JQuery; - - /** - * Encode a set of form elements as a string for submission. - * @return {string} - */ - serialize() : string; - - /** - * Encode a set of form elements as an array of names and values. - * @return {Array} - */ - serializeArray() : JQuerySerializeArrayElement[]; - - /** - * Adds the specified class(es) to each of the set of matched elements. - * - * @param {string} className One or more space-separated classes to be added to the class attribute of each matched element. - * @return {*} - */ - addClass(className : string) : JQuery; - - /** - * Adds the specified class(es) to each of the set of matched elements. - * - * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - addClass(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Add the previous set of elements on the stack to the current set, optionally filtered by a selector. - * @param {string} selector - * @return {*} - */ - addBack(selector : string) : JQuery; - - /** - * Get the value of an attribute for the first element in the set of matched elements. - * - * @param {string} attributeName The name of the attribute to get. - * @return {string} - */ - attr(attributeName : string) : string; - - /** - * Set one or more attributes for the set of matched elements. - * - * @param {string} attributeName The name of the attribute to set. - * @param {string} value A value to set for the attribute. - * @return {*} - */ - attr(attributeName : string, value : string) : JQuery; - - /** - * Set one or more attributes for the set of matched elements. - * - * @param {string} attributeName The name of the attribute to set. - * @param {*} func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments. - * @return {*} - */ - attr(attributeName : string, func : (p1: number, p2: string) => string) : JQuery; - - /** - * Set one or more attributes for the set of matched elements. - * - * @param {*} attributes An object of attribute-value pairs to set. - * @return {*} - */ - attr(attributes : any) : JQuery; - - /** - * Determine whether any of the matched elements are assigned the given class. - * - * @param {string} className The class name to search for. - * @return {boolean} - */ - hasClass(className : string) : boolean; - - /** - * Get the HTML contents of the first element in the set of matched elements. - * @return {string} - */ - html() : string; - - /** - * Set the HTML contents of each element in the set of matched elements. - * - * @param {string} htmlString A string of HTML to set as the content of each matched element. - * @return {*} - */ - html(htmlString : string) : JQuery; - - /** - * Set the HTML contents of each element in the set of matched elements. - * - * @param {*} func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set. - * @return {*} - */ - html(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Get the value of a property for the first element in the set of matched elements. - * - * @param {string} propertyName The name of the property to get. - * @return {*} - */ - prop(propertyName : string) : any; - - /** - * Set one or more properties for the set of matched elements. - * - * @param {string} propertyName The name of the property to set. - * @param {string} value A value to set for the property. - * @return {*} - */ - prop(propertyName : string, value : string) : JQuery; - - /** - * Set one or more properties for the set of matched elements. - * - * @param {*} properties An object of property-value pairs to set. - * @return {*} - */ - prop(properties : any) : JQuery; - - /** - * Set one or more properties for the set of matched elements. - * - * @param {string} propertyName The name of the property to set. - * @param {*} func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element. - * @return {*} - */ - prop(propertyName : string, func : (p1: number, p2: any) => any) : JQuery; - - /** - * Remove an attribute from each element in the set of matched elements. - * - * @param {string} attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes. - * @return {*} - */ - removeAttr(attributeName : string) : JQuery; - - /** - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * - * @param {string} className One or more space-separated classes to be removed from the class attribute of each matched element. - * @return {*} - */ - removeClass(className : string) : JQuery; - - /** - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * - * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments. - * @param {*} func - * @return {*} - */ - removeClass(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Remove a property for the set of matched elements. - * - * @param {string} propertyName The name of the property to remove. - * @return {*} - */ - removeProp(propertyName : string) : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param {string} className One or more class names (separated by spaces) to be toggled for each element in the matched set. - * @param {boolean} swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass(className : string, swtch : boolean) : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param {boolean} swtch A boolean value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass(swtch : boolean) : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param {*} func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments. - * @param {boolean} swtch A boolean value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass(func : (p1: number, p2: string, p3: boolean) => string, swtch : boolean) : JQuery; - - /** - * Get the current value of the first element in the set of matched elements. - * @return {*} - */ - val() : any; - - /** - * Set the value of each element in the set of matched elements. - * - * @param {string} value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked. - * @return {*} - */ - val(value : string) : JQuery; - - /** - * Set the value of each element in the set of matched elements. - * - * @param {*} func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - * @return {*} - */ - val(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Get the value of style properties for the first element in the set of matched elements. - * - * @param {string} propertyName A CSS property. - * @return {string} - */ - css(propertyName : string) : string; - - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param {string} propertyName A CSS property name. - * @param {string} value A value to set for the property. - * @return {*} - */ - css(propertyName : string, value : string) : JQuery; - - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param {string} propertyName A CSS property name. - * @param {*} value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - * @return {*} - */ - css(propertyName : string, value : (p1: number, p2: string) => string) : JQuery; - - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param {*} properties An object of property-value pairs to set. - * @return {*} - */ - css(properties : any) : JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements. - * @return {number} - */ - height() : number; - - /** - * Set the CSS height of every matched element. - * - * @param {number} value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string). - * @return {*} - */ - height(value : number) : JQuery; - - /** - * Set the CSS height of every matched element. - * - * @param {*} func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set. - * @return {*} - */ - height(func : (p1: number, p2: number) => number) : JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements, including padding but not border. - * @return {number} - */ - innerHeight() : number; - - /** - * Sets the inner height on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {number} height - * @return {*} - */ - innerHeight(height : number) : JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements, including padding but not border. - * @return {number} - */ - innerWidth() : number; - - /** - * Sets the inner width on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {number} width - * @return {*} - */ - innerWidth(width : number) : JQuery; - - /** - * Get the current coordinates of the first element in the set of matched elements, relative to the document. - * @return {*} - */ - offset() : JQueryCoordinates; - - /** - * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - * - * @param {*} coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - * @return {*} - */ - offset(coordinates : JQueryCoordinates) : JQuery; - - /** - * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - * - * @param {*} func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties. - * @return {*} - */ - offset(func : (p1: number, p2: JQueryCoordinates) => JQueryCoordinates) : JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements. - * - * @param {boolean} includeMargin A Boolean indicating whether to include the element's margin in the calculation. - * @return {number} - */ - outerHeight(includeMargin : boolean) : number; - - /** - * Sets the outer height on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {number} height - * @return {*} - */ - outerHeight(height : number) : JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements, including padding and border. - * - * @param {boolean} includeMargin A Boolean indicating whether to include the element's margin in the calculation. - * @return {number} - */ - outerWidth(includeMargin : boolean) : number; - - /** - * Sets the outer width on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {number} width - * @return {*} - */ - outerWidth(width : number) : JQuery; - - /** - * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. - * @return {*} - */ - position() : JQueryCoordinates; - - /** - * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. - * @return {number} - */ - scrollLeft() : number; - - /** - * Set the current horizontal position of the scroll bar for each of the set of matched elements. - * - * @param {number} value An integer indicating the new position to set the scroll bar to. - * @return {*} - */ - scrollLeft(value : number) : JQuery; - - /** - * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. - * @return {number} - */ - scrollTop() : number; - - /** - * Set the current vertical position of the scroll bar for each of the set of matched elements. - * - * @param {number} value An integer indicating the new position to set the scroll bar to. - * @return {*} - */ - scrollTop(value : number) : JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements. - * @return {number} - */ - width() : number; - - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param {number} value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @return {*} - */ - width(value : number) : JQuery; - - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param {*} func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set. - * @return {*} - */ - width(func : (p1: number, p2: number) => number) : JQuery; - - /** - * Remove from the queue all items that have not yet been run. - * - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - clearQueue(queueName : string) : JQuery; - - /** - * Store arbitrary data associated with the matched elements. - * - * @param {string} key A string naming the piece of data to set. - * @param {*} value The new data value; it can be any Javascript type including Array or Object. - * @return {*} - */ - data(key : string, value : any) : JQuery; - - /** - * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute. - * - * @param {string} key Name of the data stored. - * @return {*} - */ - data(key : string) : any; - - /** - * Store arbitrary data associated with the matched elements. - * - * @param {JQuery.Obj} obj An object of key-value pairs of data to update. - * @return {*} - */ - data(obj : any) : JQuery; - - /** - * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute. - * @return {*} - */ - data() : any; - - /** - * Execute the next function on the queue for the matched elements. - * - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - dequeue(queueName : string) : JQuery; - - /** - * Remove a previously-stored piece of data. - * - * @param {string} name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete. - * @return {*} - */ - removeData(name : string) : JQuery; - - /** - * Remove a previously-stored piece of data. - * - * @param {Array} list An array of strings naming the pieces of data to delete. - * @return {*} - */ - removeData(list : string[]) : JQuery; - - /** - * Remove all previously-stored piece of data. - * @return {*} - */ - removeData() : JQuery; - - /** - * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. - * - * @param {string} type The type of queue that needs to be observed. (default: fx) - * @param {*} target Object onto which the promise methods have to be attached - * @return {*} - */ - promise(type : string, target : any) : JQueryPromise; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : string, complete : Function) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. (default: swing) - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : string, easing : string, complete : Function) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - animate(properties : any, options : JQueryAnimationOptions) : JQuery; - - /** - * Set a timer to delay execution of subsequent items in the queue. - * - * @param {number} duration An integer indicating the number of milliseconds to delay execution of the next item in the queue. - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - delay(duration : number, queueName : string) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : number, complete : Function) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - fadeIn(options : JQueryAnimationOptions) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : number, complete : Function) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - fadeOut(options : JQueryAnimationOptions) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : string, opacity : number, complete : Function) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : string, opacity : number, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : number, complete : Function) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - fadeToggle(options : JQueryAnimationOptions) : JQuery; - - /** - * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. - * - * @param {string} queue The name of the queue in which to stop animations. - * @return {*} - */ - finish(queue : string) : JQuery; - - /** - * Hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : number, complete : Function) : JQuery; - - /** - * Hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - hide(options : JQueryAnimationOptions) : JQuery; - - /** - * Display the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : number, complete : Function) : JQuery; - - /** - * Display the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - show(options : JQueryAnimationOptions) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : number, complete : Function) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - slideDown(options : JQueryAnimationOptions) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : number, complete : Function) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - slideToggle(options : JQueryAnimationOptions) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : number, complete : Function) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - slideUp(options : JQueryAnimationOptions) : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param {boolean} clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param {boolean} jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop(clearQueue : boolean, jumpToEnd : boolean) : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param {string} queue The name of the queue in which to stop animations. - * @param {boolean} clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param {boolean} jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop(queue : string, clearQueue : boolean, jumpToEnd : boolean) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : number, complete : Function) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {*} options A map of additional options to pass to the method. - * @return {*} - */ - toggle(options : JQueryAnimationOptions) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {boolean} showOrHide A Boolean indicating whether to show or hide the elements. - * @return {*} - */ - toggle(showOrHide : boolean) : JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param {string} eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - bind(eventType : string, eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param {string} eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - bind(eventType : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param {string} eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {boolean} preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true. - * @return {*} - */ - bind(eventType : string, eventData : any, preventBubble : boolean) : JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param {string} eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param {boolean} preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true. - * @return {*} - */ - bind(eventType : string, preventBubble : boolean) : JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param {*} events An object containing one or more DOM event types and functions to execute for them. - * @return {*} - */ - bind(events : any) : JQuery; - - /** - * Trigger the "blur" event on an element - * @return {*} - */ - blur() : JQuery; - - /** - * Bind an event handler to the "blur" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - blur(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "blur" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - blur(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "change" event on an element. - * @return {*} - */ - change() : JQuery; - - /** - * Bind an event handler to the "change" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - change(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "change" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - change(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "click" event on an element. - * @return {*} - */ - click() : JQuery; - - /** - * Bind an event handler to the "click" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param {*} handler - * @return {*} - */ - click(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "click" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - click(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "contextmenu" event on an element. - * @return {*} - */ - contextmenu() : JQuery; - - /** - * Bind an event handler to the "contextmenu" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - contextmenu(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "contextmenu" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - contextmenu(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "dblclick" event on an element. - * @return {*} - */ - dblclick() : JQuery; - - /** - * Bind an event handler to the "dblclick" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - dblclick(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "dblclick" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - dblclick(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - delegate(selector : any, eventType : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - delegate(selector : any, eventType : string, eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "focus" event on an element. - * @return {*} - */ - focus() : JQuery; - - /** - * Bind an event handler to the "focus" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focus(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "focus" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focus(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "focusin" event on an element. - * @return {*} - */ - focusin() : JQuery; - - /** - * Bind an event handler to the "focusin" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focusin(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "focusin" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focusin(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "focusout" event on an element. - * @return {*} - */ - focusout() : JQuery; - - /** - * Bind an event handler to the "focusout" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focusout(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "focusout" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - focusout(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. - * - * @param {*} handlerIn A function to execute when the mouse pointer enters the element. - * @param {*} handlerOut A function to execute when the mouse pointer leaves the element. - * @return {*} - */ - hover(handlerIn : (p1: JQueryEventObject) => any, handlerOut : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements. - * - * @param {*} handlerInOut A function to execute when the mouse pointer enters or leaves the element. - * @return {*} - */ - hover(handlerInOut : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "keydown" event on an element. - * @return {*} - */ - keydown() : JQuery; - - /** - * Bind an event handler to the "keydown" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keydown(handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "keydown" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keydown(eventData : any, handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Trigger the "keypress" event on an element. - * @return {*} - */ - keypress() : JQuery; - - /** - * Bind an event handler to the "keypress" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keypress(handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "keypress" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keypress(eventData : any, handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Trigger the "keyup" event on an element. - * @return {*} - */ - keyup() : JQuery; - - /** - * Bind an event handler to the "keyup" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keyup(handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "keyup" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - keyup(eventData : any, handler : (p1: JQueryKeyEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - load(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - load(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "mousedown" event on an element. - * @return {*} - */ - mousedown() : JQuery; - - /** - * Bind an event handler to the "mousedown" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mousedown(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "mousedown" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mousedown(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mouseenter" event on an element. - * @return {*} - */ - mouseenter() : JQuery; - - /** - * Bind an event handler to be fired when the mouse enters an element. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseenter(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to be fired when the mouse enters an element. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseenter(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mouseleave" event on an element. - * @return {*} - */ - mouseleave() : JQuery; - - /** - * Bind an event handler to be fired when the mouse leaves an element. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseleave(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to be fired when the mouse leaves an element. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseleave(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mousemove" event on an element. - * @return {*} - */ - mousemove() : JQuery; - - /** - * Bind an event handler to the "mousemove" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mousemove(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "mousemove" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mousemove(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mouseout" event on an element. - * @return {*} - */ - mouseout() : JQuery; - - /** - * Bind an event handler to the "mouseout" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseout(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "mouseout" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseout(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mouseover" event on an element. - * @return {*} - */ - mouseover() : JQuery; - - /** - * Bind an event handler to the "mouseover" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseover(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "mouseover" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseover(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Trigger the "mouseup" event on an element. - * @return {*} - */ - mouseup() : JQuery; - - /** - * Bind an event handler to the "mouseup" JavaScript event. - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseup(handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "mouseup" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - mouseup(eventData : any, handler : (p1: JQueryMouseEventObject) => any) : JQuery; - - /** - * Remove an event handler. - * @return {*} - */ - off() : JQuery; - - /** - * Remove an event handler. - * - * @param {string} events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param {string} selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @param {*} handler A handler function previously attached for the event(s), or the special value false. - * @return {*} - */ - off(events : string, selector : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Remove an event handler. - * - * @param {string} events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param {*} handler A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on(). - * @return {*} - */ - off(events : string, handler : (p1: JQueryEventObject, p2: any) => any) : JQuery; - - /** - * Remove an event handler. - * - * @param {string} events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param {*} handler A handler function previously attached for the event(s), or the special value false. - * @return {*} - */ - off(events : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Remove an event handler. - * - * @param {JQuery.Events} events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s). - * @param {string} selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @return {*} - */ - off(events : any, selector : string) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @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). - * @return {*} - */ - on(events : string, handler : (p1: JQueryEventObject, p2: any) => any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param {*} data Data to be passed to the handler in event.data when an event is triggered. - * @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. - * @return {*} - */ - on(events : string, data : any, handler : (p1: JQueryEventObject, p2: any) => any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param {string} 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. - * @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. - * @return {*} - */ - on(events : string, selector : string, handler : (p1: JQueryEventObject, p2: any) => any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param {string} 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. - * @param {*} data Data to be passed to the handler in event.data when an event is triggered. - * @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. - * @return {*} - */ - on(events : string, selector : string, data : any, handler : (p1: JQueryEventObject, p2: any) => any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {JQuery.Events} 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). - * @param {string} 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. - * @param {*} data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - on(events : any, selector : string, data : any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {JQuery.Events} 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). - * @param {*} data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - on(events : any, data : any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {string} events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names. - * @param {*} handler A function to execute at the time the event is triggered. - * @return {*} - */ - one(events : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {string} events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names. - * @param {*} data An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute at the time the event is triggered. - * @return {*} - */ - one(events : string, data : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param {string} 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. - * @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. - * @return {*} - */ - one(events : string, selector : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {string} events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param {string} 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. - * @param {*} data Data to be passed to the handler in event.data when an event is triggered. - * @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. - * @return {*} - */ - one(events : string, selector : string, data : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {JQuery.Events} 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). - * @param {string} 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. - * @param {*} data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - one(events : any, selector : string, data : any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {JQuery.Events} 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). - * @param {*} data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - one(events : any, data : any) : JQuery; - - /** - * Specify a function to execute when the DOM is fully loaded. - * - * @param {*} handler A function to execute after the DOM is ready. - * @return {*} - */ - ready(handler : (p1: JQueryStatic) => any) : JQuery; - - /** - * Trigger the "resize" event on an element. - * @return {*} - */ - resize() : JQuery; - - /** - * Bind an event handler to the "resize" JavaScript event. - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - resize(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "resize" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - resize(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "scroll" event on an element. - * @return {*} - */ - scroll() : JQuery; - - /** - * Bind an event handler to the "scroll" JavaScript event. - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - scroll(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "scroll" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - scroll(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "select" event on an element. - * @return {*} - */ - select() : JQuery; - - /** - * Bind an event handler to the "select" JavaScript event. - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - select(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "select" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - select(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Trigger the "submit" event on an element. - * @return {*} - */ - submit() : JQuery; - - /** - * Bind an event handler to the "submit" JavaScript event - * - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - submit(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "submit" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param {*} handler A function to execute each time the event is triggered. - * @return {*} - */ - submit(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param {Array} extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(eventType : string, extraParameters : any[]) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {*} event A jQuery.Event object. - * @param {Array} extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(event : JQueryEventObject, extraParameters : any[]) : JQuery; - - /** - * Execute all handlers attached to an element for an event. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param {Array} extraParameters An array of additional parameters to pass along to the event handler. - * @return {*} - */ - triggerHandler(eventType : string, ...extraParameters : any[]) : any; - - /** - * Execute all handlers attached to an element for an event. - * - * @param {*} event A jQuery.Event object. - * @param {Array} extraParameters An array of additional parameters to pass along to the event handler. - * @return {*} - */ - triggerHandler(event : JQueryEventObject, ...extraParameters : any[]) : any; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param {*} handler The function that is to be no longer executed. - * @return {*} - */ - unbind(eventType : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param {boolean} fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ). - * @return {*} - */ - unbind(eventType : string, fls : boolean) : JQuery; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param {*} evt A JavaScript event object as passed to an event handler. - * @return {*} - */ - unbind(evt : any) : JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * @return {*} - */ - undelegate() : JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param {string} selector A selector which will be used to filter the event results. - * @param {string} eventType A string containing a JavaScript event type, such as "click" or "keydown" - * @param {*} handler A function to execute at the time the event is triggered. - * @return {*} - */ - undelegate(selector : string, eventType : string, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param {string} selector A selector which will be used to filter the event results. - * @param {*} events An object of one or more event types and previously bound functions to unbind from them. - * @return {*} - */ - undelegate(selector : string, events : any) : JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param {string} namespace A string containing a namespace to unbind all events from. - * @return {*} - */ - undelegate(namespace : string) : JQuery; - - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - unload(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param {*} eventData A plain object of data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - unload(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10) - */ - context : Element; - - jquery : string; - - /** - * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8) - * - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - error(handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8) - * - * @param {*} eventData A plain object of data that will be passed to the event handler. - * @param {*} handler A function to execute when the event is triggered. - * @return {*} - */ - error(eventData : any, handler : (p1: JQueryEventObject) => any) : JQuery; - - /** - * Add a collection of DOM elements onto the jQuery stack. - * - * @param {Array} elements An array of elements to push onto the stack and make into a new jQuery object. - * @return {*} - */ - pushStack(elements : any[]) : JQuery; - - /** - * Add a collection of DOM elements onto the jQuery stack. - * - * @param {Array} elements An array of elements to push onto the stack and make into a new jQuery object. - * @param {string} name The name of a jQuery method that generated the array of elements. - * @param {Array} arguments The arguments that were passed in to the jQuery method (for serialization). - * @return {*} - */ - pushStack(elements : any[], name : string, __arguments : any[]) : JQuery; - - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert after each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements. - * @param {*} content1 - * @param {Array} content2 - * @return {*} - */ - after(content1 : any, ...content2 : any[]) : JQuery; - - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - after(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements. - * @param {*} content1 - * @param {Array} content2 - * @return {*} - */ - append(content1 : any, ...content2 : any[]) : JQuery; - - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - append(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Insert every element in the set of matched elements to the end of the target. - * - * @param {*} target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter. - * @return {*} - */ - appendTo(target : any) : JQuery; - - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert before each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements. - * @param {*} content1 - * @param {Array} content2 - * @return {*} - */ - before(content1 : any, ...content2 : any[]) : JQuery; - - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - before(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Create a deep copy of the set of matched elements. - * - * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. - * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false). - * @param {boolean} withDataAndEvents - * @param {boolean} deepWithDataAndEvents - * @return {*} - */ - clone(withDataAndEvents : boolean, deepWithDataAndEvents : boolean) : JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * param selector A selector expression that filters the set of matched elements to be removed. - * @param {string} selector - * @return {*} - */ - detach(selector : string) : JQuery; - - /** - * Remove all child nodes of the set of matched elements from the DOM. - * @return {*} - */ - empty() : JQuery; - - /** - * Insert every element in the set of matched elements after the target. - * - * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter. - * @param {*} target - * @return {*} - */ - insertAfter(target : any) : JQuery; - - /** - * Insert every element in the set of matched elements before the target. - * - * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter. - * @param {*} target - * @return {*} - */ - insertBefore(target : any) : JQuery; - - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements. - * @param {*} content1 - * @param {Array} content2 - * @return {*} - */ - prepend(content1 : any, ...content2 : any[]) : JQuery; - - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - prepend(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Insert every element in the set of matched elements to the beginning of the target. - * - * @param {*} target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter. - * @return {*} - */ - prependTo(target : any) : JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * @param {string} selector A selector expression that filters the set of matched elements to be removed. - * @return {*} - */ - remove(selector : string) : JQuery; - - /** - * Replace each target element with the set of matched elements. - * - * @param {*} target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace. - * @return {*} - */ - replaceAll(target : any) : JQuery; - - /** - * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. - * - * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object. - * @param {*} newContent - * @return {*} - */ - replaceWith(newContent : any) : JQuery; - - /** - * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. - * - * param func A function that returns content with which to replace the set of matched elements. - * @param {*} func - * @return {*} - */ - replaceWith(func : () => Element) : JQuery; - - /** - * Get the combined text contents of each element in the set of matched elements, including their descendants. - * @return {string} - */ - text() : string; - - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param {string} text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation. - * @return {*} - */ - text(text : string) : JQuery; - - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param {*} func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments. - * @return {*} - */ - text(func : (p1: number, p2: string) => string) : JQuery; - - /** - * Retrieve all the elements contained in the jQuery set, as an array. - * @name toArray - * @return {Array} - */ - toArray() : HTMLElement[]; - - /** - * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. - * @return {*} - */ - unwrap() : JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param {*} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrap(wrappingElement : JQuery) : JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param {*} func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @return {*} - */ - wrap(func : (p1: number) => string) : JQuery; - - /** - * Wrap an HTML structure around all elements in the set of matched elements. - * - * @param {*} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrapAll(wrappingElement : JQuery) : JQuery; - - wrapAll(func : (p1: number) => string) : JQuery; - - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param {*} wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements. - * @return {*} - */ - wrapInner(wrappingElement : JQuery) : JQuery; - - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param {*} func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @return {*} - */ - wrapInner(func : (p1: number) => string) : JQuery; - - /** - * Iterate over a jQuery object, executing a function for each matched element. - * - * @param {*} func A function to execute for each matched element. - * @return {*} - */ - each(func : (p1: number, p2: Element) => any) : JQuery; - - /** - * Retrieve one of the elements matched by the jQuery object. - * - * @param {number} index A zero-based integer indicating which element to retrieve. - * @return {HTMLElement} - */ - get(index : number) : HTMLElement; - - /** - * Retrieve the elements matched by the jQuery object. - * @alias toArray - * @return {Array} - */ - get() : HTMLElement[]; - - /** - * Search for a given element from among the matched elements. - * @return {number} - */ - index() : number; - - /** - * Search for a given element from among the matched elements. - * - * @param {string} selector A selector representing a jQuery collection in which to look for an element. - * @return {number} - */ - index(selector : string) : number; - - /** - * The number of elements in the jQuery object. - */ - length : number; - - /** - * A selector representing selector passed to jQuery(), if any, when creating the original set. - * version deprecated: 1.7, removed: 1.9 - */ - selector : string; - - [index : string]: any; - - [index : number]: HTMLElement; - - /** - * Add elements to the set of matched elements. - * - * @param {string} selector A string representing a selector expression to find additional elements to add to the set of matched elements. - * @param {Element} context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method. - * @return {*} - */ - add(selector : string, context : Element) : JQuery; - - /** - * Add elements to the set of matched elements. - * - * @param {Array} elements One or more elements to add to the set of matched elements. - * @return {*} - */ - add(...elements : Element[]) : JQuery; - - /** - * Add elements to the set of matched elements. - * - * @param {string} html An HTML fragment to add to the set of matched elements. - * @return {*} - */ - add(html : string) : JQuery; - - /** - * Add elements to the set of matched elements. - * - * @param {*} obj An existing jQuery object to add to the set of matched elements. - * @return {*} - */ - add(obj : JQuery) : JQuery; - - /** - * Get the children of each element in the set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - children(selector : string) : JQuery; - - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - closest(selector : string) : JQuery; - - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @param {Element} context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - * @return {*} - */ - closest(selector : string, context : Element) : JQuery; - - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param {*} obj A jQuery object to match elements against. - * @return {*} - */ - closest(obj : JQuery) : JQuery; - - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param {Element} element An element to match elements against. - * @return {*} - */ - closest(element : Element) : JQuery; - - /** - * Get an array of all the elements and selectors matched against the current element up through the DOM tree. - * - * @param {*} selectors An array or string containing a selector expression to match elements against (can also be a jQuery object). - * @param {Element} context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - * @return {Array} - */ - closest(selectors : any, context : Element) : any[]; - - /** - * Get the children of each element in the set of matched elements, including text and comment nodes. - * @return {*} - */ - contents() : JQuery; - - /** - * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. - * @return {*} - */ - end() : JQuery; - - /** - * Reduce the set of matched elements to the one at the specified index. - * - * @param {number} index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set. - * - * @return {*} - */ - eq(index : number) : JQuery; - - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param {string} selector A string containing a selector expression to match the current set of elements against. - * @return {*} - */ - filter(selector : string) : JQuery; - - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param {*} func A function used as a test for each element in the set. this is the current DOM element. - * @return {*} - */ - filter(func : (p1: number, p2: Element) => any) : JQuery; - - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param {Element} element An element to match the current set of elements against. - * @return {*} - */ - filter(element : Element) : JQuery; - - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param {*} obj An existing jQuery object to match the current set of elements against. - * @return {*} - */ - filter(obj : JQuery) : JQuery; - - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - find(selector : string) : JQuery; - - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param {Element} element An element to match elements against. - * @return {*} - */ - find(element : Element) : JQuery; - - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param {*} obj A jQuery object to match elements against. - * @return {*} - */ - find(obj : JQuery) : JQuery; - - /** - * Reduce the set of matched elements to the first in the set. - * @return {*} - */ - first() : JQuery; - - /** - * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - has(selector : string) : JQuery; - - /** - * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - * - * @param {Element} contained A DOM element to match elements against. - * @return {*} - */ - has(contained : Element) : JQuery; - - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {boolean} - */ - is(selector : string) : boolean; - - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param {*} func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element. - * @return {boolean} - */ - is(func : (p1: number, p2: Element) => boolean) : boolean; - - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param {*} obj An existing jQuery object to match the current set of elements against. - * @return {boolean} - */ - is(obj : JQuery) : boolean; - - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param {*} elements One or more elements to match the current set of elements against. - * @return {boolean} - */ - is(elements : any) : boolean; - - /** - * Reduce the set of matched elements to the final one in the set. - * @return {*} - */ - last() : JQuery; - - /** - * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. - * - * @param {*} callback A function object that will be invoked for each element in the current set. - * @return {*} - */ - map(callback : (p1: number, p2: Element) => any) : JQuery; - - /** - * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - next(selector : string) : JQuery; - - /** - * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - nextAll(selector : string) : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching following sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(selector : string, filter : string) : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(element : Element, filter : string) : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(obj : JQuery, filter : string) : JQuery; - - /** - * Remove elements from the set of matched elements. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - not(selector : string) : JQuery; - - /** - * Remove elements from the set of matched elements. - * - * @param {*} func A function used as a test for each element in the set. this is the current DOM element. - * @return {*} - */ - not(func : (p1: number, p2: Element) => boolean) : JQuery; - - /** - * Remove elements from the set of matched elements. - * - * @param {Element} elements One or more DOM elements to remove from the matched set. - * @return {*} - */ - not(elements : Element) : JQuery; - - /** - * Remove elements from the set of matched elements. - * - * @param {*} obj An existing jQuery object to match the current set of elements against. - * @return {*} - */ - not(obj : JQuery) : JQuery; - - /** - * Get the closest ancestor element that is positioned. - * @return {*} - */ - offsetParent() : JQuery; - - /** - * Get the parent of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - parent(selector : string) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - parents(selector : string) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching ancestor elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(selector : string, filter : string) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(element : Element, filter : string) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(obj : JQuery, filter : string) : JQuery; - - /** - * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - prev(selector : string) : JQuery; - - /** - * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - prevAll(selector : string) : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching preceding sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(selector : string, filter : string) : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(element : Element, filter : string) : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param {string} filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(obj : JQuery, filter : string) : JQuery; - - /** - * Get the siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param {string} selector A string containing a selector expression to match elements against. - * @return {*} - */ - siblings(selector : string) : JQuery; - - /** - * Reduce the set of matched elements to a subset specified by a range of indices. - * - * @param {number} start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set. - * @param {number} end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set. - * @return {*} - */ - slice(start : number, end : number) : JQuery; - - /** - * Show the queue of functions to be executed on the matched elements. - * - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {Array} - */ - queue(queueName : string) : any[]; - - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param {Array} newQueue An array of functions to replace the current queue contents. - * @return {*} - */ - queue(newQueue : Function[]) : JQuery; - - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param {Function} callback The new function to add to the queue, with a function to call that will dequeue the next item. - * @return {*} - */ - queue(callback : Function) : JQuery; - - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param {Array} newQueue An array of functions to replace the current queue contents. - * @return {*} - */ - queue(queueName : string, newQueue : Function[]) : JQuery; - - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param {Function} callback The new function to add to the queue, with a function to call that will dequeue the next item. - * @return {*} - */ - queue(queueName : string, callback : Function) : JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param complete A callback function that is executed when the request completes. - * @return {*} - */ - load(url : string, data : string) : JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param data A plain object or string that is sent to the server with the request. - * @param complete A callback function that is executed when the request completes. - * @return {*} - */ - load(url : string) : JQuery; - - /** - * Add the previous set of elements on the stack to the current set, optionally filtered by a selector. - * @return {*} - */ - addBack() : JQuery; - - /** - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * - * @param className One or more space-separated classes to be removed from the class attribute of each matched element. - * @return {*} - */ - removeClass() : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param {string} className One or more class names (separated by spaces) to be toggled for each element in the matched set. - * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass(className : string) : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param swtch A boolean value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass() : JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param {*} func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments. - * @param swtch A boolean value to determine whether the class should be added or removed. - * @return {*} - */ - toggleClass(func : (p1: number, p2: string, p3: boolean) => string) : JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements. - * - * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation. - * @return {number} - */ - outerHeight() : number; - - /** - * Get the current computed width for the first element in the set of matched elements, including padding and border. - * - * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation. - * @return {number} - */ - outerWidth() : number; - - /** - * Remove from the queue all items that have not yet been run. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - clearQueue() : JQuery; - - /** - * Execute the next function on the queue for the matched elements. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - dequeue() : JQuery; - - /** - * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. - * - * @param {string} type The type of queue that needs to be observed. (default: fx) - * @param target Object onto which the promise methods have to be attached - * @return {*} - */ - promise(type : string) : JQueryPromise; - - /** - * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. - * - * @param type The type of queue that needs to be observed. (default: fx) - * @param target Object onto which the promise methods have to be attached - * @return {*} - */ - promise() : JQueryPromise; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : string) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. (default: swing) - * @param complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : string, easing : string) : JQuery; - - /** - * Set a timer to delay execution of subsequent items in the queue. - * - * @param {number} duration An integer indicating the number of milliseconds to delay execution of the next item in the queue. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {*} - */ - delay(duration : number) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : number) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn() : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : number, easing : string) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : number) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut() : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : number, easing : string) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : string, opacity : number) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : string, opacity : number, easing : string) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : number) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle() : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : number, easing : string) : JQuery; - - /** - * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. - * - * @param queue The name of the queue in which to stop animations. - * @return {*} - */ - finish() : JQuery; - - /** - * Hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : number) : JQuery; - - /** - * Hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - hide() : JQuery; - - /** - * Hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : number, easing : string) : JQuery; - - /** - * Display the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : number) : JQuery; - - /** - * Display the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - show() : JQuery; - - /** - * Display the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : number, easing : string) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : number) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideDown() : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : number, easing : string) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : number) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle() : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : number, easing : string) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : number) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideUp() : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : number, easing : string) : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param {boolean} clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop(clearQueue : boolean) : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop() : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param {string} queue The name of the queue in which to stop animations. - * @param {boolean} clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop(queue : string, clearQueue : boolean) : JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param {string} queue The name of the queue in which to stop animations. - * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - * @return {*} - */ - stop(queue : string) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : number) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - toggle() : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : number, easing : string) : JQuery; - - /** - * Bind an event handler to the "blur" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - blur(eventData : any) : JQuery; - - /** - * Bind an event handler to the "change" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - change(eventData : any) : JQuery; - - /** - * Bind an event handler to the "click" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - click(eventData : any) : JQuery; - - /** - * Bind an event handler to the "dblclick" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - dblclick(eventData : any) : JQuery; - - /** - * Bind an event handler to the "focus" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - focus(eventData : any) : JQuery; - - /** - * Bind an event handler to the "keydown" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - keydown(eventData : any) : JQuery; - - /** - * Bind an event handler to the "keypress" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - keypress(eventData : any) : JQuery; - - /** - * Bind an event handler to the "keyup" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - keyup(eventData : any) : JQuery; - - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - * @return {*} - */ - load(eventData : any) : JQuery; - - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - * @return {*} - */ - load() : JQuery; - - /** - * Remove an event handler. - * - * @param {string} events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param {string} selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @param handler A handler function previously attached for the event(s), or the special value false. - * @return {*} - */ - off(events : string, selector : string) : JQuery; - - /** - * Remove an event handler. - * - * @param {string} events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @param handler A handler function previously attached for the event(s), or the special value false. - * @return {*} - */ - off(events : string) : JQuery; - - /** - * Remove an event handler. - * - * @param {JQuery.Events} events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s). - * @param selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @return {*} - */ - off(events : any) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {JQuery.Events} 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). - * @param {string} 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. - * @param data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - on(events : any, selector : string) : JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param {JQuery.Events} 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). - * @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. - * @param data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - on(events : any) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {JQuery.Events} 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). - * @param {string} 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. - * @param data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - one(events : any, selector : string) : JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param {JQuery.Events} 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). - * @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. - * @param data Data to be passed to the handler in event.data when an event occurs. - * @return {*} - */ - one(events : any) : JQuery; - - /** - * Bind an event handler to the "submit" JavaScript event - * - * @param {*} eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - * @return {*} - */ - submit(eventData : any) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(eventType : string) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {*} event A jQuery.Event object. - * @param extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(event : JQueryEventObject) : JQuery; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param handler The function that is to be no longer executed. - * @return {*} - */ - unbind(eventType : string) : JQuery; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param eventType A string containing a JavaScript event type, such as click or submit. - * @param handler The function that is to be no longer executed. - * @return {*} - */ - unbind() : JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param {string} selector A selector which will be used to filter the event results. - * @param {string} eventType A string containing a JavaScript event type, such as "click" or "keydown" - * @param handler A function to execute at the time the event is triggered. - * @return {*} - */ - undelegate(selector : string, eventType : string) : JQuery; - - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param {*} eventData A plain object of data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - * @return {*} - */ - unload(eventData : any) : JQuery; - - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param eventData A plain object of data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - * @return {*} - */ - unload() : JQuery; - - /** - * Create a deep copy of the set of matched elements. - * - * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. - * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false). - * @param {boolean} withDataAndEvents - * @return {*} - */ - clone(withDataAndEvents : boolean) : JQuery; - - /** - * Create a deep copy of the set of matched elements. - * - * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. - * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false). - * @return {*} - */ - clone() : JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * param selector A selector expression that filters the set of matched elements to be removed. - * @return {*} - */ - detach() : JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * @param selector A selector expression that filters the set of matched elements to be removed. - * @return {*} - */ - remove() : JQuery; - - /** - * Get the children of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - children() : JQuery; - - /** - * Get an array of all the elements and selectors matched against the current element up through the DOM tree. - * - * @param {*} selectors An array or string containing a selector expression to match elements against (can also be a jQuery object). - * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - * @return {Array} - */ - closest(selectors : any) : any[]; - - /** - * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - next() : JQuery; - - /** - * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - nextAll() : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(selector : string) : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil() : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(element : Element) : JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - nextUntil(obj : JQuery) : JQuery; - - /** - * Get the parent of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - parent() : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - parents() : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(selector : string) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil() : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(element : Element) : JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - parentsUntil(obj : JQuery) : JQuery; - - /** - * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - prev() : JQuery; - - /** - * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - prevAll() : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {string} selector A string containing a selector expression to indicate where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(selector : string) : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil() : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {Element} element A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(element : Element) : JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param {*} obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - * @return {*} - */ - prevUntil(obj : JQuery) : JQuery; - - /** - * Get the siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - * @return {*} - */ - siblings() : JQuery; - - /** - * Reduce the set of matched elements to a subset specified by a range of indices. - * - * @param {number} start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set. - * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set. - * @return {*} - */ - slice(start : number) : JQuery; - - /** - * Show the queue of functions to be executed on the matched elements. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {Array} - */ - queue() : any[]; - - /** - * Specify a function to execute when the DOM is fully loaded. - * - * @param {*} handler A function to execute after the DOM is ready. - * @return {*} - */ - ready(handler : () => any) : JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} complete A callback function that is executed when the request completes. - * @return {*} - */ - load(url : string, data : any, complete : (p1: string, p2: string, p3: XMLHttpRequest) => any) : JQuery; - - /** - * Set one or more attributes for the set of matched elements. - * - * @param {string} attributeName The name of the attribute to set. - * @param {number} value A value to set for the attribute. - * @return {*} - */ - attr(attributeName : string, value : number) : JQuery; - - /** - * Set one or more attributes for the set of matched elements. - * - * @param {string} attributeName The name of the attribute to set. - * @param {*} func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments. - * @return {*} - */ - attr(attributeName : string, func : (p1: number, p2: string) => number) : JQuery; - - /** - * Set one or more properties for the set of matched elements. - * - * @param {string} propertyName The name of the property to set. - * @param {number} value A value to set for the property. - * @return {*} - */ - prop(propertyName : string, value : number) : JQuery; - - /** - * Set one or more properties for the set of matched elements. - * - * @param {string} propertyName The name of the property to set. - * @param {boolean} value A value to set for the property. - * @return {*} - */ - prop(propertyName : string, value : boolean) : JQuery; - - /** - * Set the value of each element in the set of matched elements. - * - * @param {Array} value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked. - * @return {*} - */ - val(value : string[]) : JQuery; - - /** - * Set the value of each element in the set of matched elements. - * - * @param {number} value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked. - * @return {*} - */ - val(value : number) : JQuery; - - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param {string} propertyName A CSS property name. - * @param {number} value A value to set for the property. - * @return {*} - */ - css(propertyName : string, value : number) : JQuery; - - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param {string} propertyName A CSS property name. - * @param {*} value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - * @return {*} - */ - css(propertyName : string, value : (p1: number, p2: string) => number) : JQuery; - - /** - * Set the CSS height of every matched element. - * - * @param {string} value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string). - * @return {*} - */ - height(value : string) : JQuery; - - /** - * Set the CSS height of every matched element. - * - * @param {*} func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set. - * @return {*} - */ - height(func : (p1: number, p2: number) => string) : JQuery; - - /** - * Sets the inner height on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {string} height - * @return {*} - */ - innerHeight(height : string) : JQuery; - - /** - * Sets the inner width on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {string} width - * @return {*} - */ - innerWidth(width : string) : JQuery; - - /** - * Sets the outer height on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {string} height - * @return {*} - */ - outerHeight(height : string) : JQuery; - - /** - * Sets the outer width on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @param {string} width - * @return {*} - */ - outerWidth(width : string) : JQuery; - - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param {string} value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - * @return {*} - */ - width(value : string) : JQuery; - - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param {*} func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set. - * @return {*} - */ - width(func : (p1: number, p2: number) => string) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {number} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : number, complete : Function) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. (default: swing) - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : number, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : string, complete : Function) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : string, complete : Function) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : number, opacity : number, complete : Function) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : number, opacity : number, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : string, complete : Function) : JQuery; - - /** - * Hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : string, complete : Function) : JQuery; - - /** - * Display the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : string, complete : Function) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : string, complete : Function) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : string, complete : Function) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param {Function} complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : string, easing : string, complete : Function) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {string} eventType A string containing a JavaScript event type, such as click or submit. - * @param {*} extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(eventType : string, extraParameters : any) : JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param {*} event A jQuery.Event object. - * @param {*} extraParameters Additional parameters to pass along to the event handler. - * @return {*} - */ - trigger(event : JQueryEventObject, extraParameters : any) : JQuery; - - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - after(func : (p1: number, p2: string) => JQuery) : JQuery; - - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - after(func : (p1: number, p2: string) => Element) : JQuery; - - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - append(func : (p1: number, p2: string) => JQuery) : JQuery; - - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - append(func : (p1: number, p2: string) => Element) : JQuery; - - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - before(func : (p1: number, p2: string) => JQuery) : JQuery; - - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - before(func : (p1: number, p2: string) => Element) : JQuery; - - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - prepend(func : (p1: number, p2: string) => JQuery) : JQuery; - - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - * @param {*} func - * @return {*} - */ - prepend(func : (p1: number, p2: string) => Element) : JQuery; - - /** - * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. - * - * param func A function that returns content with which to replace the set of matched elements. - * @param {*} func - * @return {*} - */ - replaceWith(func : () => JQuery) : JQuery; - - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param {number} text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation. - * @return {*} - */ - text(text : number) : JQuery; - - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param {boolean} text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation. - * @return {*} - */ - text(text : boolean) : JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param {string} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrap(wrappingElement : string) : JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param {Element} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrap(wrappingElement : Element) : JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param {*} func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - * @return {*} - */ - wrap(func : (p1: number) => JQuery) : JQuery; - - /** - * Wrap an HTML structure around all elements in the set of matched elements. - * - * @param {Element} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrapAll(wrappingElement : Element) : JQuery; - - /** - * Wrap an HTML structure around all elements in the set of matched elements. - * - * @param {string} wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - * @return {*} - */ - wrapAll(wrappingElement : string) : JQuery; - - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param {string} wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements. - * @return {*} - */ - wrapInner(wrappingElement : string) : JQuery; - - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param {Element} wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements. - * @return {*} - */ - wrapInner(wrappingElement : Element) : JQuery; - - /** - * Search for a given element from among the matched elements. - * - * @param {*} selector A selector representing a jQuery collection in which to look for an element. - * @return {number} - */ - index(selector : JQuery) : number; - - /** - * Search for a given element from among the matched elements. - * - * @param {Element} selector A selector representing a jQuery collection in which to look for an element. - * @return {number} - */ - index(selector : Element) : number; - - /** - * Remove elements from the set of matched elements. - * - * @param {Array} elements One or more DOM elements to remove from the matched set. - * @return {*} - */ - not(elements : Element[]) : JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param complete A callback function that is executed when the request completes. - * @return {*} - */ - load(url : string, data : any) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {number} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : number) : JQuery; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param {*} properties An object of CSS properties and values that the animation will move toward. - * @param {number} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. (default: swing) - * @param complete A function to call once the animation is complete. - * @return {*} - */ - animate(properties : any, duration : number, easing : string) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : string) : JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeIn(duration : string, easing : string) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : string) : JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeOut(duration : string, easing : string) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : number, opacity : number) : JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param {number} duration A string or number determining how long the animation will run. - * @param {number} opacity A number between 0 and 1 denoting the target opacity. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeTo(duration : number, opacity : number, easing : string) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : string) : JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - fadeToggle(duration : string, easing : string) : JQuery; - - /** - * Hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : string) : JQuery; - - /** - * Hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - hide(duration : string, easing : string) : JQuery; - - /** - * Display the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : string) : JQuery; - - /** - * Display the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - show(duration : string, easing : string) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : string) : JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideDown(duration : string, easing : string) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : string) : JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideToggle(duration : string, easing : string) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : string) : JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - slideUp(duration : string, easing : string) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : string) : JQuery; - - /** - * Display or hide the matched elements. - * - * @param {string} duration A string or number determining how long the animation will run. - * @param {string} easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - * @return {*} - */ - toggle(duration : string, easing : string) : JQuery; -} - -interface JQuerySupport { - ajax? : boolean; - - boxModel? : boolean; - - changeBubbles? : boolean; - - checkClone? : boolean; - - checkOn? : boolean; - - cors? : boolean; - - cssFloat? : boolean; - - hrefNormalized? : boolean; - - htmlSerialize? : boolean; - - leadingWhitespace? : boolean; - - noCloneChecked? : boolean; - - noCloneEvent? : boolean; - - opacity? : boolean; - - optDisabled? : boolean; - - optSelected? : boolean; - - scriptEval() : boolean; - - style? : boolean; - - submitBubbles? : boolean; - - tbody? : boolean; -} - -/** - * Elements in the array returned by serializeArray() - * @class - * @extends Object - */ -interface JQuerySerializeArrayElement { - name : string; - - value : string; -} - -/** - * Interface for the JQuery callback - * @class - * @extends Object - */ -interface JQueryCallback { - /** - * Add a callback or a collection of callbacks to a callback list. - * - * @param {Function} callbacks A function, or array of functions, that are to be added to the callback list. - * @return {*} - */ - add(callbacks : Function) : JQueryCallback; - - /** - * Add a callback or a collection of callbacks to a callback list. - * - * @param {Array} callbacks A function, or array of functions, that are to be added to the callback list. - * @return {*} - */ - add(callbacks : Function[]) : JQueryCallback; - - /** - * Disable a callback list from doing anything more. - * @return {*} - */ - disable() : JQueryCallback; - - /** - * Determine if the callbacks list has been disabled. - * @return {boolean} - */ - disabled() : boolean; - - /** - * Remove all of the callbacks from a list. - * @return {*} - */ - empty() : JQueryCallback; - - /** - * Call all of the callbacks with the given arguments - * - * @param {Array} arguments The argument or list of arguments to pass back to the callback list. - * @return {*} - */ - fire(...__arguments : any[]) : JQueryCallback; - - /** - * Determine if the callbacks have already been called at least once. - * @return {boolean} - */ - fired() : boolean; - - /** - * Call all callbacks in a list with the given context and arguments. - * - * @param {*} context A reference to the context in which the callbacks in the list should be fired. - * @param arguments An argument, or array of arguments, to pass to the callbacks in the list. - * @param {Array} args - * @return {*} - */ - fireWith(context : any, args : any[]) : JQueryCallback; - - /** - * Determine whether a supplied callback is in a list - * - * @param {Function} callback The callback to search for. - * @return {boolean} - */ - has(callback : Function) : boolean; - - /** - * Lock a callback list in its current state. - * @return {*} - */ - lock() : JQueryCallback; - - /** - * Determine if the callbacks list has been locked. - * @return {boolean} - */ - locked() : boolean; - - /** - * Remove a callback or a collection of callbacks from a callback list. - * - * @param {Function} callbacks A function, or array of functions, that are to be removed from the callback list. - * @return {*} - */ - remove(callbacks : Function) : JQueryCallback; - - /** - * Remove a callback or a collection of callbacks from a callback list. - * - * @param {Array} callbacks A function, or array of functions, that are to be removed from the callback list. - * @return {*} - */ - remove(callbacks : Function[]) : JQueryCallback; - - /** - * Call all callbacks in a list with the given context and arguments. - * - * @param {*} context A reference to the context in which the callbacks in the list should be fired. - * @param arguments An argument, or array of arguments, to pass to the callbacks in the list. - * @return {*} - */ - fireWith(context : any) : JQueryCallback; - - /** - * Call all callbacks in a list with the given context and arguments. - * - * @param context A reference to the context in which the callbacks in the list should be fired. - * @param arguments An argument, or array of arguments, to pass to the callbacks in the list. - * @return {*} - */ - fireWith() : JQueryCallback; -} - -declare var jQuery : any; - -declare var $ : any; - -declare var jquery : any; - - -/** - * Allows jQuery Promises to interop with non-jQuery promises - * @class - * @extends Object - */ -interface JQueryGenericPromise { - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @param {*} progressFilter - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => U, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @param {*} progressFilter - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => void, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => U, failFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => U) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => void, failFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => void) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @param {*} progressFilter - * @return {*} - */ - then(doneFilter : () => U, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {() => void} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @param {*} progressFilter - * @return {*} - */ - then(doneFilter : () => void, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : () => U, failFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : () => U) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {() => void} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : () => void, failFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {() => void} doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : () => void) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @param {*} progressFilter - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => JQueryPromise, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param {*} failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => JQueryPromise, failFilter : (p1: any) => any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param {*} doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - * @return {*} - */ - then(doneFilter : (p1: T, p2: any) => JQueryPromise) : JQueryPromise; -} - -/** - * Interface of the JQuery extension of the W3C event object - * @class - * @extends Event - */ -interface BaseJQueryEventObject extends Event { - currentTarget : Element; - - data : any; - - delegateTarget : Element; - - isDefaultPrevented() : boolean; - - isImmediatePropagationStopped() : boolean; - - isPropagationStopped() : boolean; - - namespace : string; - - originalEvent : Event; - - preventDefault(); - - relatedTarget : Element; - - result : any; - - stopImmediatePropagation(); - - stopPropagation(); - - target : Element; - - pageX : number; - - pageY : number; - - which : number; - - metaKey : boolean; -} - -/** - * Interface for the jqXHR object - * @class - * @extends XMLHttpRequest - */ -interface JQueryXHR extends XMLHttpRequest { - /** - * The .overrideMimeType() method may be used in the beforeSend() callback function, for example, to modify the response content-type header. As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). - * @param {string} mimeType - */ - overrideMimeType(mimeType : string); - - /** - * Cancel the request. - * - * @param {string} statusText A string passed as the textStatus parameter for the done callback. Default value: "canceled" - */ - abort(statusText : string); - - /** - * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details. - * @param {*} doneCallback - * @param {*} failCallback - * @return {*} - */ - then(doneCallback : (p1: any, p2: string, p3: JQueryXHR) => R, failCallback : (p1: JQueryXHR, p2: string, p3: any) => void) : JQueryPromise; - - /** - * Property containing the parsed response if the response Content-Type is json - */ - responseJSON? : any; - - /** - * A function to be called if the request fails. - * @param {*} xhr - * @param {string} textStatus - * @param {string} errorThrown - */ - error(xhr : JQueryXHR, textStatus : string, errorThrown : string); - - /** - * Determine the current state of a Deferred object. - * @return {string} - */ - state() : string; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Return a Deferred's Promise object. - * - * @param {*} target Object onto which the promise methods have to be attached - * @return {*} - */ - promise(target : any) : JQueryPromise; - - /** - * Cancel the request. - * - * @param statusText A string passed as the textStatus parameter for the done callback. Default value: "canceled" - */ - abort(); - - /** - * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details. - * @param {*} doneCallback - * @return {*} - */ - then(doneCallback : (p1: any, p2: string, p3: JQueryXHR) => R) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @return {*} - */ - always() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @return {*} - */ - done() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @return {*} - */ - fail() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @return {*} - */ - progress() : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any) : JQueryPromise; - - pipe() : JQueryPromise; - - /** - * Return a Deferred's Promise object. - * - * @param target Object onto which the promise methods have to be attached - * @return {*} - */ - promise() : JQueryPromise; - - /** - * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details. - * @param {*} doneCallback - * @param {*} failCallback - * @return {*} - */ - then(doneCallback : (p1: any, p2: string, p3: JQueryXHR) => JQueryPromise, failCallback : (p1: JQueryXHR, p2: string, p3: any) => void) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details. - * @param {*} doneCallback - * @return {*} - */ - then(doneCallback : (p1: any, p2: string, p3: JQueryXHR) => JQueryPromise) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; -} - -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. - * @return {string} - */ - (obj : any) : string; - - /** - * 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 {boolean} traditional A Boolean indicating whether to perform a traditional "shallow" serialization. - * @return {string} - */ - (obj : any, traditional : boolean) : string; -} - -interface JQueryEventObject extends BaseJQueryEventObject { - altKey : boolean; - - ctrlKey : boolean; - - metaKey : boolean; - - shiftKey : boolean; - - button : number; - - clientX : number; - - clientY : number; - - offsetX : number; - - offsetY : number; - - pageX : number; - - pageY : number; - - screenX : number; - - screenY : number; - - char : any; - - charCode : number; - - key : any; - - keyCode : number; -} - -interface JQueryKeyEventObject extends JQueryInputEventObject { - char : any; - - charCode : number; - - key : any; - - keyCode : number; -} - -/** - * Interface for the AJAX setting that will configure the AJAX request - * @class - * @extends Object - */ -interface JQueryAjaxSettings { - /** - * The content type sent in the request header that tells the server what kind of response it will accept in return. If the accepts setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. - */ - accepts? : any; - - /** - * By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success(). - */ - async? : boolean; - - /** - * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request. - * @param {*} jqXHR - * @param {*} settings - * @return {*} - */ - beforeSend(jqXHR : JQueryXHR, settings : JQueryAjaxSettings) : any; - - /** - * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET. - */ - cache? : boolean; - - /** - * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request ("success", "notmodified", "error", "timeout", "abort", or "parsererror"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event. - * @param {*} jqXHR - * @param {string} textStatus - * @return {*} - */ - complete(jqXHR : JQueryXHR, textStatus : string) : any; - - /** - * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5) - */ - contents? : any; - - /** - * When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding. - */ - contentType? : any; - - /** - * This object will be made the context of all Ajax-related callbacks. By default, the context is an object that represents the ajax settings used in the call ($.ajaxSettings merged with the settings passed to $.ajax). - */ - context? : any; - - /** - * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5) - */ - converters? : any; - - /** - * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5) - */ - crossDomain? : boolean; - - /** - * Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below). - */ - data? : any; - - /** - * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter. - * @param {*} data - * @param {*} ty - * @return {*} - */ - dataFilter(data : any, ty : any) : any; - - /** - * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string). - */ - dataType? : string; - - /** - * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are "timeout", "error", "abort", and "parsererror". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event. - * @param {*} jqXHR - * @param {string} textStatus - * @param {string} errorThrown - * @return {*} - */ - error(jqXHR : JQueryXHR, textStatus : string, errorThrown : string) : any; - - /** - * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events. - */ - global? : boolean; - - /** - * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5) - */ - headers? : any; - - /** - * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data. - */ - ifModified? : boolean; - - /** - * Allow the current environment to be recognized as "local," (e.g. the filesystem), even if jQuery does not recognize it as such by default. The following protocols are currently recognized as local: file, *-extension, and widget. If the isLocal setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. (version added: 1.5.1) - */ - isLocal? : boolean; - - /** - * Override the callback function name in a jsonp request. This value will be used instead of 'callback' in the 'callback=?' part of the query string in the url. So {jsonp:'onJSONPLoad'} would result in 'onJSONPLoad=?' passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the "?callback" string to the URL or attempting to use "=?" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: "callbackName" } - */ - jsonp? : any; - - /** - * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function. - */ - jsonpCallback? : any; - - /** - * The HTTP method to use for the request (e.g. "POST", "GET", "PUT"). (version added: 1.9.0) - */ - method? : string; - - /** - * A mime type to override the XHR mime type. (version added: 1.5.1) - */ - mimeType? : string; - - /** - * A password to be used with XMLHttpRequest in response to an HTTP access authentication request. - */ - password? : string; - - /** - * By default, data passed in to the data option as an object (technically, anything other than a string) will be processed and transformed into a query string, fitting to the default content-type "application/x-www-form-urlencoded". If you want to send a DOMDocument, or other non-processed data, set this option to false. - */ - processData? : boolean; - - /** - * Only applies when the "script" transport is used (e.g., cross-domain requests with "jsonp" or "script" dataType and "GET" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the one on the remote script. - */ - scriptCharset? : string; - - /** - * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5) - */ - statusCode? : any; - - /** - * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event. - * @param {*} data - * @param {string} textStatus - * @param {*} jqXHR - * @return {*} - */ - success(data : any, textStatus : string, jqXHR : JQueryXHR) : any; - - /** - * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period. - */ - timeout? : number; - - /** - * Set this to true if you wish to use the traditional style of param serialization. - */ - traditional? : boolean; - - /** - * The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers. - */ - type? : string; - - /** - * A string containing the URL to which the request is sent. - */ - url? : string; - - /** - * A username to be used with XMLHttpRequest in response to an HTTP access authentication request. - */ - username? : string; - - /** - * Callback for creating the XMLHttpRequest object. Defaults to the ActiveXObject when available (IE), the XMLHttpRequest otherwise. Override to provide your own implementation for XMLHttpRequest or enhancements to the factory. - */ - xhr? : any; - - /** - * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1) - */ - xhrFields? : any; -} - -/** - * Interface for the JQuery promise/deferred callbacks - * @class - */ -interface JQueryPromiseCallback { - (value : T, ...args : any[]); - - (); -} - -interface JQueryEasingFunction { - (percent : number) : number; -} - -interface JQueryEasingFunctions { - [name : string]: JQueryEasingFunction; - - linear : any; - - swing : any; -} - -interface JQueryAnimationOptions { - /** - * A string or number determining how long the animation will run. - */ - duration? : any; - - /** - * A string indicating which easing function to use for the transition. - */ - easing? : string; - - /** - * A function to call once the animation is complete. - */ - complete? : any; - - /** - * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set. - */ - step? : (p1: number, p2: any) => any; - - /** - * A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. (version added: 1.8) - */ - progress? : (p1: JQueryPromise, p2: number, p3: number) => any; - - /** - * A function to call when the animation begins. (version added: 1.8) - */ - start? : (p1: JQueryPromise) => any; - - /** - * A function to be called when the animation completes (its Promise object is resolved). (version added: 1.8) - */ - done? : (p1: JQueryPromise, p2: boolean) => any; - - /** - * A function to be called when the animation fails to complete (its Promise object is rejected). (version added: 1.8) - */ - fail? : (p1: JQueryPromise, p2: boolean) => any; - - /** - * A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). (version added: 1.8) - */ - always? : (p1: JQueryPromise, p2: boolean) => any; - - /** - * A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue("queuename") to start it. - */ - queue? : any; - - /** - * A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. (version added: 1.4) - */ - specialEasing? : any; -} - -interface JQueryInputEventObject extends BaseJQueryEventObject { - altKey : boolean; - - ctrlKey : boolean; - - metaKey : boolean; - - shiftKey : boolean; -} - -/** - * Interface for the JQuery promise, part of callbacks - * @class - * @extends * - */ -interface JQueryPromise extends JQueryGenericPromise { - /** - * Determine the current state of a Deferred object. - * @return {string} - */ - state() : string; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any, progressFilter : (p1: any) => any) : JQueryPromise; - - /** - * Return a Deferred's Promise object. - * - * @param {*} target Object onto which the promise methods have to be attached - * @return {*} - */ - promise(target : any) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @return {*} - */ - always() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @return {*} - */ - done() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @return {*} - */ - fail() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @return {*} - */ - progress() : JQueryPromise; - - pipe(doneFilter : (p1: any) => any, failFilter : (p1: any) => any) : JQueryPromise; - - pipe(doneFilter : (p1: any) => any) : JQueryPromise; - - pipe() : JQueryPromise; - - /** - * Return a Deferred's Promise object. - * - * @param target Object onto which the promise methods have to be attached - * @return {*} - */ - promise() : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : any[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {*} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback, ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - * @param {Array} alwaysCallback1 - * @param {Array} alwaysCallbacksN - * @return {*} - */ - always(alwaysCallback1 : JQueryPromiseCallback[], ...alwaysCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {*} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback, ...doneCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - * @param {Array} doneCallback1 - * @param {Array} doneCallbackN - * @return {*} - */ - done(doneCallback1 : JQueryPromiseCallback[], ...doneCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {*} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback, ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - * @param {Array} failCallback1 - * @param {Array} failCallbacksN - * @return {*} - */ - fail(failCallback1 : JQueryPromiseCallback[], ...failCallbacksN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {*} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback, ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; - - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - * @param {Array} progressCallback1 - * @param {Array} progressCallbackN - * @return {*} - */ - progress(progressCallback1 : JQueryPromiseCallback[], ...progressCallbackN : JQueryPromiseCallback[][]) : JQueryPromise; -} - -/** - * The interface used to specify coordinates. - * @class - * @extends Object - */ -interface JQueryCoordinates { - left : number; - - top : number; -} - -/** - * Static members of jQuery (those on $ and jQuery themselves) - * @class - * @extends Object - */ -interface JQueryStatic { - /** - * Perform an asynchronous HTTP (Ajax) request. - * - * @param {*} settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - * @return {*} - */ - ajax(settings : JQueryAjaxSettings) : JQueryXHR; - - /** - * Perform an asynchronous HTTP (Ajax) request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - * @return {*} - */ - ajax(url : string, settings : JQueryAjaxSettings) : JQueryXHR; - - /** - * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). - * - * @param {string} dataTypes An optional string containing one or more space-separated dataTypes - * @param {*} handler A handler to set default values for future Ajax requests. - */ - ajaxPrefilter(dataTypes : string, handler : (p1: any, p2: JQueryAjaxSettings, p3: JQueryXHR) => any); - - /** - * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). - * - * @param {*} handler A handler to set default values for future Ajax requests. - */ - ajaxPrefilter(handler : (p1: any, p2: JQueryAjaxSettings, p3: JQueryXHR) => any); - - ajaxSettings : JQueryAjaxSettings; - - /** - * Set default values for future Ajax requests. Its use is not recommended. - * - * @param {*} options A set of key/value pairs that configure the default Ajax request. All options are optional. - */ - ajaxSetup(options : JQueryAjaxSettings); - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : any, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {*} settings The JQueryAjaxSettings to be used for the request - * @return {*} - */ - get(settings : JQueryAjaxSettings) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string, data : any, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load a JavaScript file from the server using a GET HTTP request, then execute it. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. - * @return {*} - */ - getScript(url : string, success : (p1: string, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - */ - param : any; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : any, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {*} settings The JQueryAjaxSettings to be used for the request - * @return {*} - */ - post(settings : JQueryAjaxSettings) : JQueryXHR; - - /** - * A multi-purpose callbacks list object that provides a powerful way to manage callback lists. - * - * @param {string} flags An optional list of space-separated flags that change how the callback list behaves. - * @return {*} - */ - Callbacks(flags : string) : JQueryCallback; - - /** - * Holds or releases the execution of jQuery's ready event. - * - * @param {boolean} hold Indicates whether the ready hold is being requested or released - */ - holdReady(hold : boolean); - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {string} selector A string containing a selector expression - * @param {Element} context A DOM Element, Document, or jQuery to use as context - * @return {*} - */ - (selector : string, context : Element) : JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {Element} element A DOM element to wrap in a jQuery object. - * @return {*} - */ - (element : Element) : JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {Array} elementArray An array containing a set of DOM elements to wrap in a jQuery object. - * @return {*} - */ - (elementArray : Element[]) : JQuery; - - /** - * Binds a function to be executed when the DOM has finished loading. - * - * @param {*} callback A function to execute after the DOM is ready. - * @return {*} - */ - (callback : (p1: JQueryStatic) => any) : JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {*} object A plain object to wrap in a jQuery object. - * @return {*} - */ - (object : any) : JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {*} object An existing jQuery object to clone. - * @return {*} - */ - (object : JQuery) : JQuery; - - /** - * Specify a function to execute when the DOM is fully loaded. - * @return {*} - */ - () : JQuery; - - /** - * Creates DOM elements on the fly from the provided string of raw HTML. - * - * @param {string} html A string of HTML to create on the fly. Note that this parses HTML, not XML. - * @param {Document} ownerDocument A document in which the new elements will be created. - * @return {*} - */ - (html : string, ownerDocument : Document) : JQuery; - - /** - * Creates DOM elements on the fly from the provided string of raw HTML. - * - * @param {string} html A string defining a single, standalone, HTML element (e.g.
or
). - * @param {*} attributes An object of attributes, events, and methods to call on the newly-created element. - * @return {*} - */ - (html : string, attributes : any) : JQuery; - - /** - * Relinquish jQuery's control of the $ variable. - * - * @param {boolean} removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). - * @return {*} - */ - noConflict(removeAll : boolean) : JQueryStatic; - - /** - * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - * - * @param {Array} deferreds One or more Deferred objects, or plain JavaScript objects. - * @return {*} - */ - when(...deferreds : any[]) : JQueryPromise; - - /** - * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. - */ - cssHooks : any; - - cssNumber : any; - - /** - * Store arbitrary data associated with the specified element. Returns the value that was set. - * - * @param {Element} element The DOM element to associate with the data. - * @param {string} key A string naming the piece of data to set. - * @param {*} value The new data value. - * @return {*} - */ - data(element : Element, key : string, value : T) : T; - - /** - * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - * - * @param {Element} element The DOM element to associate with the data. - * @param {string} key A string naming the piece of data to set. - * @return {*} - */ - data(element : Element, key : string) : any; - - /** - * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - * - * @param {Element} element The DOM element to associate with the data. - * @return {*} - */ - data(element : Element) : any; - - /** - * Execute the next function on the queue for the matched element. - * - * @param {Element} element A DOM element from which to remove and execute a queued function. - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - dequeue(element : Element, queueName : string); - - /** - * Determine whether an element has any jQuery data associated with it. - * - * @param {Element} element A DOM element to be checked for data. - * @return {boolean} - */ - hasData(element : Element) : boolean; - - /** - * Show the queue of functions to be executed on the matched element. - * - * @param {Element} element A DOM element to inspect for an attached queue. - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {Array} - */ - queue(element : Element, queueName : string) : any[]; - - /** - * Manipulate the queue of functions to be executed on the matched element. - * - * @param {Element} element A DOM element where the array of queued functions is attached. - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param {Array} newQueue An array of functions to replace the current queue contents. - * @return {*} - */ - queue(element : Element, queueName : string, newQueue : Function[]) : JQuery; - - /** - * Manipulate the queue of functions to be executed on the matched element. - * - * @param {Element} element A DOM element on which to add a queued function. - * @param {string} queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param {Function} callback The new function to add to the queue. - * @return {*} - */ - queue(element : Element, queueName : string, callback : Function) : JQuery; - - /** - * Remove a previously-stored piece of data. - * - * @param {Element} element A DOM element from which to remove data. - * @param {string} name A string naming the piece of data to remove. - * @return {*} - */ - removeData(element : Element, name : string) : JQuery; - - /** - * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. - * - * @param {*} beforeStart A function that is called just before the constructor returns. - * @return {*} - */ - Deferred(beforeStart : (p1: JQueryDeferred) => any) : JQueryDeferred; - - /** - * Effects - */ - easing : JQueryEasingFunctions; - - fx : any; - - /** - * Takes a function and returns a new one that will always have a particular context. - * - * @param {*} fnction The function whose context will be changed. - * @param {*} context The object to which the context (this) of the function should be set. - * @param {Array} additionalArguments Any number of arguments to be passed to the function referenced in the function argument. - * @return {*} - */ - proxy(fnction : (p1: any) => any, context : any, ...additionalArguments : any[]) : any; - - /** - * Takes a function and returns a new one that will always have a particular context. - * - * @param {*} context The object to which the context (this) of the function should be set. - * @param {string} name The name of the function whose context will be changed (should be a property of the context object). - * @param {Array} additionalArguments Any number of arguments to be passed to the function named in the name argument. - * @return {*} - */ - proxy(context : any, name : string, ...additionalArguments : any[]) : any; - - Event : any; - - /** - * Takes a string and throws an exception containing it. - * - * @param {*} message The message to send out. - * @return {*} - */ - error(message : any) : JQuery; - - expr : any; - - fn : any; - - isReady : boolean; - - support : JQuerySupport; - - /** - * Check to see if a DOM element is a descendant of another DOM element. - * - * @param {Element} container The DOM element that may contain the other element. - * @param {Element} contained The DOM element that may be contained by (a descendant of) the other element. - * @return {boolean} - */ - contains(container : Element, contained : Element) : boolean; - - /** - * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. - * - * @param {Array} collection The object or array to iterate over. - * @param {*} callback The function that will be executed on every object. - * @return {*} - */ - each(collection : T[], callback : (p1: number, p2: T) => any) : any; - - /** - * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. - * - * @param {*} collection The object or array to iterate over. - * @param {*} callback The function that will be executed on every object. - * @return {*} - */ - each(collection : any, callback : (p1: any, p2: any) => any) : any; - - /** - * Merge the contents of two or more objects together into the first object. - * - * @param {*} target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. - * @param {*} object1 An object containing additional properties to merge in. - * @param {Array} objectN Additional objects containing properties to merge in. - * @return {*} - */ - extend(target : any, object1 : any, ...objectN : any[]) : any; - - /** - * Merge the contents of two or more objects together into the first object. - * - * @param {boolean} deep If true, the merge becomes recursive (aka. deep copy). - * @param {*} target The object to extend. It will receive the new properties. - * @param {*} object1 An object containing additional properties to merge in. - * @param {Array} objectN Additional objects containing properties to merge in. - * @return {*} - */ - extend(deep : boolean, target : any, object1 : any, ...objectN : any[]) : any; - - /** - * Execute some JavaScript code globally. - * - * @param {string} code The JavaScript code to execute. - * @return {*} - */ - globalEval(code : string) : any; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param {boolean} invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : (p1: T, p2: number) => boolean, invert : boolean) : T[]; - - /** - * Search for a specified value within an array and return its index (or -1 if not found). - * - * @param {*} value The value to search for. - * @param {Array} array An array through which to search. - * @param {number} fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array. - * @return {number} - */ - inArray(value : T, array : T[], fromIndex : number) : number; - - /** - * Determine whether the argument is an array. - * - * @param {*} obj Object to test whether or not it is an array. - * @return {boolean} - */ - isArray(obj : any) : boolean; - - /** - * Check to see if an object is empty (contains no enumerable properties). - * - * @param {*} obj The object that will be checked to see if it's empty. - * @return {boolean} - */ - isEmptyObject(obj : any) : boolean; - - /** - * Determine if the argument passed is a Javascript function object. - * - * @param {*} obj Object to test whether or not it is a function. - * @return {boolean} - */ - isFunction(obj : any) : boolean; - - /** - * Determines whether its argument is a number. - * - * @param obj The value to be tested. - * @param {*} value - * @return {boolean} - */ - isNumeric(value : any) : boolean; - - /** - * Check to see if an object is a plain object (created using "{}" or "new Object"). - * - * @param {*} obj The object that will be checked to see if it's a plain object. - * @return {boolean} - */ - isPlainObject(obj : any) : boolean; - - /** - * Determine whether the argument is a window. - * - * @param {*} obj Object to test whether or not it is a window. - * @return {boolean} - */ - isWindow(obj : any) : boolean; - - /** - * Check to see if a DOM node is within an XML document (or is an XML document). - * - * @param {Node} node he DOM node that will be checked to see if it's in an XML document. - * @return {boolean} - */ - isXMLDoc(node : Node) : boolean; - - /** - * Convert an array-like object into a true JavaScript array. - * - * @param {*} obj Any object to turn into a native Array. - * @return {Array} - */ - makeArray(obj : any) : any[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {Array} array The Array to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. - * @return {Array} - */ - map(array : T[], callback : (p1: T, p2: number) => U) : U[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {*} arrayOrObject The Array or Object to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. - * @return {*} - */ - map(arrayOrObject : any, callback : (p1: any, p2: any) => any) : any; - - /** - * Merge the contents of two arrays together into the first array. - * - * @param {Array} first The first array to merge, the elements of second added. - * @param {Array} second The second array to merge into the first, unaltered. - * @return {Array} - */ - merge(first : T[], second : T[]) : T[]; - - /** - * An empty function. - * @return {*} - */ - noop() : any; - - /** - * Return a number representing the current time. - * @return {number} - */ - now() : number; - - /** - * Takes a well-formed JSON string and returns the resulting JavaScript object. - * - * @param {string} json The JSON string to parse. - * @return {*} - */ - parseJSON(json : string) : any; - - /** - * Parses a string into an XML document. - * - * @param {string} data a well-formed XML string to be parsed - * @return {XMLDocument} - */ - parseXML(data : string) : XMLDocument; - - /** - * Remove the whitespace from the beginning and end of a string. - * - * @param {string} str Remove the whitespace from the beginning and end of a string. - * @return {string} - */ - trim(str : string) : string; - - /** - * Determine the internal JavaScript [[Class]] of an object. - * - * @param {*} obj Object to get the internal JavaScript [[Class]] of. - * @return {string} - */ - type(obj : any) : string; - - /** - * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers. - * - * @param {Array} array The Array of DOM elements. - * @return {Array} - */ - unique(array : Element[]) : Element[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param {string} data HTML string to be parsed - * @param {HTMLElement} context DOM element to serve as the context in which the HTML fragment will be created - * @param {boolean} keepScripts A Boolean indicating whether to include scripts passed in the HTML string - * @return {Array} - */ - parseHTML(data : string, context : HTMLElement, keepScripts : boolean) : any[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param {string} data HTML string to be parsed - * @param {Document} context DOM element to serve as the context in which the HTML fragment will be created - * @param {boolean} keepScripts A Boolean indicating whether to include scripts passed in the HTML string - * @return {Array} - */ - parseHTML(data : string, context : Document, keepScripts : boolean) : any[]; - - /** - * Perform an asynchronous HTTP (Ajax) request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - * @return {*} - */ - ajax(url : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : any, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : any) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string, data : any) : JQueryXHR; - - /** - * Load a JavaScript file from the server using a GET HTTP request, then execute it. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - * @return {*} - */ - getScript(url : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : any, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {*} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : any) : JQueryXHR; - - /** - * A multi-purpose callbacks list object that provides a powerful way to manage callback lists. - * - * @param flags An optional list of space-separated flags that change how the callback list behaves. - * @return {*} - */ - Callbacks() : JQueryCallback; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {string} selector A string containing a selector expression - * @param context A DOM Element, Document, or jQuery to use as context - * @return {*} - */ - (selector : string) : JQuery; - - /** - * Relinquish jQuery's control of the $ variable. - * - * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). - * @return {*} - */ - noConflict() : JQueryStatic; - - /** - * Execute the next function on the queue for the matched element. - * - * @param {Element} element A DOM element from which to remove and execute a queued function. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - dequeue(element : Element); - - /** - * Show the queue of functions to be executed on the matched element. - * - * @param {Element} element A DOM element to inspect for an attached queue. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @return {Array} - */ - queue(element : Element) : any[]; - - /** - * Remove a previously-stored piece of data. - * - * @param {Element} element A DOM element from which to remove data. - * @param name A string naming the piece of data to remove. - * @return {*} - */ - removeData(element : Element) : JQuery; - - /** - * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. - * - * @param beforeStart A function that is called just before the constructor returns. - * @return {*} - */ - Deferred() : JQueryDeferred; - - /** - * Merge the contents of two or more objects together into the first object. - * - * @param {*} target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. - * @param object1 An object containing additional properties to merge in. - * @param objectN Additional objects containing properties to merge in. - * @return {*} - */ - extend(target : any) : any; - - /** - * Merge the contents of two or more objects together into the first object. - * - * @param {boolean} deep If true, the merge becomes recursive (aka. deep copy). - * @param {*} target The object to extend. It will receive the new properties. - * @param object1 An object containing additional properties to merge in. - * @param objectN Additional objects containing properties to merge in. - * @return {*} - */ - extend(deep : boolean, target : any) : any; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : (p1: T, p2: number) => boolean) : T[]; - - /** - * Search for a specified value within an array and return its index (or -1 if not found). - * - * @param {*} value The value to search for. - * @param {Array} array An array through which to search. - * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array. - * @return {number} - */ - inArray(value : T, array : T[]) : number; - - /** - * Parses a string into an array of DOM nodes. - * - * @param {string} data HTML string to be parsed - * @param {HTMLElement} context DOM element to serve as the context in which the HTML fragment will be created - * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string - * @return {Array} - */ - parseHTML(data : string, context : HTMLElement) : any[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param {string} data HTML string to be parsed - * @param context DOM element to serve as the context in which the HTML fragment will be created - * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string - * @return {Array} - */ - parseHTML(data : string) : any[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param {string} data HTML string to be parsed - * @param {Document} context DOM element to serve as the context in which the HTML fragment will be created - * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string - * @return {Array} - */ - parseHTML(data : string, context : Document) : any[]; - - /** - * Binds a function to be executed when the DOM has finished loading. - * - * @param {*} callback A function to execute after the DOM is ready. - * @return {*} - */ - (callback : () => any) : JQuery; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param {boolean} invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : (p1: T) => boolean, invert : boolean) : T[]; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param {boolean} invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : () => boolean, invert : boolean) : T[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {Array} array The Array to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. - * @return {Array} - */ - map(array : T[], callback : (p1: T) => U) : U[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {Array} array The Array to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. - * @return {Array} - */ - map(array : T[], callback : () => U) : U[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {*} arrayOrObject The Array or Object to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. - * @return {*} - */ - map(arrayOrObject : any, callback : (p1: any) => any) : any; - - /** - * Translate all items in an array or object to new array of items. - * - * @param {*} arrayOrObject The Array or Object to translate. - * @param {*} callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. - * @return {*} - */ - map(arrayOrObject : any, callback : () => any) : any; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : (p1: T) => boolean) : T[]; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param {Array} array The array to search through. - * @param {*} func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - * @return {Array} - */ - grep(array : T[], func : () => boolean) : T[]; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : string, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string, data : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param {string} dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : string, success : (p1: any, p2: string, p3: JQueryXHR) => any, dataType : string) : JQueryXHR; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param {string} selector A string containing a selector expression - * @param {*} context A DOM Element, Document, or jQuery to use as context - * @return {*} - */ - (selector : string, context : JQuery) : JQuery; - - /** - * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - * - * @param {Array} deferreds One or more Deferred objects, or plain JavaScript objects. - * @return {*} - */ - when(...deferreds : any[]) : JQueryPromise; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP GET request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - * @return {*} - */ - get(url : string, data : string) : JQueryXHR; - - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - * @return {*} - */ - getJSON(url : string, data : string) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param {*} success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : string, success : (p1: any, p2: string, p3: JQueryXHR) => any) : JQueryXHR; - - /** - * Load data from the server using a HTTP POST request. - * - * @param {string} url A string containing the URL to which the request is sent. - * @param {string} data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - * @return {*} - */ - post(url : string, data : string) : JQueryXHR; - - /** - * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - * - * @param {Array} deferreds One or more Deferred objects, or plain JavaScript objects. - * @return {*} - */ - when(...deferreds : T[]) : JQueryPromise; - - /** - * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - * - * @param {Array} deferreds One or more Deferred objects, or plain JavaScript objects. - * @return {*} - */ - when(...deferreds : JQueryPromise[]) : JQueryPromise; -} - - - -declare module "jquery"; diff --git a/etc/vsdxJava2JS/.project b/etc/vsdxJava2JS/.project deleted file mode 100644 index c2bf06eed..000000000 --- a/etc/vsdxJava2JS/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - jsweet-quickstart - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - org.eclipse.jdt.core.javanature - - diff --git a/etc/vsdxJava2JS/.settings/org.jsweet.plugin.prefs b/etc/vsdxJava2JS/.settings/org.jsweet.plugin.prefs deleted file mode 100644 index d6dbb1531..000000000 --- a/etc/vsdxJava2JS/.settings/org.jsweet.plugin.prefs +++ /dev/null @@ -1,8 +0,0 @@ -compiler.candyJsFolder=webapp -compiler.debugMode=ts -compiler.javascriptFolder=target/js -compiler.moduleKind=none -compiler.profiles=default -compiler.sourceFolders= -compiler.typescriptFolder=target/ts -eclipse.preferences.version=1 diff --git a/etc/vsdxJava2JS/HowToRun.txt b/etc/vsdxJava2JS/HowToRun.txt deleted file mode 100644 index 5b9249e14..000000000 --- a/etc/vsdxJava2JS/HowToRun.txt +++ /dev/null @@ -1,13 +0,0 @@ -1- Make sure that the Java code has no errors. Include all external libraries and create mock classes for mxGraph ones. -2- Run JSweet: mvn generate-sources -3- Ignore the errors. The JS file are generated although there are errors. [Errors are coming from external libraries that JSweet cannot find] -4- Start replacing mxGraph mock classes with JS equivalents (e.g., com.mxgraph.io.vsdx.mxPoint => mxPoint). Make sure that the JS classes has the methods needed - 4.a. mxPoint has no getX/Y setX/Y, so replace them with direct fields (e.g., .getX() => .x) - 4.b. mxGeometry has no getX/Y setX/Y (get/set)Width (get/set)Height. The same for: alternateBounds sourcePoint targetPoint points offset relative - 4.c. Make sure that your mock classes do not have overloaded methods such that they are translated with the same name -5- Do the same with all external libraries. Most of them requires equivalent JS libraries and some are supported natively by JS (e.g., DOM) - 5.a. DOM methods need to be changed to fields: (e.g., getChildNode() => childNode) - 5.b. getAttribute and hasAttribute methods exists in JS - 5.c. DOM getAttribute returns null if attribute is not found, in Java, it returns empty string! -6- Fix JSweet errors in handling fields initialization. Default initialization must be moved before _super call. Also, !string.contains bug and model.getCells() conversion bug -7- Try to do a test that covers all the code! \ No newline at end of file diff --git a/etc/vsdxJava2JS/LICENSE b/etc/vsdxJava2JS/LICENSE deleted file mode 100644 index 8f71f43fe..000000000 --- a/etc/vsdxJava2JS/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - diff --git a/etc/vsdxJava2JS/README.md b/etc/vsdxJava2JS/README.md deleted file mode 100644 index f6ba1b5fa..000000000 --- a/etc/vsdxJava2JS/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# JSweet quick start - -A simple project to get started with JSweet. This project just contains a main method that shows 'Hello world' messages in two different ways. The program uses the [J4TS](https://github.com/cincheo/j4ts) candy to access `java.util` API, and the jQuery candy. Programmers can use it to set up a new JSweet project and try out some basic features. - -## Usage - -``` -> git clone https://github.com/cincheo/jsweet-quickstart.git -> cd jsweet-quickstart -> mvn generate-sources -> firefox webapp/index.html -``` - -## Modify - -At any time, you can modify the Java files (or add new files) and run ``mvn generate-sources`` to generate the corresponding JavaScript files. You can then use them in the ``index.html`` file (`` + + + + + + + + diff --git a/src/main/webapp/connect/common/images/reader/checkmark.gif b/src/main/webapp/connect/common/images/reader/checkmark.gif new file mode 100644 index 000000000..3a40c089d Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/checkmark.gif differ diff --git a/src/main/webapp/connect/common/images/reader/closeLargeView.gif b/src/main/webapp/connect/common/images/reader/closeLargeView.gif new file mode 100644 index 000000000..877e12819 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/closeLargeView.gif differ diff --git a/src/main/webapp/connect/common/images/reader/edit.png b/src/main/webapp/connect/common/images/reader/edit.png new file mode 100644 index 000000000..84adb14a6 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/edit.png differ diff --git a/war/images/grid.gif b/src/main/webapp/connect/common/images/reader/grid.gif similarity index 100% rename from war/images/grid.gif rename to src/main/webapp/connect/common/images/reader/grid.gif diff --git a/src/main/webapp/connect/common/images/reader/largeView.png b/src/main/webapp/connect/common/images/reader/largeView.png new file mode 100644 index 000000000..12ffe3874 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/largeView.png differ diff --git a/src/main/webapp/connect/common/images/reader/remove.png b/src/main/webapp/connect/common/images/reader/remove.png new file mode 100644 index 000000000..0fda00407 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/remove.png differ diff --git a/src/main/webapp/connect/common/images/reader/zoomActual.png b/src/main/webapp/connect/common/images/reader/zoomActual.png new file mode 100644 index 000000000..7ef23dccd Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/zoomActual.png differ diff --git a/src/main/webapp/connect/common/images/reader/zoomFit.gif b/src/main/webapp/connect/common/images/reader/zoomFit.gif new file mode 100644 index 000000000..fbf42f77e Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/zoomFit.gif differ diff --git a/src/main/webapp/connect/common/images/reader/zoomIn.gif b/src/main/webapp/connect/common/images/reader/zoomIn.gif new file mode 100644 index 000000000..56ccdc1e2 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/zoomIn.gif differ diff --git a/src/main/webapp/connect/common/images/reader/zoomOut.gif b/src/main/webapp/connect/common/images/reader/zoomOut.gif new file mode 100644 index 000000000..7ece5baa5 Binary files /dev/null and b/src/main/webapp/connect/common/images/reader/zoomOut.gif differ diff --git a/src/main/webapp/connect/common/js/mxProperties.js b/src/main/webapp/connect/common/js/mxProperties.js new file mode 100644 index 000000000..f9c8a3a10 --- /dev/null +++ b/src/main/webapp/connect/common/js/mxProperties.js @@ -0,0 +1,115 @@ +var ATLAS_RESOURCE_BASE = '../..'; +var RESOURCES_PATH = ATLAS_RESOURCE_BASE + '/resources'; +var RESOURCE_BASE = RESOURCES_PATH + '/dia'; +var STENCIL_PATH = ATLAS_RESOURCE_BASE + '/stencils'; +var SHAPES_PATH = ATLAS_RESOURCE_BASE + '/shapes'; +var IMAGE_PATH = '../../images'; +var GRAPH_IMAGE_PATH = ATLAS_RESOURCE_BASE + '/img'; +var STYLE_PATH = '../../styles'; +var CSS_PATH = STYLE_PATH; +var OPEN_FORM = ATLAS_RESOURCE_BASE + '/html/open.html'; +var TEMPLATE_PATH = ATLAS_RESOURCE_BASE + '/templates'; + +var mxBasePath = ATLAS_RESOURCE_BASE + '/mxgraph'; +var mxLoadResources = false; + +var umlDomain = false; +var collab = null; + +// Specifies connection mode for touch devices (at least one should be true) +var isLocalStorage = typeof(Storage) != 'undefined'; +var uiTheme = 'atlas'; + +var urlParams = (function(url) { + var result = new Object(); + var idx = url.lastIndexOf('?'); + + if (idx > 0) { + var params = url.substring(idx + 1).split('&'); + + for ( var i = 0; i < params.length; i++) { + idx = params[i].indexOf('='); + + if (idx > 0) { + result[params[i].substring(0, idx)] = params[i].substring(idx + 1); + } + } + } + + return result; +})(window.location.href); + +function getLanguage() +{ + var lang = urlParams['lang']; + + if (lang == null) + { + // Cannot use mxSettings here + if (isLocalStorage) + { + try + { + var value = localStorage.getItem('.drawio-config'); + + if (value != null) + { + lang = JSON.parse(value).language || null; + } + } + catch (e) + { + // cookies are disabled, attempts to use local storage will cause + // a DOM error at a minimum on Chrome + isLocalStorage = false; + } + } + } + + return lang; +}; + +var mxLanguage = getLanguage(); + +// Add new languages here. First entry is translated to [Automatic] +// in the menu defintion in Diagramly.js. +var mxLanguageMap = {'i18n': '', 'id' : 'Bahasa Indonesia', 'ms' : 'Bahasa Melayu', 'bs' : 'Bosanski', 'ca' : 'Català', 'cs' : 'Čeština', 'da' : 'Dansk', 'de' : 'Deutsch', 'et' : 'Eesti', 'en' : 'English', 'es' : 'Español', + 'fil' : 'Filipino', 'fr' : 'Français', 'it' : 'Italiano', 'hu' : 'Magyar', 'nl' : 'Nederlands', 'no' : 'Norsk', + 'pl' : 'Polski', 'pt-br' : 'Português (Brasil)', 'pt' : 'Português (Portugal)', 'ro' : 'Română', 'fi' : 'Suomi', 'sv' : 'Svenska', 'vi' : 'Tiếng Việt', 'tr' : 'Türkçe', + 'el' : 'Ελληνικά', 'ru' : 'Русский', 'sr' : 'Српски', 'uk' : 'Українська', 'he' : 'עברית', + 'ar' : 'العربية', 'th' : 'ไทย', 'ko' : '한국어', 'ja' : '日本語', 'zh' : '中文(中国)', 'zh-tw' : '中文(台灣)'}; + +var mxLanguages = []; + +// Populates the list of supported special language bundles +for (var lang in mxLanguageMap) +{ + // Empty means default (ie. browser language), "en" means English (default for unsupported languages) + // Since "en" uses no extension this must not be added to the array of supported language bundles. + if (lang != 'en') + { + mxLanguages.push(lang); + } +} + +function mxscript(src) +{ + document.write(' + + + + + + + +
Gliffy import
+ + \ No newline at end of file diff --git a/src/main/webapp/connect/confluence/admin.js b/src/main/webapp/connect/confluence/admin.js new file mode 100644 index 000000000..e69de29bb diff --git a/src/main/webapp/connect/confluence/connect-dev.json b/src/main/webapp/connect/confluence/connect-dev.json new file mode 100644 index 000000000..7d62d1b65 --- /dev/null +++ b/src/main/webapp/connect/confluence/connect-dev.json @@ -0,0 +1,240 @@ +{ + "name": "Draw.io gaudenz", + "description": "Draw.io add-on for Confluence", + "key": "com.mxgraph.confluence.plugins.diagramly", + "baseUrl": "https://3f145265.ngrok.io", + "vendor": + { + "name": "JGraph Ltd.", + "url": "https://www.jgraph.com" + }, + "links": { + "documentation": "https://support.draw.io/display/DFCC/draw.io+for+Confluence+Cloud" + }, + "version": "1.1.0", + "authentication": + { + "type": "none" + }, + "modules": + { + "generalPages": [ + { + "key": "lightbox", + "url": "/connect/confluence/viewer2.html?lightbox=1", + "name": { + "value": "Lightbox" + } + } + ], + "adminPages": [ + { + "key": "admin", + "url": "/connect/confluence/admin.html", + "name": { + "value": "draw.io configuration" + } + } + ], + "dynamicContentMacros": + [ + { + "name": + { + "i18n": "drawioMacro", + "value": "Draw.io Diagram" + }, + "url": "/connect/confluence/viewer2.html?ceoId=${page.id}&diagramName=${diagramName}&revision=${revision}&width=${width}&height=${height}&tbstyle=${tbstyle}&lbox=${lbox}&zoom=${zoom}&links=${links}&owningPageId=${pageId}", + "width": "100%", + "description": + { + "i18n": "description", + "value": "Inserts a new Draw.io Diagram" + }, "icon": + { + "width": 128, + "height": 128, + "url": "/images/drawlogo128.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": true, + "key": "drawio", + "parameters": + [ + { + "identifier": "diagramName", + "name": + { + "value": "Diagram name (do not change)" + }, + "type": "string" + }, + { + "identifier": "autoSize", + "name": + { + "value": "automatic size" + }, + "type": "boolean" + }, + { + "identifier": "PageId", + "name": + { + "value": "Parent page ID" + }, + "type": "string" + }, + { + "identifier": "baseUrl", + "name": + { + "value": "Confluence Base URL" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "Diagram width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Diagram Height" + }, + "type": "string" + } + ], + "editor": { + "url": "/connect/confluence/macroEditor.html?ceoId=${page.id}&diagramName=${diagramName}", + "width": "100%", + "height": "100%" + }, + "imagePlaceholder": { + "width": 500, + "height": 300, + "url": "/connectImage", + "applyChrome": true + }, + "renderModes": { + "default": { + "url": "/connectRender?pageId=${page.id}&diagramName=${diagramName}" + } + } + }, + { + "name": + { + "i18n": "drawioMacro", + "value": "Legacy draw.io macro" + }, + "url": "/connect/confluence/viewer.html?ceoId=${page.id}&diagramName=${diagramName}&revision=${revision}&width=${width}&height=${height}", + "width": "100%", + "description": + { + "i18n": "description", + "value": "Do not use" + }, "icon": + { + "width": 80, + "height": 80, + "url": "/images/stop-flat-icon-80.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": false, + "key": "drawio-macro", + "parameters": + [ + { + "identifier": "diagramName", + "name": + { + "value": "Diagram name (do not change)" + }, + "type": "string" + }, + { + "identifier": "autoSize", + "name": + { + "value": "automatic size" + }, + "type": "boolean" + }, + { + "identifier": "PageId", + "name": + { + "value": "Parent page ID" + }, + "type": "string" + }, + { + "identifier": "baseUrl", + "name": + { + "value": "Confluence Base URL" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "Diagram width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Diagram Height" + }, + "type": "string" + } + ], + "editor": { + "url": "/connect/confluence/macroEditor.html?ceoId=${page.id}&diagramName=${diagramName}", + "editTitle": { + "value": "Edit MarkDown", + "i18n": "macro.md.edit" + }, + "insertTitle": { + "value": "Insert New MarkDown", + "i18n": "macro.md.insert" + }, + "width": "100%", + "height": "100%" + }, + "imagePlaceholder": { + "width": 500, + "height": 300, + "url": "/connectImage", + "applyChrome": true + }, + "renderModes": { + "default": { + "url": "/connectRender?pageId=${page.id}&diagramName=${diagramName}&revision=${revision}" + } + } + } + ] + }, + "scopes": [ + "read", + "write", + "delete" + ] +} \ No newline at end of file diff --git a/src/main/webapp/connect/confluence/connect.json b/src/main/webapp/connect/confluence/connect.json new file mode 100644 index 000000000..350b3f326 --- /dev/null +++ b/src/main/webapp/connect/confluence/connect.json @@ -0,0 +1,240 @@ +{ + "name": "draw.io", + "description": "Draw.io add-on for Confluence", + "key": "com.mxgraph.confluence.plugins.diagramly", + "baseUrl": "https://www.draw.io", + "enableLicensing": true, + "vendor": + { + "name": "JGraph Ltd.", + "url": "https://www.jgraph.com" + }, + "links": { + "documentation": "https://support.draw.io/display/DFCC/draw.io+for+Confluence+Cloud" + }, + "version": "2.0.0", + "authentication": + { + "type": "none" + }, + "modules": + { + "generalPages": [ + { + "key": "lightbox", + "url": "/connect/confluence/viewer2.html?lightbox=1", + "name": { + "value": "Lightbox" + } + } + ], + "dynamicContentMacros": + [ + { + "name": + { + "i18n": "drawioMacro", + "value": "Draw.io Diagram" + }, + "url": "/connect/confluence/viewer2.html?ceoId=${page.id}&diagramName=${diagramName}&revision=${revision}&width=${width}&height=${height}&tbstyle=${tbstyle}&lbox=${lbox}&zoom=${zoom}&links=${links}&owningPageId=${pageId}", + "width": "100%", + "description": + { + "i18n": "description", + "value": "Inserts a new Draw.io Diagram" + }, "icon": + { + "width": 128, + "height": 128, + "url": "/images/drawlogo128.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": true, + "key": "drawio", + "parameters": + [ + { + "identifier": "diagramName", + "name": + { + "value": "Diagram name (do not change)" + }, + "type": "string" + }, + { + "identifier": "autoSize", + "name": + { + "value": "automatic size" + }, + "type": "boolean" + }, + { + "identifier": "PageId", + "name": + { + "value": "Parent page ID" + }, + "type": "string" + }, + { + "identifier": "baseUrl", + "name": + { + "value": "Confluence Base URL" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "Diagram width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Diagram Height" + }, + "type": "string" + } + ], + "editor": { + "url": "/connect/confluence/macroEditor.html?ceoId=${page.id}&diagramName=${diagramName}", + "width": "100%", + "height": "100%", + "editTitle": + { + "value" : "--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" + }, + "insertTitle": + { + "value" : "--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" + } + }, + "imagePlaceholder": { + "width": 500, + "height": 300, + "url": "/connectImage", + "applyChrome": false + }, + "renderModes": { + "default": { + "url": "/connectRender?pageId=${page.id}&diagramName=${diagramName}" + } + } + }, + { + "name": + { + "i18n": "drawioMacro", + "value": "Legacy macro - do not use" + }, + "url": "/connect/confluence/viewer.html?ceoId=${page.id}&diagramName=${diagramName}&revision=${revision}&width=${width}&height=${height}", + "width": "100%", + "description": + { + "i18n": "description", + "value": "Do not use" + }, "icon": + { + "width": 80, + "height": 80, + "url": "/images/stop-flat-icon-80.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": false, + "key": "drawio-macro", + "parameters": + [ + { + "identifier": "diagramName", + "name": + { + "value": "Diagram name (do not change)" + }, + "type": "string" + }, + { + "identifier": "autoSize", + "name": + { + "value": "automatic size" + }, + "type": "boolean" + }, + { + "identifier": "PageId", + "name": + { + "value": "Parent page ID" + }, + "type": "string" + }, + { + "identifier": "baseUrl", + "name": + { + "value": "Confluence Base URL" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "Diagram width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Diagram Height" + }, + "type": "string" + } + ], + "editor": { + "url": "/connect/confluence/macroEditor.html?ceoId=${page.id}&diagramName=${diagramName}", + "editTitle": { + "value": "Edit MarkDown", + "i18n": "macro.md.edit" + }, + "insertTitle": { + "value": "Insert New MarkDown", + "i18n": "macro.md.insert" + }, + "width": "100%", + "height": "100%" + }, + "imagePlaceholder": { + "width": 500, + "height": 300, + "url": "/connectImage", + "applyChrome": true + }, + "renderModes": { + "default": { + "url": "/connectRender?pageId=${page.id}&diagramName=${diagramName}&revision=${revision}" + } + } + } + ] + }, + "scopes": [ + "read", + "write", + "delete" + ] +} \ No newline at end of file diff --git a/src/main/webapp/connect/confluence/macroEditor.html b/src/main/webapp/connect/confluence/macroEditor.html new file mode 100644 index 000000000..4df633943 --- /dev/null +++ b/src/main/webapp/connect/confluence/macroEditor.html @@ -0,0 +1,53 @@ + + + + +Draw.io Editor + + + + + + + + diff --git a/src/main/webapp/connect/confluence/viewer.html b/src/main/webapp/connect/confluence/viewer.html new file mode 100644 index 000000000..e96c1db31 --- /dev/null +++ b/src/main/webapp/connect/confluence/viewer.html @@ -0,0 +1,139 @@ + + + + +Draw.io viewer + + + + + + +
+ + + + + + diff --git a/src/main/webapp/connect/confluence/viewer2.html b/src/main/webapp/connect/confluence/viewer2.html new file mode 100644 index 000000000..275477b48 --- /dev/null +++ b/src/main/webapp/connect/confluence/viewer2.html @@ -0,0 +1,423 @@ + + + + +Draw.io Viewer + + + + + + + + diff --git a/src/main/webapp/connect/gdriveconnector/ac.js b/src/main/webapp/connect/gdriveconnector/ac.js new file mode 100644 index 000000000..8d1b41257 --- /dev/null +++ b/src/main/webapp/connect/gdriveconnector/ac.js @@ -0,0 +1,23 @@ +var AC = {}; + +AC.getUrlParam = function(param, escape, url){ + try{ + var url = url || window.location.search; + var regex = new RegExp(param + '=([^&]+)'), + data = regex.exec(url)[1]; + // decode URI with plus sign fix. + return (escape) ? window.decodeURIComponent(data.replace(/\+/g, '%20')) : data; + } catch (e){ + return undefined; + } +}; + +AC.getMetaTag = function(name) { + return document.getElementsByTagName('meta')[name].getAttribute('content'); +}; + +AC.getMacroData = function(fn) { + AP.require('confluence', function(confluence) { + confluence.getMacroData(fn); + }); +} \ No newline at end of file diff --git a/src/main/webapp/connect/gdriveconnector/macroEditor.html b/src/main/webapp/connect/gdriveconnector/macroEditor.html new file mode 100644 index 000000000..8382f32be --- /dev/null +++ b/src/main/webapp/connect/gdriveconnector/macroEditor.html @@ -0,0 +1,337 @@ + + + + +GDrive Connector Editor + + + + + + + + +
+
+
+
+ + + +
+
Google Drive file name
+
+
+ + +
+
+ +
Width of the viewer (px)
+
+
+ +
Height of the viewer (px)
+
+ +
+
+
+
+
+ + diff --git a/src/main/webapp/connect/gdriveconnector/plugin-dev.json b/src/main/webapp/connect/gdriveconnector/plugin-dev.json new file mode 100644 index 000000000..fd130ffaa --- /dev/null +++ b/src/main/webapp/connect/gdriveconnector/plugin-dev.json @@ -0,0 +1,102 @@ +{ + "name": "Google Drive Connector for Confluence", + "description": "Google Drive Connector for Confluence", + "key": "com.mxgraph.confluence.plugins.driveconnector", + "baseUrl": "https://test.draw.io", + "vendor": + { + "name": "JGraph ltd.", + "url": "https://www.jgraph.com" + }, + "version": "1.0.1", + "authentication": + { + "type": "none" + }, + "modules": + { + "dynamicContentMacros": + [ + { + "name": + { + "i18n": "gdriveconnector", + "value": "Google Drive Connector" + }, + "url": "/connect/gdriveconnector/viewer.html?fileId=${fileId}&filename=${filename}&width=${width}&height=${height}&mimeType=${mimeType}", + "width": "600px", + "height": "400px", + "description": + { + "i18n": "description", + "value": "Views a Google Drive file" + }, "icon": + { + "width": 80, + "height": 80, + "url": "/images/document-google-drive-icon-80.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": true, + "key": "gdriveconnector", + "editor": { + "url": "/connect/gdriveconnector/macroEditor.html?fileId=${fileId}&filename=${filename}&width=${width}&height=${height}", + "width": "1200px", + "height": "600px" + }, + "parameters": + [ + { + "identifier": "fileId", + "name": + { + "value": "Google Drive file ID" + }, + "type": "string", + "hidden": true + }, + { + "identifier": "mimeType", + "name": + { + "value": "Google Drive file mime type" + }, + "type": "string", + "hidden": true + }, + { + "identifier": "filename", + "name": + { + "value": "Name of the Google Drive file" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Height" + }, + "type": "string" + } + ] + } + ] + }, + "scopes": [ + "read", + "write" + ] +} \ No newline at end of file diff --git a/src/main/webapp/connect/gdriveconnector/plugin.json b/src/main/webapp/connect/gdriveconnector/plugin.json new file mode 100644 index 000000000..c44f4a1b2 --- /dev/null +++ b/src/main/webapp/connect/gdriveconnector/plugin.json @@ -0,0 +1,105 @@ +{ + "name": "Google Drive Connector for Confluence", + "description": "Google Drive Connector for Confluence", + "key": "com.mxgraph.confluence.plugins.driveconnector", + "baseUrl": "https://drive.draw.io", + "vendor": + { + "name": "JGraph Ltd.", + "url": "https://www.jgraph.com" + }, + "links": { + "documentation": "https://desk.draw.io/support/solutions/articles/16000042550" + }, + "version": "1.0.2", + "authentication": + { + "type": "none" + }, + "modules": + { + "dynamicContentMacros": + [ + { + "name": + { + "i18n": "gdriveconnector", + "value": "Google Drive Connector" + }, + "url": "/connect/gdriveconnector/viewer.html?fileId=${fileId}&filename=${filename}&width=${width}&height=${height}&mimeType=${mimeType}", + "width": "600px", + "height": "400px", + "description": + { + "i18n": "description", + "value": "Views a Google Drive file" + }, "icon": + { + "width": 144, + "height": 144, + "url": "/images/google-drive-connector-atlas.png" + }, + "categories": [ + "visuals" + ], + "outputType": "block", + "featured": true, + "key": "gdriveconnector", + "editor": { + "url": "/connect/gdriveconnector/macroEditor.html?fileId=${fileId}&filename=${filename}&width=${width}&height=${height}", + "width": "80%", + "height": "60%" + }, + "parameters": + [ + { + "identifier": "fileId", + "name": + { + "value": "Google Drive file ID" + }, + "type": "string", + "hidden": true + }, + { + "identifier": "mimeType", + "name": + { + "value": "Google Drive file mime type" + }, + "type": "string", + "hidden": true + }, + { + "identifier": "filename", + "name": + { + "value": "Name of the Google Drive file" + }, + "type": "string" + }, + { + "identifier": "width", + "name": + { + "value": "width" + }, + "type": "string" + }, + { + "identifier": "height", + "name": + { + "value": "Height" + }, + "type": "string" + } + ] + } + ] + }, + "scopes": [ + "read", + "write" + ] +} \ No newline at end of file diff --git a/src/main/webapp/connect/gdriveconnector/spinner.gif b/src/main/webapp/connect/gdriveconnector/spinner.gif new file mode 100644 index 000000000..054973c97 Binary files /dev/null and b/src/main/webapp/connect/gdriveconnector/spinner.gif differ diff --git a/src/main/webapp/connect/gdriveconnector/viewer.html b/src/main/webapp/connect/gdriveconnector/viewer.html new file mode 100644 index 000000000..4b2294e96 --- /dev/null +++ b/src/main/webapp/connect/gdriveconnector/viewer.html @@ -0,0 +1,118 @@ + + + + +GDrive Connector Viewer + + + + + + + + + diff --git a/src/main/webapp/connect/jira/ac.js b/src/main/webapp/connect/jira/ac.js new file mode 100644 index 000000000..5a462f210 --- /dev/null +++ b/src/main/webapp/connect/jira/ac.js @@ -0,0 +1,372 @@ +var AC = {}; + +AC.getUrlParam = function(param, escape, url){ + try{ + var url = url || window.location.search; + var regex = new RegExp(param + '=([^&]+)'), + data = regex.exec(url)[1]; + // decode URI with plus sign fix. + return (escape) ? window.decodeURIComponent(data.replace(/\+/g, '%20')) : data; + } catch (e){ + return ''; + } +}; + +AC.getMetaTag = function(name) { + return document.getElementsByTagName('meta')[name].getAttribute('content'); +}; + +AC.openEditor = function(baseUrl, issueId, diagramName) +{ + var diagramXml = null; + var link = document.createElement('a'); + link.href = location.href; + link.href = link.href; //to have 'host' populated under IE + var hostUrl = link.protocol + '//' + link.hostname; + + var lang = AC.getUrlParam['loc']; + + if (lang != null) + { + var dash = lang.indexOf('-'); + + if (dash >= 0) + { + lang = lang.substring(0, dash); + } + } + + var editor = $(' +
+ + + \ No newline at end of file diff --git a/src/main/webapp/connect/trello/images/drawio-trello-ss.png b/src/main/webapp/connect/trello/images/drawio-trello-ss.png new file mode 100644 index 000000000..3a8e18b37 Binary files /dev/null and b/src/main/webapp/connect/trello/images/drawio-trello-ss.png differ diff --git a/src/main/webapp/connect/trello/index.html b/src/main/webapp/connect/trello/index.html new file mode 100644 index 000000000..20c961195 --- /dev/null +++ b/src/main/webapp/connect/trello/index.html @@ -0,0 +1,14 @@ + + + + + + + + + +

+ draw.io Trello Power-Up +

+ + diff --git a/src/main/webapp/connect/trello/js/attSection.js b/src/main/webapp/connect/trello/js/attSection.js new file mode 100644 index 000000000..9d8441a3f --- /dev/null +++ b/src/main/webapp/connect/trello/js/attSection.js @@ -0,0 +1,196 @@ +// Resize sensor not needed +GraphViewer.useResizeSensor = false; + +var t = window.TrelloPowerUp.iframe(); + +t.render(function() +{ + var idSep = encodeURIComponent('|$|'); + var ident = 'attachment-thumbnail-details-options-item dark-hover'; + var data = null; + + // NOTE: Autosave is enabled to avoid possible data loss due + // to no event fired before the modal dialog closes + var getEditFunction = function(att, name) + { + return function() + { + var id = t.getContext().card + idSep + att.id; + + t.modal({ + url: './editor.html', + fullscreen: true, + title: 'draw.io: ' + name, + args: {url: mxTrelloCommon.editorURL + + ((location.hostname != 'www.draw.io') ? + '?dev=1&drawdev=1&embed=1&libraries=1&tr=1&gapi=1&od=1&gh=1&db=1&p=tr' : + '?embed=1&libraries=1&tr=1&gapi=1&od=1&gh=1&db=1&p=tr') + + '#T' + id} + }); + } + }; + + var getPrevFunction = function(prevURL, name) + { + return function(evt) + { + var source = mxEvent.getSource(evt); + + while (source != null) + { + if (source.className != null && source.className. + toString().substring(0, ident.length) == ident) + { + return; + } + + source = source.parentNode; + } + + t.modal( + { + url: prevURL, + fullscreen: true, + title: 'draw.io: ' + name + }); + } + }; + + t.card('attachments') + .get('attachments') + .filter(mxTrelloCommon.attFilterFn) + .then(function(drawioAtts) + { + var content = document.getElementById('content'); + content.innerHTML = ""; + + for (var i = 0; i < drawioAtts.length; i++) + { + (function(atts) + { + var div = document.createElement('div'); + div.className = "attachment-thumbnail"; + + var attName = atts.name; + + //TODO add preview modal on click + //For PNG and SVG (on supported browsers) show them as images, otherwise, load them inside a lightbox editor [size 300px max for images] + //Click shows a preview + var previews = atts.previews; + + var prevURL = mxTrelloCommon.editorURL + '?lightbox=1&nav=1&layers=1&highlight=3572b0'; + var fileId = '#T' + t.getContext().card + idSep + atts.id; + + if (previews.length > 0) + { + //find the best size (max dim is 300px) + var maxPrev = previews[0]; + + for (var j = 1; j < previews.length; j++) + { + if (previews[j].width <= 350 && previews[j].height <= 260 && maxPrev.width < previews[j].width) + { + maxPrev = previews[j]; + } + } + + var imgLink = document.createElement('a'); + imgLink.className = "attachment-thumbnail-preview"; + imgLink.setAttribute('href', 'javascript:void(0);'); + imgLink.setAttribute('title', attName); + + imgLink.style.cssText = "background-image: url('" + maxPrev.url + "');background-color: #fcfcfc;"; + div.appendChild(imgLink); + } + else + { + var id = t.getContext().card + encodeURIComponent('|$|') + atts.id; + + var container = document.createElement('div'); + container.style.cssText = 'position:absolute;top:0px;left:0px;width:110px;' + + 'height:80px;border:1px solid transparent;box-sizing:border-box;cursor:pointer;' + + 'background-position:center;background-repeat:no-repeat;background-image:url(/images/spin.gif);'; + div.appendChild(container); + + // Does not use iframe for quicker loading and avoiding authorize dialog + mxUtils.get('/proxy?url=' + encodeURIComponent(atts.url), function(req) + { + container.style.backgroundImage = 'none'; + + if (req.getStatus() >= 200 && req.getStatus() < 300) + { + var viewer = new GraphViewer(container, req.getDocumentElement(), + {highlight: '#3572b0', border: 4, lightbox: false, + nav: true, 'max-height': 72}); + + // Adds transparent background + viewer.graph.view.canvas.ownerSVGElement.style.backgroundColor = 'transparent'; + + // Undo container resize and center + container.style.width = '110px'; + container.style.height = '80px'; + var bounds = viewer.graph.getGraphBounds(); + var dx = (110 - bounds.width) / 2 - bounds.x; + var dy = (80 - bounds.height) / 2 - bounds.y; + viewer.graph.view.canvas.ownerSVGElement.setAttribute('transform', + 'translate(' + dx + ' ' + dy + ')'); + } + }); + } + + var prevFn = getPrevFunction(prevURL + fileId, attName); + mxEvent.addListener(div, 'click', prevFn); + + var detailsP = document.createElement('p'); + detailsP.className = "attachment-thumbnail-details"; + + var nameSpan = document.createElement('span'); + nameSpan.className = "attachment-thumbnail-name"; + nameSpan.innerHTML = attName; + detailsP.appendChild(nameSpan); + + var detailOpt = document.createElement('span'); + detailOpt.className = "u-block quiet attachment-thumbnail-details-title-options"; + + var addedSpan = document.createElement('span'); + addedSpan.innerHTML = " "; //Add more details about the file here + detailOpt.appendChild(addedSpan); + // + // Added an hour ago + // + // + // Delete + // + detailsP.appendChild(detailOpt); + + var actionsSpan = document.createElement('span'); + actionsSpan.className = "quiet attachment-thumbnail-details-options"; + detailsP.appendChild(actionsSpan); + + var downloadLink = document.createElement('a'); + downloadLink.className = "attachment-thumbnail-details-options-item dark-hover"; + downloadLink.setAttribute('href', atts.url); + downloadLink.setAttribute('target', '_blank'); + downloadLink.setAttribute('download', attName); + downloadLink.innerHTML = ' Download'; + actionsSpan.appendChild(downloadLink); + + var editLink = document.createElement('a'); + editLink.className = "attachment-thumbnail-details-options-item dark-hover"; + editLink.setAttribute('href', 'javascript:void(0);'); + editLink.innerHTML = ' Edit'; + editLink.addEventListener("click", getEditFunction(atts, attName)); + actionsSpan.appendChild(editLink); + + detailsP.appendChild(actionsSpan); + div.appendChild(detailsP); + + content.appendChild(div); + })(drawioAtts[i]); + } + }) + .then(function() + { + return t.sizeTo('#content'); + }); +}); diff --git a/src/main/webapp/connect/trello/js/client.js b/src/main/webapp/connect/trello/js/client.js new file mode 100644 index 000000000..c299f03b1 --- /dev/null +++ b/src/main/webapp/connect/trello/js/client.js @@ -0,0 +1,69 @@ +/* global TrelloPowerUp */ + +var Promise = TrelloPowerUp.Promise; + +TrelloPowerUp + .initialize({ + 'card-buttons' : function(t, options) + { + return [ { + icon : 'https://www.draw.io/images/drawlogo48-gray.png', + text : 'draw.io', + callback : function(t) + { + return t.popup({ + title : 'Create a New Diagram...', + url : './new.html', + height : 190 + }); + } + } ]; + }, + 'attachment-sections' : function(t, options) + { + // Claim all png attachment that is created by draw.io + var claimed = options.entries.filter(mxTrelloCommon.attFilterFn); + + if (claimed && claimed.length > 0) + { + return [ { + claimed : claimed, + icon : 'https://www.draw.io/images/drawlogo48-gray.png', + title : 'draw.io Diagrams', + content : + { + type : 'iframe', + url : t.signUrl('./attSection.html', { + arg: "" + }), + height : 230 + } + } ]; + } + else + { + return []; + } + }, + 'card-badges' : function(t, options) + { + return t.card('attachments') + .get('attachments') + .filter(mxTrelloCommon.attFilterFn) + .then(function(claimed) + { + if (claimed && claimed.length > 0) + { + return [{ + text: claimed.length, + icon: 'https://www.draw.io/images/drawlogo48-gray.png', + color: 'white' + }]; + } + else + { + return []; + } + }); + } + }); diff --git a/src/main/webapp/connect/trello/js/common.js b/src/main/webapp/connect/trello/js/common.js new file mode 100644 index 000000000..81c9174bd --- /dev/null +++ b/src/main/webapp/connect/trello/js/common.js @@ -0,0 +1,8 @@ +mxTrelloCommon = { + editorURL: location.protocol + '//' + location.hostname + '/', + attFilterFn: function(attachment) + { + // Returns true for files ending with .drawio and an optional extension + return /.*\.drawio(\.[A-Za-z]*)?$/.test(attachment.name); + } +}; diff --git a/src/main/webapp/connect/trello/js/editor.js b/src/main/webapp/connect/trello/js/editor.js new file mode 100644 index 000000000..2a2956668 --- /dev/null +++ b/src/main/webapp/connect/trello/js/editor.js @@ -0,0 +1,29 @@ +(function () { + var t = window.TrelloPowerUp.iframe(); + var url = t.arg('url'); + + var iframe = document.getElementById("editorFrame"); + iframe.setAttribute('src', url); + + // Only needed to invoke closeModal via embed button in toolbar + // and to receive messages from iframe (cannot recv from t.modal) + window.addEventListener('message', function(evt) + { + if (evt.data.length > 0) + { + try + { + var msg = JSON.parse(evt.data); + + if (msg != null && msg.event == 'exit') + { + t.closeModal(); + } + } + catch (e) + { + // ignore + } + } + }); +})(); \ No newline at end of file diff --git a/src/main/webapp/connect/trello/js/new.js b/src/main/webapp/connect/trello/js/new.js new file mode 100644 index 000000000..c5c976095 --- /dev/null +++ b/src/main/webapp/connect/trello/js/new.js @@ -0,0 +1,104 @@ +(function() +{ + var t = window.TrelloPowerUp.iframe(); + var diagName = document.getElementById("diagName"); + var errorMsg = document.getElementById("errorMsg"); + + diagName.focus(); + + function create(fileName, type, templateId) + { + t.closePopup(); + + t.modal({ + url: './editor.html', + fullscreen: true, + title: 'draw.io: ' + fileName, + args: {url: mxTrelloCommon.editorURL + + ((location.hostname != 'www.draw.io') ? + '?dev=1&drawdev=1&embed=1&tr=1&gapi=1&od=1&gh=1&db=1&p=tr' : + '?embed=1&tr=1&gapi=1&od=1&gh=1&db=1&p=tr') + + '&filename=' + encodeURIComponent(fileName + '.drawio' + (type == 'xml' ? '' : '.' + type)) + + '&filetype=' + encodeURIComponent(type) + + '&card=' + encodeURIComponent(t.getContext().card) + + ((templateId != null) ? '&template=' + encodeURIComponent(templateId) : '')} + }); + }; + + //Fill the dialog with other attachments + var select = document.getElementById("otherAtt"); + var importBtn = document.getElementById("importBtn"); + + t.card('attachments') + .get('attachments') + .then(function(atts) + { + var count = 0; + for (var i = 0; i < atts.length; i++) + { + if (!mxTrelloCommon.attFilterFn(atts[i])) + { + var opt = document.createElement("option"); + opt.setAttribute('value', atts[i].id); + opt.innerHTML = atts[i].name; + select.appendChild(opt); + count++; + } + } + + if (count == 0) + { + document.getElementById("importLbl").style.display = "none"; + select.style.display = "none"; + importBtn.style.display = "none"; + } + + var newDiagFn = function() + { + var name = diagName.value; + var type = document.getElementById("format").value; + + if (name == null || name.length == 0) + { + errorMsg.style.display = ""; + errorMsg.innerHTML = 'Diagram name cannot be empty'; + return; + } + else + { + for (var i = 0; i < atts.length; i++) + { + if (atts[i].name == name + '.drawio' + (type == 'xml' ? '' : '.' + type)) + { + errorMsg.style.display = ""; + errorMsg.innerHTML = 'Diagram already exists'; + return; + } + } + } + + create(name, type); + }; + + diagName.addEventListener("keypress", function(e) + { + if (e.keyCode == 13) + newDiagFn(); + else + errorMsg.style.display = "none"; + }); + + document.getElementById("createBtn").addEventListener("click", newDiagFn); + document.getElementById("createBtn").removeAttribute('disabled'); + }) + .then(function() + { + return t.sizeTo('#content'); + }); + + importBtn.addEventListener("click", function() + { + create(select.options[select.selectedIndex].text, 'xml', select.value); + }); + +})(); \ No newline at end of file diff --git a/src/main/webapp/connect/trello/manifest.json b/src/main/webapp/connect/trello/manifest.json new file mode 100644 index 000000000..9bf9113d3 --- /dev/null +++ b/src/main/webapp/connect/trello/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "draw.io", + "details":"[draw.io](https://www.draw.io) is a free diagramming Power-up that enables you to draw a wide range of diagrams including flowcharts, BPMN, network diagrams, UML and ER diagrams, and much more. draw.io offers these advantages:\n\n* Fully open source platform.\n* All data stored inside Trello, nothing externally.\n* Import diagrams from other diagramming tools.\n\n### Screenshot\n\n![Screenshot of a draw.io diagram insertion in Trello card.](https://www.draw.io/connect/trello/images/drawio-trello-ss.png)", + "icon": { + "url": "https://www.draw.io/images/drawlogo128.png" + }, + "author": "draw.io", + "capabilities": [ + "callback", + "card-buttons", + "card-badges", + "attachment-sections" + ], + "connectors": { + "iframe": { + "url": "./index.html" + } + } +} diff --git a/src/main/webapp/connect/trello/new.html b/src/main/webapp/connect/trello/new.html new file mode 100644 index 000000000..a0a1355ad --- /dev/null +++ b/src/main/webapp/connect/trello/new.html @@ -0,0 +1,32 @@ + + + + + + + + +
+ + + + + + +
+ + + +
+ + + diff --git a/war/dropbox.html b/src/main/webapp/dropbox.html similarity index 100% rename from war/dropbox.html rename to src/main/webapp/dropbox.html diff --git a/war/electron.js b/src/main/webapp/electron.js similarity index 100% rename from war/electron.js rename to src/main/webapp/electron.js diff --git a/war/export2.html b/src/main/webapp/export2.html similarity index 100% rename from war/export2.html rename to src/main/webapp/export2.html diff --git a/war/export3.html b/src/main/webapp/export3.html similarity index 100% rename from war/export3.html rename to src/main/webapp/export3.html diff --git a/war/favicon.ico b/src/main/webapp/favicon.ico similarity index 100% rename from war/favicon.ico rename to src/main/webapp/favicon.ico diff --git a/war/github.html b/src/main/webapp/github.html similarity index 100% rename from war/github.html rename to src/main/webapp/github.html diff --git a/war/images/1x1.png b/src/main/webapp/images/1x1.png similarity index 100% rename from war/images/1x1.png rename to src/main/webapp/images/1x1.png diff --git a/war/images/2x2.png b/src/main/webapp/images/2x2.png similarity index 100% rename from war/images/2x2.png rename to src/main/webapp/images/2x2.png diff --git a/war/images/3x3.png b/src/main/webapp/images/3x3.png similarity index 100% rename from war/images/3x3.png rename to src/main/webapp/images/3x3.png diff --git a/war/images/ajax-loader.gif b/src/main/webapp/images/ajax-loader.gif similarity index 100% rename from war/images/ajax-loader.gif rename to src/main/webapp/images/ajax-loader.gif diff --git a/war/images/android-chrome-192x192.png b/src/main/webapp/images/android-chrome-192x192.png similarity index 100% rename from war/images/android-chrome-192x192.png rename to src/main/webapp/images/android-chrome-192x192.png diff --git a/war/images/android-chrome-512x512.png b/src/main/webapp/images/android-chrome-512x512.png similarity index 100% rename from war/images/android-chrome-512x512.png rename to src/main/webapp/images/android-chrome-512x512.png diff --git a/war/images/apple-touch-icon.png b/src/main/webapp/images/apple-touch-icon.png similarity index 100% rename from war/images/apple-touch-icon.png rename to src/main/webapp/images/apple-touch-icon.png diff --git a/war/images/arrow.gif b/src/main/webapp/images/arrow.gif similarity index 100% rename from war/images/arrow.gif rename to src/main/webapp/images/arrow.gif diff --git a/war/images/browserconfig.xml b/src/main/webapp/images/browserconfig.xml similarity index 100% rename from war/images/browserconfig.xml rename to src/main/webapp/images/browserconfig.xml diff --git a/war/images/checkmark.gif b/src/main/webapp/images/checkmark.gif similarity index 100% rename from war/images/checkmark.gif rename to src/main/webapp/images/checkmark.gif diff --git a/war/images/chevron-down.png b/src/main/webapp/images/chevron-down.png similarity index 100% rename from war/images/chevron-down.png rename to src/main/webapp/images/chevron-down.png diff --git a/war/images/chevron-up.png b/src/main/webapp/images/chevron-up.png similarity index 100% rename from war/images/chevron-up.png rename to src/main/webapp/images/chevron-up.png diff --git a/war/images/clear.gif b/src/main/webapp/images/clear.gif similarity index 100% rename from war/images/clear.gif rename to src/main/webapp/images/clear.gif diff --git a/war/images/close.png b/src/main/webapp/images/close.png similarity index 100% rename from war/images/close.png rename to src/main/webapp/images/close.png diff --git a/war/images/collapsed.gif b/src/main/webapp/images/collapsed.gif similarity index 100% rename from war/images/collapsed.gif rename to src/main/webapp/images/collapsed.gif diff --git a/war/images/connector.png b/src/main/webapp/images/connector.png similarity index 100% rename from war/images/connector.png rename to src/main/webapp/images/connector.png diff --git a/war/images/cross.gif b/src/main/webapp/images/cross.gif similarity index 100% rename from war/images/cross.gif rename to src/main/webapp/images/cross.gif diff --git a/war/images/delete.png b/src/main/webapp/images/delete.png similarity index 100% rename from war/images/delete.png rename to src/main/webapp/images/delete.png diff --git a/war/images/document-google-drive-icon-80.png b/src/main/webapp/images/document-google-drive-icon-80.png similarity index 100% rename from war/images/document-google-drive-icon-80.png rename to src/main/webapp/images/document-google-drive-icon-80.png diff --git a/war/images/download.png b/src/main/webapp/images/download.png similarity index 100% rename from war/images/download.png rename to src/main/webapp/images/download.png diff --git a/war/images/drawlogo-text-bottom.svg b/src/main/webapp/images/drawlogo-text-bottom.svg similarity index 100% rename from war/images/drawlogo-text-bottom.svg rename to src/main/webapp/images/drawlogo-text-bottom.svg diff --git a/war/images/drawlogo128.png b/src/main/webapp/images/drawlogo128.png similarity index 100% rename from war/images/drawlogo128.png rename to src/main/webapp/images/drawlogo128.png diff --git a/war/images/drawlogo256.png b/src/main/webapp/images/drawlogo256.png similarity index 100% rename from war/images/drawlogo256.png rename to src/main/webapp/images/drawlogo256.png diff --git a/war/images/drawlogo48-gray.png b/src/main/webapp/images/drawlogo48-gray.png similarity index 100% rename from war/images/drawlogo48-gray.png rename to src/main/webapp/images/drawlogo48-gray.png diff --git a/war/images/drawlogo48.png b/src/main/webapp/images/drawlogo48.png similarity index 100% rename from war/images/drawlogo48.png rename to src/main/webapp/images/drawlogo48.png diff --git a/war/images/dropbox-logo-white.svg b/src/main/webapp/images/dropbox-logo-white.svg similarity index 100% rename from war/images/dropbox-logo-white.svg rename to src/main/webapp/images/dropbox-logo-white.svg diff --git a/war/images/dropbox-logo.svg b/src/main/webapp/images/dropbox-logo.svg similarity index 100% rename from war/images/dropbox-logo.svg rename to src/main/webapp/images/dropbox-logo.svg diff --git a/war/images/dropdown.gif b/src/main/webapp/images/dropdown.gif similarity index 100% rename from war/images/dropdown.gif rename to src/main/webapp/images/dropdown.gif diff --git a/war/images/dropdown.png b/src/main/webapp/images/dropdown.png similarity index 100% rename from war/images/dropdown.png rename to src/main/webapp/images/dropdown.png diff --git a/war/images/droptarget.png b/src/main/webapp/images/droptarget.png similarity index 100% rename from war/images/droptarget.png rename to src/main/webapp/images/droptarget.png diff --git a/war/images/edit.gif b/src/main/webapp/images/edit.gif similarity index 100% rename from war/images/edit.gif rename to src/main/webapp/images/edit.gif diff --git a/war/images/expanded.gif b/src/main/webapp/images/expanded.gif similarity index 100% rename from war/images/expanded.gif rename to src/main/webapp/images/expanded.gif diff --git a/war/images/facebook.png b/src/main/webapp/images/facebook.png similarity index 100% rename from war/images/facebook.png rename to src/main/webapp/images/facebook.png diff --git a/war/images/favicon-16x16.png b/src/main/webapp/images/favicon-16x16.png similarity index 100% rename from war/images/favicon-16x16.png rename to src/main/webapp/images/favicon-16x16.png diff --git a/war/images/favicon-32x32.png b/src/main/webapp/images/favicon-32x32.png similarity index 100% rename from war/images/favicon-32x32.png rename to src/main/webapp/images/favicon-32x32.png diff --git a/war/images/format-hide.png b/src/main/webapp/images/format-hide.png similarity index 100% rename from war/images/format-hide.png rename to src/main/webapp/images/format-hide.png diff --git a/war/images/format-show.png b/src/main/webapp/images/format-show.png similarity index 100% rename from war/images/format-show.png rename to src/main/webapp/images/format-show.png diff --git a/war/images/fullscreen.png b/src/main/webapp/images/fullscreen.png similarity index 100% rename from war/images/fullscreen.png rename to src/main/webapp/images/fullscreen.png diff --git a/war/images/gadget-screenshot.png b/src/main/webapp/images/gadget-screenshot.png similarity index 100% rename from war/images/gadget-screenshot.png rename to src/main/webapp/images/gadget-screenshot.png diff --git a/war/images/gadget-thumb.png b/src/main/webapp/images/gadget-thumb.png similarity index 100% rename from war/images/gadget-thumb.png rename to src/main/webapp/images/gadget-thumb.png diff --git a/war/images/github-logo-white.svg b/src/main/webapp/images/github-logo-white.svg similarity index 100% rename from war/images/github-logo-white.svg rename to src/main/webapp/images/github-logo-white.svg diff --git a/war/images/github-logo.svg b/src/main/webapp/images/github-logo.svg similarity index 100% rename from war/images/github-logo.svg rename to src/main/webapp/images/github-logo.svg diff --git a/war/images/glyphicons_blogger.png b/src/main/webapp/images/glyphicons_blogger.png similarity index 100% rename from war/images/glyphicons_blogger.png rename to src/main/webapp/images/glyphicons_blogger.png diff --git a/war/images/glyphicons_facebook.png b/src/main/webapp/images/glyphicons_facebook.png similarity index 100% rename from war/images/glyphicons_facebook.png rename to src/main/webapp/images/glyphicons_facebook.png diff --git a/war/images/glyphicons_github.png b/src/main/webapp/images/glyphicons_github.png similarity index 100% rename from war/images/glyphicons_github.png rename to src/main/webapp/images/glyphicons_github.png diff --git a/war/images/glyphicons_google.png b/src/main/webapp/images/glyphicons_google.png similarity index 100% rename from war/images/glyphicons_google.png rename to src/main/webapp/images/glyphicons_google.png diff --git a/war/images/glyphicons_star.png b/src/main/webapp/images/glyphicons_star.png similarity index 100% rename from war/images/glyphicons_star.png rename to src/main/webapp/images/glyphicons_star.png diff --git a/war/images/glyphicons_twitter.png b/src/main/webapp/images/glyphicons_twitter.png similarity index 100% rename from war/images/glyphicons_twitter.png rename to src/main/webapp/images/glyphicons_twitter.png diff --git a/war/images/glyphicons_youtube.png b/src/main/webapp/images/glyphicons_youtube.png similarity index 100% rename from war/images/glyphicons_youtube.png rename to src/main/webapp/images/glyphicons_youtube.png diff --git a/war/images/google-drive-connector-atlas.png b/src/main/webapp/images/google-drive-connector-atlas.png similarity index 100% rename from war/images/google-drive-connector-atlas.png rename to src/main/webapp/images/google-drive-connector-atlas.png diff --git a/war/images/google-drive-logo-white.svg b/src/main/webapp/images/google-drive-logo-white.svg similarity index 100% rename from war/images/google-drive-logo-white.svg rename to src/main/webapp/images/google-drive-logo-white.svg diff --git a/war/images/google-drive-logo.svg b/src/main/webapp/images/google-drive-logo.svg similarity index 100% rename from war/images/google-drive-logo.svg rename to src/main/webapp/images/google-drive-logo.svg diff --git a/src/main/webapp/images/grid.gif b/src/main/webapp/images/grid.gif new file mode 100644 index 000000000..f4e7063e8 Binary files /dev/null and b/src/main/webapp/images/grid.gif differ diff --git a/war/images/handle-connect.png b/src/main/webapp/images/handle-connect.png similarity index 100% rename from war/images/handle-connect.png rename to src/main/webapp/images/handle-connect.png diff --git a/war/images/handle-fixed.png b/src/main/webapp/images/handle-fixed.png similarity index 100% rename from war/images/handle-fixed.png rename to src/main/webapp/images/handle-fixed.png diff --git a/war/images/handle-main.png b/src/main/webapp/images/handle-main.png similarity index 100% rename from war/images/handle-main.png rename to src/main/webapp/images/handle-main.png diff --git a/war/images/handle-rotate.png b/src/main/webapp/images/handle-rotate.png similarity index 100% rename from war/images/handle-rotate.png rename to src/main/webapp/images/handle-rotate.png diff --git a/war/images/handle-secondary.png b/src/main/webapp/images/handle-secondary.png similarity index 100% rename from war/images/handle-secondary.png rename to src/main/webapp/images/handle-secondary.png diff --git a/war/images/handle-terminal.png b/src/main/webapp/images/handle-terminal.png similarity index 100% rename from war/images/handle-terminal.png rename to src/main/webapp/images/handle-terminal.png diff --git a/war/images/help.png b/src/main/webapp/images/help.png similarity index 100% rename from war/images/help.png rename to src/main/webapp/images/help.png diff --git a/war/images/hs.png b/src/main/webapp/images/hs.png similarity index 100% rename from war/images/hs.png rename to src/main/webapp/images/hs.png diff --git a/war/images/hv.png b/src/main/webapp/images/hv.png similarity index 100% rename from war/images/hv.png rename to src/main/webapp/images/hv.png diff --git a/war/images/img-hi-res.png b/src/main/webapp/images/img-hi-res.png similarity index 100% rename from war/images/img-hi-res.png rename to src/main/webapp/images/img-hi-res.png diff --git a/war/images/img-lo-res.png b/src/main/webapp/images/img-lo-res.png similarity index 100% rename from war/images/img-lo-res.png rename to src/main/webapp/images/img-lo-res.png diff --git a/war/images/locked.png b/src/main/webapp/images/locked.png similarity index 100% rename from war/images/locked.png rename to src/main/webapp/images/locked.png diff --git a/war/images/log.png b/src/main/webapp/images/log.png similarity index 100% rename from war/images/log.png rename to src/main/webapp/images/log.png diff --git a/war/images/logo-confluence.png b/src/main/webapp/images/logo-confluence.png similarity index 100% rename from war/images/logo-confluence.png rename to src/main/webapp/images/logo-confluence.png diff --git a/war/images/logo-flat-small.png b/src/main/webapp/images/logo-flat-small.png similarity index 100% rename from war/images/logo-flat-small.png rename to src/main/webapp/images/logo-flat-small.png diff --git a/war/images/logo-flat.png b/src/main/webapp/images/logo-flat.png similarity index 100% rename from war/images/logo-flat.png rename to src/main/webapp/images/logo-flat.png diff --git a/war/images/logo-jira.png b/src/main/webapp/images/logo-jira.png similarity index 100% rename from war/images/logo-jira.png rename to src/main/webapp/images/logo-jira.png diff --git a/war/images/logo-small.gif b/src/main/webapp/images/logo-small.gif similarity index 100% rename from war/images/logo-small.gif rename to src/main/webapp/images/logo-small.gif diff --git a/war/images/logo-white.png b/src/main/webapp/images/logo-white.png similarity index 100% rename from war/images/logo-white.png rename to src/main/webapp/images/logo-white.png diff --git a/war/images/logo.png b/src/main/webapp/images/logo.png similarity index 100% rename from war/images/logo.png rename to src/main/webapp/images/logo.png diff --git a/war/images/manifest.json b/src/main/webapp/images/manifest.json similarity index 100% rename from war/images/manifest.json rename to src/main/webapp/images/manifest.json diff --git a/war/images/move.png b/src/main/webapp/images/move.png similarity index 100% rename from war/images/move.png rename to src/main/webapp/images/move.png diff --git a/war/images/mstile-150x150.png b/src/main/webapp/images/mstile-150x150.png similarity index 100% rename from war/images/mstile-150x150.png rename to src/main/webapp/images/mstile-150x150.png diff --git a/war/images/nocolor.png b/src/main/webapp/images/nocolor.png similarity index 100% rename from war/images/nocolor.png rename to src/main/webapp/images/nocolor.png diff --git a/war/images/onedrive-logo-white.svg b/src/main/webapp/images/onedrive-logo-white.svg similarity index 100% rename from war/images/onedrive-logo-white.svg rename to src/main/webapp/images/onedrive-logo-white.svg diff --git a/war/images/onedrive-logo.svg b/src/main/webapp/images/onedrive-logo.svg similarity index 100% rename from war/images/onedrive-logo.svg rename to src/main/webapp/images/onedrive-logo.svg diff --git a/war/images/osa_database.png b/src/main/webapp/images/osa_database.png similarity index 100% rename from war/images/osa_database.png rename to src/main/webapp/images/osa_database.png diff --git a/war/images/osa_drive-harddisk.png b/src/main/webapp/images/osa_drive-harddisk.png similarity index 100% rename from war/images/osa_drive-harddisk.png rename to src/main/webapp/images/osa_drive-harddisk.png diff --git a/war/images/plant-uml-atlas.png b/src/main/webapp/images/plant-uml-atlas.png similarity index 100% rename from war/images/plant-uml-atlas.png rename to src/main/webapp/images/plant-uml-atlas.png diff --git a/war/images/plus.png b/src/main/webapp/images/plus.png similarity index 100% rename from war/images/plus.png rename to src/main/webapp/images/plus.png diff --git a/war/images/refresh.png b/src/main/webapp/images/refresh.png similarity index 100% rename from war/images/refresh.png rename to src/main/webapp/images/refresh.png diff --git a/war/images/round-drop.png b/src/main/webapp/images/round-drop.png similarity index 100% rename from war/images/round-drop.png rename to src/main/webapp/images/round-drop.png diff --git a/war/images/safari-pinned-tab.svg b/src/main/webapp/images/safari-pinned-tab.svg similarity index 100% rename from war/images/safari-pinned-tab.svg rename to src/main/webapp/images/safari-pinned-tab.svg diff --git a/war/images/samepage-icon-color.svg b/src/main/webapp/images/samepage-icon-color.svg similarity index 100% rename from war/images/samepage-icon-color.svg rename to src/main/webapp/images/samepage-icon-color.svg diff --git a/war/images/search.png b/src/main/webapp/images/search.png similarity index 100% rename from war/images/search.png rename to src/main/webapp/images/search.png diff --git a/war/images/sidebar-android.png b/src/main/webapp/images/sidebar-android.png similarity index 100% rename from war/images/sidebar-android.png rename to src/main/webapp/images/sidebar-android.png diff --git a/war/images/sidebar-archimate.png b/src/main/webapp/images/sidebar-archimate.png similarity index 100% rename from war/images/sidebar-archimate.png rename to src/main/webapp/images/sidebar-archimate.png diff --git a/war/images/sidebar-archimate3.png b/src/main/webapp/images/sidebar-archimate3.png similarity index 100% rename from war/images/sidebar-archimate3.png rename to src/main/webapp/images/sidebar-archimate3.png diff --git a/war/images/sidebar-arrows.png b/src/main/webapp/images/sidebar-arrows.png similarity index 100% rename from war/images/sidebar-arrows.png rename to src/main/webapp/images/sidebar-arrows.png diff --git a/war/images/sidebar-arrows2.png b/src/main/webapp/images/sidebar-arrows2.png similarity index 100% rename from war/images/sidebar-arrows2.png rename to src/main/webapp/images/sidebar-arrows2.png diff --git a/war/images/sidebar-atlassian.png b/src/main/webapp/images/sidebar-atlassian.png similarity index 100% rename from war/images/sidebar-atlassian.png rename to src/main/webapp/images/sidebar-atlassian.png diff --git a/war/images/sidebar-aws.png b/src/main/webapp/images/sidebar-aws.png similarity index 100% rename from war/images/sidebar-aws.png rename to src/main/webapp/images/sidebar-aws.png diff --git a/war/images/sidebar-aws3.png b/src/main/webapp/images/sidebar-aws3.png similarity index 100% rename from war/images/sidebar-aws3.png rename to src/main/webapp/images/sidebar-aws3.png diff --git a/war/images/sidebar-aws3d.png b/src/main/webapp/images/sidebar-aws3d.png similarity index 100% rename from war/images/sidebar-aws3d.png rename to src/main/webapp/images/sidebar-aws3d.png diff --git a/war/images/sidebar-azure.png b/src/main/webapp/images/sidebar-azure.png similarity index 100% rename from war/images/sidebar-azure.png rename to src/main/webapp/images/sidebar-azure.png diff --git a/war/images/sidebar-basic.png b/src/main/webapp/images/sidebar-basic.png similarity index 100% rename from war/images/sidebar-basic.png rename to src/main/webapp/images/sidebar-basic.png diff --git a/war/images/sidebar-bootstrap.png b/src/main/webapp/images/sidebar-bootstrap.png similarity index 100% rename from war/images/sidebar-bootstrap.png rename to src/main/webapp/images/sidebar-bootstrap.png diff --git a/war/images/sidebar-bpmn.png b/src/main/webapp/images/sidebar-bpmn.png similarity index 100% rename from war/images/sidebar-bpmn.png rename to src/main/webapp/images/sidebar-bpmn.png diff --git a/war/images/sidebar-cabinets.png b/src/main/webapp/images/sidebar-cabinets.png similarity index 100% rename from war/images/sidebar-cabinets.png rename to src/main/webapp/images/sidebar-cabinets.png diff --git a/war/images/sidebar-cisco.png b/src/main/webapp/images/sidebar-cisco.png similarity index 100% rename from war/images/sidebar-cisco.png rename to src/main/webapp/images/sidebar-cisco.png diff --git a/war/images/sidebar-citrix.png b/src/main/webapp/images/sidebar-citrix.png similarity index 100% rename from war/images/sidebar-citrix.png rename to src/main/webapp/images/sidebar-citrix.png diff --git a/war/images/sidebar-clipart.png b/src/main/webapp/images/sidebar-clipart.png similarity index 100% rename from war/images/sidebar-clipart.png rename to src/main/webapp/images/sidebar-clipart.png diff --git a/war/images/sidebar-eip.png b/src/main/webapp/images/sidebar-eip.png similarity index 100% rename from war/images/sidebar-eip.png rename to src/main/webapp/images/sidebar-eip.png diff --git a/war/images/sidebar-electrical.png b/src/main/webapp/images/sidebar-electrical.png similarity index 100% rename from war/images/sidebar-electrical.png rename to src/main/webapp/images/sidebar-electrical.png diff --git a/war/images/sidebar-er.png b/src/main/webapp/images/sidebar-er.png similarity index 100% rename from war/images/sidebar-er.png rename to src/main/webapp/images/sidebar-er.png diff --git a/war/images/sidebar-floorplans.png b/src/main/webapp/images/sidebar-floorplans.png similarity index 100% rename from war/images/sidebar-floorplans.png rename to src/main/webapp/images/sidebar-floorplans.png diff --git a/war/images/sidebar-flowchart.png b/src/main/webapp/images/sidebar-flowchart.png similarity index 100% rename from war/images/sidebar-flowchart.png rename to src/main/webapp/images/sidebar-flowchart.png diff --git a/war/images/sidebar-gcp.png b/src/main/webapp/images/sidebar-gcp.png similarity index 100% rename from war/images/sidebar-gcp.png rename to src/main/webapp/images/sidebar-gcp.png diff --git a/war/images/sidebar-general.png b/src/main/webapp/images/sidebar-general.png similarity index 100% rename from war/images/sidebar-general.png rename to src/main/webapp/images/sidebar-general.png diff --git a/war/images/sidebar-gmdl.png b/src/main/webapp/images/sidebar-gmdl.png similarity index 100% rename from war/images/sidebar-gmdl.png rename to src/main/webapp/images/sidebar-gmdl.png diff --git a/war/images/sidebar-ibm.png b/src/main/webapp/images/sidebar-ibm.png similarity index 100% rename from war/images/sidebar-ibm.png rename to src/main/webapp/images/sidebar-ibm.png diff --git a/war/images/sidebar-ios.png b/src/main/webapp/images/sidebar-ios.png similarity index 100% rename from war/images/sidebar-ios.png rename to src/main/webapp/images/sidebar-ios.png diff --git a/war/images/sidebar-leanmapping.png b/src/main/webapp/images/sidebar-leanmapping.png similarity index 100% rename from war/images/sidebar-leanmapping.png rename to src/main/webapp/images/sidebar-leanmapping.png diff --git a/war/images/sidebar-mockups.png b/src/main/webapp/images/sidebar-mockups.png similarity index 100% rename from war/images/sidebar-mockups.png rename to src/main/webapp/images/sidebar-mockups.png diff --git a/war/images/sidebar-mscae.png b/src/main/webapp/images/sidebar-mscae.png similarity index 100% rename from war/images/sidebar-mscae.png rename to src/main/webapp/images/sidebar-mscae.png diff --git a/war/images/sidebar-network.png b/src/main/webapp/images/sidebar-network.png similarity index 100% rename from war/images/sidebar-network.png rename to src/main/webapp/images/sidebar-network.png diff --git a/war/images/sidebar-office.png b/src/main/webapp/images/sidebar-office.png similarity index 100% rename from war/images/sidebar-office.png rename to src/main/webapp/images/sidebar-office.png diff --git a/war/images/sidebar-pid.png b/src/main/webapp/images/sidebar-pid.png similarity index 100% rename from war/images/sidebar-pid.png rename to src/main/webapp/images/sidebar-pid.png diff --git a/war/images/sidebar-rack.png b/src/main/webapp/images/sidebar-rack.png similarity index 100% rename from war/images/sidebar-rack.png rename to src/main/webapp/images/sidebar-rack.png diff --git a/war/images/sidebar-signs.png b/src/main/webapp/images/sidebar-signs.png similarity index 100% rename from war/images/sidebar-signs.png rename to src/main/webapp/images/sidebar-signs.png diff --git a/war/images/sidebar-sitemap.png b/src/main/webapp/images/sidebar-sitemap.png similarity index 100% rename from war/images/sidebar-sitemap.png rename to src/main/webapp/images/sidebar-sitemap.png diff --git a/war/images/sidebar-sysml.png b/src/main/webapp/images/sidebar-sysml.png similarity index 100% rename from war/images/sidebar-sysml.png rename to src/main/webapp/images/sidebar-sysml.png diff --git a/war/images/sidebar-uml.png b/src/main/webapp/images/sidebar-uml.png similarity index 100% rename from war/images/sidebar-uml.png rename to src/main/webapp/images/sidebar-uml.png diff --git a/war/images/sidebar-veeam.png b/src/main/webapp/images/sidebar-veeam.png similarity index 100% rename from war/images/sidebar-veeam.png rename to src/main/webapp/images/sidebar-veeam.png diff --git a/war/images/sidebar-webIcons.png b/src/main/webapp/images/sidebar-webIcons.png similarity index 100% rename from war/images/sidebar-webIcons.png rename to src/main/webapp/images/sidebar-webIcons.png diff --git a/war/images/spin.gif b/src/main/webapp/images/spin.gif similarity index 100% rename from war/images/spin.gif rename to src/main/webapp/images/spin.gif diff --git a/war/images/sprites.png b/src/main/webapp/images/sprites.png similarity index 100% rename from war/images/sprites.png rename to src/main/webapp/images/sprites.png diff --git a/war/images/stop-flat-icon-80.png b/src/main/webapp/images/stop-flat-icon-80.png similarity index 100% rename from war/images/stop-flat-icon-80.png rename to src/main/webapp/images/stop-flat-icon-80.png diff --git a/war/images/submenu.gif b/src/main/webapp/images/submenu.gif similarity index 100% rename from war/images/submenu.gif rename to src/main/webapp/images/submenu.gif diff --git a/war/images/tooltip.png b/src/main/webapp/images/tooltip.png similarity index 100% rename from war/images/tooltip.png rename to src/main/webapp/images/tooltip.png diff --git a/war/images/touch-submenu.png b/src/main/webapp/images/touch-submenu.png similarity index 100% rename from war/images/touch-submenu.png rename to src/main/webapp/images/touch-submenu.png diff --git a/war/images/transparent.gif b/src/main/webapp/images/transparent.gif similarity index 100% rename from war/images/transparent.gif rename to src/main/webapp/images/transparent.gif diff --git a/war/images/trello-logo-white-orange.svg b/src/main/webapp/images/trello-logo-white-orange.svg similarity index 100% rename from war/images/trello-logo-white-orange.svg rename to src/main/webapp/images/trello-logo-white-orange.svg diff --git a/war/images/trello-logo-white.svg b/src/main/webapp/images/trello-logo-white.svg similarity index 100% rename from war/images/trello-logo-white.svg rename to src/main/webapp/images/trello-logo-white.svg diff --git a/war/images/trello-logo.svg b/src/main/webapp/images/trello-logo.svg similarity index 100% rename from war/images/trello-logo.svg rename to src/main/webapp/images/trello-logo.svg diff --git a/war/images/triangle-down.png b/src/main/webapp/images/triangle-down.png similarity index 100% rename from war/images/triangle-down.png rename to src/main/webapp/images/triangle-down.png diff --git a/war/images/triangle-left.png b/src/main/webapp/images/triangle-left.png similarity index 100% rename from war/images/triangle-left.png rename to src/main/webapp/images/triangle-left.png diff --git a/war/images/triangle-right.png b/src/main/webapp/images/triangle-right.png similarity index 100% rename from war/images/triangle-right.png rename to src/main/webapp/images/triangle-right.png diff --git a/war/images/triangle-up.png b/src/main/webapp/images/triangle-up.png similarity index 100% rename from war/images/triangle-up.png rename to src/main/webapp/images/triangle-up.png diff --git a/war/images/tweet.png b/src/main/webapp/images/tweet.png similarity index 100% rename from war/images/tweet.png rename to src/main/webapp/images/tweet.png diff --git a/war/images/unlocked.png b/src/main/webapp/images/unlocked.png similarity index 100% rename from war/images/unlocked.png rename to src/main/webapp/images/unlocked.png diff --git a/war/images/youtube.png b/src/main/webapp/images/youtube.png similarity index 100% rename from war/images/youtube.png rename to src/main/webapp/images/youtube.png diff --git a/war/img/clipart/Battery_0_128x128.png b/src/main/webapp/img/clipart/Battery_0_128x128.png similarity index 100% rename from war/img/clipart/Battery_0_128x128.png rename to src/main/webapp/img/clipart/Battery_0_128x128.png diff --git a/war/img/clipart/Battery_100_128x128.png b/src/main/webapp/img/clipart/Battery_100_128x128.png similarity index 100% rename from war/img/clipart/Battery_100_128x128.png rename to src/main/webapp/img/clipart/Battery_100_128x128.png diff --git a/war/img/clipart/Battery_50_128x128.png b/src/main/webapp/img/clipart/Battery_50_128x128.png similarity index 100% rename from war/img/clipart/Battery_50_128x128.png rename to src/main/webapp/img/clipart/Battery_50_128x128.png diff --git a/war/img/clipart/Battery_75_128x128.png b/src/main/webapp/img/clipart/Battery_75_128x128.png similarity index 100% rename from war/img/clipart/Battery_75_128x128.png rename to src/main/webapp/img/clipart/Battery_75_128x128.png diff --git a/war/img/clipart/Battery_allstates_128x128.png b/src/main/webapp/img/clipart/Battery_allstates_128x128.png similarity index 100% rename from war/img/clipart/Battery_allstates_128x128.png rename to src/main/webapp/img/clipart/Battery_allstates_128x128.png diff --git a/war/img/clipart/Bluetooth_128x128.png b/src/main/webapp/img/clipart/Bluetooth_128x128.png similarity index 100% rename from war/img/clipart/Bluetooth_128x128.png rename to src/main/webapp/img/clipart/Bluetooth_128x128.png diff --git a/war/img/clipart/Earth_globe_128x128.png b/src/main/webapp/img/clipart/Earth_globe_128x128.png similarity index 100% rename from war/img/clipart/Earth_globe_128x128.png rename to src/main/webapp/img/clipart/Earth_globe_128x128.png diff --git a/war/img/clipart/Empty_Folder_128x128.png b/src/main/webapp/img/clipart/Empty_Folder_128x128.png similarity index 100% rename from war/img/clipart/Empty_Folder_128x128.png rename to src/main/webapp/img/clipart/Empty_Folder_128x128.png diff --git a/war/img/clipart/Full_Folder_128x128.png b/src/main/webapp/img/clipart/Full_Folder_128x128.png similarity index 100% rename from war/img/clipart/Full_Folder_128x128.png rename to src/main/webapp/img/clipart/Full_Folder_128x128.png diff --git a/war/img/clipart/Gear_128x128.png b/src/main/webapp/img/clipart/Gear_128x128.png similarity index 100% rename from war/img/clipart/Gear_128x128.png rename to src/main/webapp/img/clipart/Gear_128x128.png diff --git a/war/img/clipart/Keys_128x128.png b/src/main/webapp/img/clipart/Keys_128x128.png similarity index 100% rename from war/img/clipart/Keys_128x128.png rename to src/main/webapp/img/clipart/Keys_128x128.png diff --git a/war/img/clipart/Lock_128x128.png b/src/main/webapp/img/clipart/Lock_128x128.png similarity index 100% rename from war/img/clipart/Lock_128x128.png rename to src/main/webapp/img/clipart/Lock_128x128.png diff --git a/war/img/clipart/Mouse_Pointer_128x128.png b/src/main/webapp/img/clipart/Mouse_Pointer_128x128.png similarity index 100% rename from war/img/clipart/Mouse_Pointer_128x128.png rename to src/main/webapp/img/clipart/Mouse_Pointer_128x128.png diff --git a/war/img/clipart/Plug_128x128.png b/src/main/webapp/img/clipart/Plug_128x128.png similarity index 100% rename from war/img/clipart/Plug_128x128.png rename to src/main/webapp/img/clipart/Plug_128x128.png diff --git a/war/img/clipart/Ships_Wheel_128x128.png b/src/main/webapp/img/clipart/Ships_Wheel_128x128.png similarity index 100% rename from war/img/clipart/Ships_Wheel_128x128.png rename to src/main/webapp/img/clipart/Ships_Wheel_128x128.png diff --git a/war/img/clipart/Star_128x128.png b/src/main/webapp/img/clipart/Star_128x128.png similarity index 100% rename from war/img/clipart/Star_128x128.png rename to src/main/webapp/img/clipart/Star_128x128.png diff --git a/war/img/clipart/Tire_128x128.png b/src/main/webapp/img/clipart/Tire_128x128.png similarity index 100% rename from war/img/clipart/Tire_128x128.png rename to src/main/webapp/img/clipart/Tire_128x128.png diff --git a/war/img/computers/Antivirus_128x128.png b/src/main/webapp/img/computers/Antivirus_128x128.png similarity index 100% rename from war/img/computers/Antivirus_128x128.png rename to src/main/webapp/img/computers/Antivirus_128x128.png diff --git a/war/img/computers/Data_Filtering_128x128.png b/src/main/webapp/img/computers/Data_Filtering_128x128.png similarity index 100% rename from war/img/computers/Data_Filtering_128x128.png rename to src/main/webapp/img/computers/Data_Filtering_128x128.png diff --git a/war/img/computers/Database_128x128.png b/src/main/webapp/img/computers/Database_128x128.png similarity index 100% rename from war/img/computers/Database_128x128.png rename to src/main/webapp/img/computers/Database_128x128.png diff --git a/war/img/computers/Database_Add_128x128.png b/src/main/webapp/img/computers/Database_Add_128x128.png similarity index 100% rename from war/img/computers/Database_Add_128x128.png rename to src/main/webapp/img/computers/Database_Add_128x128.png diff --git a/war/img/computers/Database_Minus_128x128.png b/src/main/webapp/img/computers/Database_Minus_128x128.png similarity index 100% rename from war/img/computers/Database_Minus_128x128.png rename to src/main/webapp/img/computers/Database_Minus_128x128.png diff --git a/war/img/computers/Database_Move_Stack_128x128.png b/src/main/webapp/img/computers/Database_Move_Stack_128x128.png similarity index 100% rename from war/img/computers/Database_Move_Stack_128x128.png rename to src/main/webapp/img/computers/Database_Move_Stack_128x128.png diff --git a/war/img/computers/Database_Remove_128x128.png b/src/main/webapp/img/computers/Database_Remove_128x128.png similarity index 100% rename from war/img/computers/Database_Remove_128x128.png rename to src/main/webapp/img/computers/Database_Remove_128x128.png diff --git a/war/img/computers/Fujitsu_Tablet_128x128.png b/src/main/webapp/img/computers/Fujitsu_Tablet_128x128.png similarity index 100% rename from war/img/computers/Fujitsu_Tablet_128x128.png rename to src/main/webapp/img/computers/Fujitsu_Tablet_128x128.png diff --git a/war/img/computers/Harddrive_128x128.png b/src/main/webapp/img/computers/Harddrive_128x128.png similarity index 100% rename from war/img/computers/Harddrive_128x128.png rename to src/main/webapp/img/computers/Harddrive_128x128.png diff --git a/war/img/computers/IBM_Tablet_128x128.png b/src/main/webapp/img/computers/IBM_Tablet_128x128.png similarity index 100% rename from war/img/computers/IBM_Tablet_128x128.png rename to src/main/webapp/img/computers/IBM_Tablet_128x128.png diff --git a/war/img/computers/Laptop_128x128.png b/src/main/webapp/img/computers/Laptop_128x128.png similarity index 100% rename from war/img/computers/Laptop_128x128.png rename to src/main/webapp/img/computers/Laptop_128x128.png diff --git a/war/img/computers/MacBook_128x128.png b/src/main/webapp/img/computers/MacBook_128x128.png similarity index 100% rename from war/img/computers/MacBook_128x128.png rename to src/main/webapp/img/computers/MacBook_128x128.png diff --git a/war/img/computers/Mainframe_128x128.png b/src/main/webapp/img/computers/Mainframe_128x128.png similarity index 100% rename from war/img/computers/Mainframe_128x128.png rename to src/main/webapp/img/computers/Mainframe_128x128.png diff --git a/war/img/computers/Monitor_128x128.png b/src/main/webapp/img/computers/Monitor_128x128.png similarity index 100% rename from war/img/computers/Monitor_128x128.png rename to src/main/webapp/img/computers/Monitor_128x128.png diff --git a/war/img/computers/Monitor_Tower_128x128.png b/src/main/webapp/img/computers/Monitor_Tower_128x128.png similarity index 100% rename from war/img/computers/Monitor_Tower_128x128.png rename to src/main/webapp/img/computers/Monitor_Tower_128x128.png diff --git a/war/img/computers/Monitor_Tower_Behind_128x128.png b/src/main/webapp/img/computers/Monitor_Tower_Behind_128x128.png similarity index 100% rename from war/img/computers/Monitor_Tower_Behind_128x128.png rename to src/main/webapp/img/computers/Monitor_Tower_Behind_128x128.png diff --git a/war/img/computers/Netbook_128x128.png b/src/main/webapp/img/computers/Netbook_128x128.png similarity index 100% rename from war/img/computers/Netbook_128x128.png rename to src/main/webapp/img/computers/Netbook_128x128.png diff --git a/war/img/computers/Network_128x128.png b/src/main/webapp/img/computers/Network_128x128.png similarity index 100% rename from war/img/computers/Network_128x128.png rename to src/main/webapp/img/computers/Network_128x128.png diff --git a/war/img/computers/Network_2_128x128.png b/src/main/webapp/img/computers/Network_2_128x128.png similarity index 100% rename from war/img/computers/Network_2_128x128.png rename to src/main/webapp/img/computers/Network_2_128x128.png diff --git a/war/img/computers/Printer_128x128.png b/src/main/webapp/img/computers/Printer_128x128.png similarity index 100% rename from war/img/computers/Printer_128x128.png rename to src/main/webapp/img/computers/Printer_128x128.png diff --git a/war/img/computers/Printer_Commercial_128x128.png b/src/main/webapp/img/computers/Printer_Commercial_128x128.png similarity index 100% rename from war/img/computers/Printer_Commercial_128x128.png rename to src/main/webapp/img/computers/Printer_Commercial_128x128.png diff --git a/war/img/computers/Secure_System_128x128.png b/src/main/webapp/img/computers/Secure_System_128x128.png similarity index 100% rename from war/img/computers/Secure_System_128x128.png rename to src/main/webapp/img/computers/Secure_System_128x128.png diff --git a/war/img/computers/Server_128x128.png b/src/main/webapp/img/computers/Server_128x128.png similarity index 100% rename from war/img/computers/Server_128x128.png rename to src/main/webapp/img/computers/Server_128x128.png diff --git a/war/img/computers/Server_Rack_128x128.png b/src/main/webapp/img/computers/Server_Rack_128x128.png similarity index 100% rename from war/img/computers/Server_Rack_128x128.png rename to src/main/webapp/img/computers/Server_Rack_128x128.png diff --git a/war/img/computers/Server_Rack_Empty_128x128.png b/src/main/webapp/img/computers/Server_Rack_Empty_128x128.png similarity index 100% rename from war/img/computers/Server_Rack_Empty_128x128.png rename to src/main/webapp/img/computers/Server_Rack_Empty_128x128.png diff --git a/war/img/computers/Server_Rack_Partial_128x128.png b/src/main/webapp/img/computers/Server_Rack_Partial_128x128.png similarity index 100% rename from war/img/computers/Server_Rack_Partial_128x128.png rename to src/main/webapp/img/computers/Server_Rack_Partial_128x128.png diff --git a/war/img/computers/Server_Tower_128x128.png b/src/main/webapp/img/computers/Server_Tower_128x128.png similarity index 100% rename from war/img/computers/Server_Tower_128x128.png rename to src/main/webapp/img/computers/Server_Tower_128x128.png diff --git a/war/img/computers/Software_128x128.png b/src/main/webapp/img/computers/Software_128x128.png similarity index 100% rename from war/img/computers/Software_128x128.png rename to src/main/webapp/img/computers/Software_128x128.png diff --git a/war/img/computers/Stylus_128x128.png b/src/main/webapp/img/computers/Stylus_128x128.png similarity index 100% rename from war/img/computers/Stylus_128x128.png rename to src/main/webapp/img/computers/Stylus_128x128.png diff --git a/war/img/computers/Touch_128x128.png b/src/main/webapp/img/computers/Touch_128x128.png similarity index 100% rename from war/img/computers/Touch_128x128.png rename to src/main/webapp/img/computers/Touch_128x128.png diff --git a/war/img/computers/USB_Hub_128x128.png b/src/main/webapp/img/computers/USB_Hub_128x128.png similarity index 100% rename from war/img/computers/USB_Hub_128x128.png rename to src/main/webapp/img/computers/USB_Hub_128x128.png diff --git a/war/img/computers/Virtual_Application_128x128.png b/src/main/webapp/img/computers/Virtual_Application_128x128.png similarity index 100% rename from war/img/computers/Virtual_Application_128x128.png rename to src/main/webapp/img/computers/Virtual_Application_128x128.png diff --git a/war/img/computers/Virtual_Machine_128x128.png b/src/main/webapp/img/computers/Virtual_Machine_128x128.png similarity index 100% rename from war/img/computers/Virtual_Machine_128x128.png rename to src/main/webapp/img/computers/Virtual_Machine_128x128.png diff --git a/war/img/computers/Virus_128x128.png b/src/main/webapp/img/computers/Virus_128x128.png similarity index 100% rename from war/img/computers/Virus_128x128.png rename to src/main/webapp/img/computers/Virus_128x128.png diff --git a/war/img/computers/Workstation_128x128.png b/src/main/webapp/img/computers/Workstation_128x128.png similarity index 100% rename from war/img/computers/Workstation_128x128.png rename to src/main/webapp/img/computers/Workstation_128x128.png diff --git a/war/img/computers/iMac_128x128.png b/src/main/webapp/img/computers/iMac_128x128.png similarity index 100% rename from war/img/computers/iMac_128x128.png rename to src/main/webapp/img/computers/iMac_128x128.png diff --git a/war/img/computers/iPad_128x128.png b/src/main/webapp/img/computers/iPad_128x128.png similarity index 100% rename from war/img/computers/iPad_128x128.png rename to src/main/webapp/img/computers/iPad_128x128.png diff --git a/war/img/finance/Arrow_Down_128x128.png b/src/main/webapp/img/finance/Arrow_Down_128x128.png similarity index 100% rename from war/img/finance/Arrow_Down_128x128.png rename to src/main/webapp/img/finance/Arrow_Down_128x128.png diff --git a/war/img/finance/Arrow_Up_128x128.png b/src/main/webapp/img/finance/Arrow_Up_128x128.png similarity index 100% rename from war/img/finance/Arrow_Up_128x128.png rename to src/main/webapp/img/finance/Arrow_Up_128x128.png diff --git a/war/img/finance/Coins_128x128.png b/src/main/webapp/img/finance/Coins_128x128.png similarity index 100% rename from war/img/finance/Coins_128x128.png rename to src/main/webapp/img/finance/Coins_128x128.png diff --git a/war/img/finance/Credit_Card_128x128.png b/src/main/webapp/img/finance/Credit_Card_128x128.png similarity index 100% rename from war/img/finance/Credit_Card_128x128.png rename to src/main/webapp/img/finance/Credit_Card_128x128.png diff --git a/war/img/finance/Dollar_128x128.png b/src/main/webapp/img/finance/Dollar_128x128.png similarity index 100% rename from war/img/finance/Dollar_128x128.png rename to src/main/webapp/img/finance/Dollar_128x128.png diff --git a/war/img/finance/Graph_128x128.png b/src/main/webapp/img/finance/Graph_128x128.png similarity index 100% rename from war/img/finance/Graph_128x128.png rename to src/main/webapp/img/finance/Graph_128x128.png diff --git a/war/img/finance/Pie_Chart_128x128.png b/src/main/webapp/img/finance/Pie_Chart_128x128.png similarity index 100% rename from war/img/finance/Pie_Chart_128x128.png rename to src/main/webapp/img/finance/Pie_Chart_128x128.png diff --git a/war/img/finance/Piggy_Bank_128x128.png b/src/main/webapp/img/finance/Piggy_Bank_128x128.png similarity index 100% rename from war/img/finance/Piggy_Bank_128x128.png rename to src/main/webapp/img/finance/Piggy_Bank_128x128.png diff --git a/war/img/finance/Safe_128x128.png b/src/main/webapp/img/finance/Safe_128x128.png similarity index 100% rename from war/img/finance/Safe_128x128.png rename to src/main/webapp/img/finance/Safe_128x128.png diff --git a/war/img/finance/Shopping_Cart_128x128.png b/src/main/webapp/img/finance/Shopping_Cart_128x128.png similarity index 100% rename from war/img/finance/Shopping_Cart_128x128.png rename to src/main/webapp/img/finance/Shopping_Cart_128x128.png diff --git a/war/img/finance/Stock_Down_128x128.png b/src/main/webapp/img/finance/Stock_Down_128x128.png similarity index 100% rename from war/img/finance/Stock_Down_128x128.png rename to src/main/webapp/img/finance/Stock_Down_128x128.png diff --git a/war/img/finance/Stock_Up_128x128.png b/src/main/webapp/img/finance/Stock_Up_128x128.png similarity index 100% rename from war/img/finance/Stock_Up_128x128.png rename to src/main/webapp/img/finance/Stock_Up_128x128.png diff --git a/war/img/lib/atlassian/Atlassian_Logo.svg b/src/main/webapp/img/lib/atlassian/Atlassian_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Atlassian_Logo.svg rename to src/main/webapp/img/lib/atlassian/Atlassian_Logo.svg diff --git a/war/img/lib/atlassian/Bamboo_Logo.svg b/src/main/webapp/img/lib/atlassian/Bamboo_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Bamboo_Logo.svg rename to src/main/webapp/img/lib/atlassian/Bamboo_Logo.svg diff --git a/war/img/lib/atlassian/Bitbucket_Logo.svg b/src/main/webapp/img/lib/atlassian/Bitbucket_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Bitbucket_Logo.svg rename to src/main/webapp/img/lib/atlassian/Bitbucket_Logo.svg diff --git a/war/img/lib/atlassian/Clover_Logo.svg b/src/main/webapp/img/lib/atlassian/Clover_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Clover_Logo.svg rename to src/main/webapp/img/lib/atlassian/Clover_Logo.svg diff --git a/war/img/lib/atlassian/Confluence_Logo.svg b/src/main/webapp/img/lib/atlassian/Confluence_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Confluence_Logo.svg rename to src/main/webapp/img/lib/atlassian/Confluence_Logo.svg diff --git a/war/img/lib/atlassian/Crowd_Logo.svg b/src/main/webapp/img/lib/atlassian/Crowd_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Crowd_Logo.svg rename to src/main/webapp/img/lib/atlassian/Crowd_Logo.svg diff --git a/war/img/lib/atlassian/Crucible_Logo.svg b/src/main/webapp/img/lib/atlassian/Crucible_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Crucible_Logo.svg rename to src/main/webapp/img/lib/atlassian/Crucible_Logo.svg diff --git a/war/img/lib/atlassian/Fisheye_Logo.svg b/src/main/webapp/img/lib/atlassian/Fisheye_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Fisheye_Logo.svg rename to src/main/webapp/img/lib/atlassian/Fisheye_Logo.svg diff --git a/war/img/lib/atlassian/Hipchat_Logo.svg b/src/main/webapp/img/lib/atlassian/Hipchat_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Hipchat_Logo.svg rename to src/main/webapp/img/lib/atlassian/Hipchat_Logo.svg diff --git a/war/img/lib/atlassian/Jira_Core_Logo.svg b/src/main/webapp/img/lib/atlassian/Jira_Core_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Jira_Core_Logo.svg rename to src/main/webapp/img/lib/atlassian/Jira_Core_Logo.svg diff --git a/war/img/lib/atlassian/Jira_Logo.svg b/src/main/webapp/img/lib/atlassian/Jira_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Jira_Logo.svg rename to src/main/webapp/img/lib/atlassian/Jira_Logo.svg diff --git a/war/img/lib/atlassian/Jira_Service_Desk_Logo.svg b/src/main/webapp/img/lib/atlassian/Jira_Service_Desk_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Jira_Service_Desk_Logo.svg rename to src/main/webapp/img/lib/atlassian/Jira_Service_Desk_Logo.svg diff --git a/war/img/lib/atlassian/Jira_Software_Logo.svg b/src/main/webapp/img/lib/atlassian/Jira_Software_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Jira_Software_Logo.svg rename to src/main/webapp/img/lib/atlassian/Jira_Software_Logo.svg diff --git a/war/img/lib/atlassian/Sourcetree_Logo.svg b/src/main/webapp/img/lib/atlassian/Sourcetree_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Sourcetree_Logo.svg rename to src/main/webapp/img/lib/atlassian/Sourcetree_Logo.svg diff --git a/war/img/lib/atlassian/Statuspage_Logo.svg b/src/main/webapp/img/lib/atlassian/Statuspage_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Statuspage_Logo.svg rename to src/main/webapp/img/lib/atlassian/Statuspage_Logo.svg diff --git a/war/img/lib/atlassian/Stride_Logo.svg b/src/main/webapp/img/lib/atlassian/Stride_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Stride_Logo.svg rename to src/main/webapp/img/lib/atlassian/Stride_Logo.svg diff --git a/war/img/lib/atlassian/Trello_Logo.svg b/src/main/webapp/img/lib/atlassian/Trello_Logo.svg similarity index 100% rename from war/img/lib/atlassian/Trello_Logo.svg rename to src/main/webapp/img/lib/atlassian/Trello_Logo.svg diff --git a/war/img/lib/clip_art/computers/Antivirus_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Antivirus_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Antivirus_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Antivirus_128x128.png diff --git a/war/img/lib/clip_art/computers/Data_Filtering_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Data_Filtering_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Data_Filtering_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Data_Filtering_128x128.png diff --git a/war/img/lib/clip_art/computers/Database_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Database_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Database_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Database_128x128.png diff --git a/war/img/lib/clip_art/computers/Database_Add_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Database_Add_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Database_Add_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Database_Add_128x128.png diff --git a/war/img/lib/clip_art/computers/Database_Minus_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Database_Minus_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Database_Minus_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Database_Minus_128x128.png diff --git a/war/img/lib/clip_art/computers/Database_Move_Stack_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Database_Move_Stack_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Database_Move_Stack_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Database_Move_Stack_128x128.png diff --git a/war/img/lib/clip_art/computers/Database_Remove_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Database_Remove_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Database_Remove_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Database_Remove_128x128.png diff --git a/war/img/lib/clip_art/computers/Fujitsu_Tablet_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Fujitsu_Tablet_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Fujitsu_Tablet_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Fujitsu_Tablet_128x128.png diff --git a/war/img/lib/clip_art/computers/Harddrive_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Harddrive_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Harddrive_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Harddrive_128x128.png diff --git a/war/img/lib/clip_art/computers/IBM_Tablet_128x128.png b/src/main/webapp/img/lib/clip_art/computers/IBM_Tablet_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/IBM_Tablet_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/IBM_Tablet_128x128.png diff --git a/war/img/lib/clip_art/computers/Laptop_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Laptop_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Laptop_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Laptop_128x128.png diff --git a/war/img/lib/clip_art/computers/MacBook_128x128.png b/src/main/webapp/img/lib/clip_art/computers/MacBook_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/MacBook_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/MacBook_128x128.png diff --git a/war/img/lib/clip_art/computers/Mainframe_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Mainframe_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Mainframe_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Mainframe_128x128.png diff --git a/war/img/lib/clip_art/computers/Monitor_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Monitor_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Monitor_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Monitor_128x128.png diff --git a/war/img/lib/clip_art/computers/Monitor_Tower_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Monitor_Tower_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Monitor_Tower_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Monitor_Tower_128x128.png diff --git a/war/img/lib/clip_art/computers/Monitor_Tower_Behind_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Monitor_Tower_Behind_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Monitor_Tower_Behind_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Monitor_Tower_Behind_128x128.png diff --git a/war/img/lib/clip_art/computers/Netbook_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Netbook_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Netbook_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Netbook_128x128.png diff --git a/war/img/lib/clip_art/computers/Network_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Network_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Network_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Network_128x128.png diff --git a/war/img/lib/clip_art/computers/Network_2_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Network_2_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Network_2_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Network_2_128x128.png diff --git a/war/img/lib/clip_art/computers/Printer_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Printer_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Printer_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Printer_128x128.png diff --git a/war/img/lib/clip_art/computers/Printer_Commercial_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Printer_Commercial_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Printer_Commercial_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Printer_Commercial_128x128.png diff --git a/war/img/lib/clip_art/computers/Secure_System_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Secure_System_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Secure_System_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Secure_System_128x128.png diff --git a/war/img/lib/clip_art/computers/Server_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Server_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Server_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Server_128x128.png diff --git a/war/img/lib/clip_art/computers/Server_Rack_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Server_Rack_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Server_Rack_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Server_Rack_128x128.png diff --git a/war/img/lib/clip_art/computers/Server_Rack_Empty_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Server_Rack_Empty_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Server_Rack_Empty_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Server_Rack_Empty_128x128.png diff --git a/war/img/lib/clip_art/computers/Server_Rack_Partial_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Server_Rack_Partial_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Server_Rack_Partial_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Server_Rack_Partial_128x128.png diff --git a/war/img/lib/clip_art/computers/Server_Tower_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Server_Tower_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Server_Tower_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Server_Tower_128x128.png diff --git a/war/img/lib/clip_art/computers/Software_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Software_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Software_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Software_128x128.png diff --git a/war/img/lib/clip_art/computers/Stylus_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Stylus_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Stylus_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Stylus_128x128.png diff --git a/war/img/lib/clip_art/computers/Touch_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Touch_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Touch_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Touch_128x128.png diff --git a/war/img/lib/clip_art/computers/USB_Hub_128x128.png b/src/main/webapp/img/lib/clip_art/computers/USB_Hub_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/USB_Hub_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/USB_Hub_128x128.png diff --git a/war/img/lib/clip_art/computers/Virtual_Application_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Virtual_Application_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Virtual_Application_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Virtual_Application_128x128.png diff --git a/war/img/lib/clip_art/computers/Virtual_Machine_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Virtual_Machine_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Virtual_Machine_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Virtual_Machine_128x128.png diff --git a/war/img/lib/clip_art/computers/Virus_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Virus_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Virus_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Virus_128x128.png diff --git a/war/img/lib/clip_art/computers/Workstation_128x128.png b/src/main/webapp/img/lib/clip_art/computers/Workstation_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/Workstation_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/Workstation_128x128.png diff --git a/war/img/lib/clip_art/computers/iMac_128x128.png b/src/main/webapp/img/lib/clip_art/computers/iMac_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/iMac_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/iMac_128x128.png diff --git a/war/img/lib/clip_art/computers/iPad_128x128.png b/src/main/webapp/img/lib/clip_art/computers/iPad_128x128.png similarity index 100% rename from war/img/lib/clip_art/computers/iPad_128x128.png rename to src/main/webapp/img/lib/clip_art/computers/iPad_128x128.png diff --git a/war/img/lib/clip_art/finance/Arrow_Down_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Arrow_Down_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Arrow_Down_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Arrow_Down_128x128.png diff --git a/war/img/lib/clip_art/finance/Arrow_Up_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Arrow_Up_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Arrow_Up_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Arrow_Up_128x128.png diff --git a/war/img/lib/clip_art/finance/Coins_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Coins_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Coins_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Coins_128x128.png diff --git a/war/img/lib/clip_art/finance/Credit_Card_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Credit_Card_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Credit_Card_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Credit_Card_128x128.png diff --git a/war/img/lib/clip_art/finance/Dollar_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Dollar_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Dollar_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Dollar_128x128.png diff --git a/war/img/lib/clip_art/finance/Graph_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Graph_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Graph_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Graph_128x128.png diff --git a/war/img/lib/clip_art/finance/Pie_Chart_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Pie_Chart_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Pie_Chart_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Pie_Chart_128x128.png diff --git a/war/img/lib/clip_art/finance/Piggy_Bank_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Piggy_Bank_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Piggy_Bank_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Piggy_Bank_128x128.png diff --git a/war/img/lib/clip_art/finance/Safe_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Safe_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Safe_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Safe_128x128.png diff --git a/war/img/lib/clip_art/finance/Shopping_Cart_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Shopping_Cart_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Shopping_Cart_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Shopping_Cart_128x128.png diff --git a/war/img/lib/clip_art/finance/Stock_Down_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Stock_Down_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Stock_Down_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Stock_Down_128x128.png diff --git a/war/img/lib/clip_art/finance/Stock_Up_128x128.png b/src/main/webapp/img/lib/clip_art/finance/Stock_Up_128x128.png similarity index 100% rename from war/img/lib/clip_art/finance/Stock_Up_128x128.png rename to src/main/webapp/img/lib/clip_art/finance/Stock_Up_128x128.png diff --git a/war/img/lib/clip_art/general/Battery_0_128x128.png b/src/main/webapp/img/lib/clip_art/general/Battery_0_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Battery_0_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Battery_0_128x128.png diff --git a/war/img/lib/clip_art/general/Battery_100_128x128.png b/src/main/webapp/img/lib/clip_art/general/Battery_100_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Battery_100_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Battery_100_128x128.png diff --git a/war/img/lib/clip_art/general/Battery_50_128x128.png b/src/main/webapp/img/lib/clip_art/general/Battery_50_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Battery_50_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Battery_50_128x128.png diff --git a/war/img/lib/clip_art/general/Battery_75_128x128.png b/src/main/webapp/img/lib/clip_art/general/Battery_75_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Battery_75_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Battery_75_128x128.png diff --git a/war/img/lib/clip_art/general/Battery_allstates_128x128.png b/src/main/webapp/img/lib/clip_art/general/Battery_allstates_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Battery_allstates_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Battery_allstates_128x128.png diff --git a/war/img/lib/clip_art/general/Bluetooth_128x128.png b/src/main/webapp/img/lib/clip_art/general/Bluetooth_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Bluetooth_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Bluetooth_128x128.png diff --git a/war/img/lib/clip_art/general/Earth_globe_128x128.png b/src/main/webapp/img/lib/clip_art/general/Earth_globe_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Earth_globe_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Earth_globe_128x128.png diff --git a/war/img/lib/clip_art/general/Empty_Folder_128x128.png b/src/main/webapp/img/lib/clip_art/general/Empty_Folder_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Empty_Folder_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Empty_Folder_128x128.png diff --git a/war/img/lib/clip_art/general/Full_Folder_128x128.png b/src/main/webapp/img/lib/clip_art/general/Full_Folder_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Full_Folder_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Full_Folder_128x128.png diff --git a/war/img/lib/clip_art/general/Gear_128x128.png b/src/main/webapp/img/lib/clip_art/general/Gear_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Gear_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Gear_128x128.png diff --git a/war/img/lib/clip_art/general/Keys_128x128.png b/src/main/webapp/img/lib/clip_art/general/Keys_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Keys_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Keys_128x128.png diff --git a/war/img/lib/clip_art/general/Lock_128x128.png b/src/main/webapp/img/lib/clip_art/general/Lock_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Lock_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Lock_128x128.png diff --git a/war/img/lib/clip_art/general/Mouse_Pointer_128x128.png b/src/main/webapp/img/lib/clip_art/general/Mouse_Pointer_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Mouse_Pointer_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Mouse_Pointer_128x128.png diff --git a/war/img/lib/clip_art/general/Plug_128x128.png b/src/main/webapp/img/lib/clip_art/general/Plug_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Plug_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Plug_128x128.png diff --git a/war/img/lib/clip_art/general/Ships_Wheel_128x128.png b/src/main/webapp/img/lib/clip_art/general/Ships_Wheel_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Ships_Wheel_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Ships_Wheel_128x128.png diff --git a/war/img/lib/clip_art/general/Star_128x128.png b/src/main/webapp/img/lib/clip_art/general/Star_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Star_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Star_128x128.png diff --git a/war/img/lib/clip_art/general/Tire_128x128.png b/src/main/webapp/img/lib/clip_art/general/Tire_128x128.png similarity index 100% rename from war/img/lib/clip_art/general/Tire_128x128.png rename to src/main/webapp/img/lib/clip_art/general/Tire_128x128.png diff --git a/war/img/lib/clip_art/networking/Bridge_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Bridge_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Bridge_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Bridge_128x128.png diff --git a/war/img/lib/clip_art/networking/Certificate_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Certificate_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Certificate_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Certificate_128x128.png diff --git a/war/img/lib/clip_art/networking/Certificate_Off_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Certificate_Off_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Certificate_Off_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Certificate_Off_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Computer_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Computer_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Computer_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Computer_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Computer_Private_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Computer_Private_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Computer_Private_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Computer_Private_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Rack_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Rack_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Rack_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Rack_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Rack_Private_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Rack_Private_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Rack_Private_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Rack_Private_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Server_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Server_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Server_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Server_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Server_Private_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Server_Private_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Server_Private_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Server_Private_128x128.png diff --git a/war/img/lib/clip_art/networking/Cloud_Storage_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Cloud_Storage_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Cloud_Storage_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Cloud_Storage_128x128.png diff --git a/war/img/lib/clip_art/networking/Concentrator_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Concentrator_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Concentrator_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Concentrator_128x128.png diff --git a/war/img/lib/clip_art/networking/Email_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Email_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Email_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Email_128x128.png diff --git a/war/img/lib/clip_art/networking/Firewall-page1_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Firewall-page1_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Firewall-page1_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Firewall-page1_128x128.png diff --git a/war/img/lib/clip_art/networking/Firewall_02_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Firewall_02_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Firewall_02_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Firewall_02_128x128.png diff --git a/war/img/lib/clip_art/networking/Firewall_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Firewall_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Firewall_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Firewall_128x128.png diff --git a/war/img/lib/clip_art/networking/Ip_Camera_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Ip_Camera_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Ip_Camera_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Ip_Camera_128x128.png diff --git a/war/img/lib/clip_art/networking/Modem_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Modem_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Modem_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Modem_128x128.png diff --git a/war/img/lib/clip_art/networking/Print_Server_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Print_Server_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Print_Server_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Print_Server_128x128.png diff --git a/war/img/lib/clip_art/networking/Print_Server_Wireless_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Print_Server_Wireless_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Print_Server_Wireless_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Print_Server_Wireless_128x128.png diff --git a/war/img/lib/clip_art/networking/Repeater_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Repeater_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Repeater_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Repeater_128x128.png diff --git a/war/img/lib/clip_art/networking/Router_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Router_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Router_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Router_128x128.png diff --git a/war/img/lib/clip_art/networking/Router_Icon_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Router_Icon_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Router_Icon_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Router_Icon_128x128.png diff --git a/war/img/lib/clip_art/networking/Switch_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Switch_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Switch_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Switch_128x128.png diff --git a/war/img/lib/clip_art/networking/UPS_128x128.png b/src/main/webapp/img/lib/clip_art/networking/UPS_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/UPS_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/UPS_128x128.png diff --git a/war/img/lib/clip_art/networking/Wireless_Router_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Wireless_Router_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Wireless_Router_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Wireless_Router_128x128.png diff --git a/war/img/lib/clip_art/networking/Wireless_Router_N_128x128.png b/src/main/webapp/img/lib/clip_art/networking/Wireless_Router_N_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/Wireless_Router_N_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/Wireless_Router_N_128x128.png diff --git a/war/img/lib/clip_art/networking/power_distribution_unit_128x128.png b/src/main/webapp/img/lib/clip_art/networking/power_distribution_unit_128x128.png similarity index 100% rename from war/img/lib/clip_art/networking/power_distribution_unit_128x128.png rename to src/main/webapp/img/lib/clip_art/networking/power_distribution_unit_128x128.png diff --git a/war/img/lib/clip_art/people/Construction_Worker_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Construction_Worker_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Construction_Worker_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Construction_Worker_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Construction_Worker_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Construction_Worker_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Construction_Worker_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Construction_Worker_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Construction_Worker_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Construction_Worker_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Construction_Worker_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Construction_Worker_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Construction_Worker_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Construction_Worker_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Construction_Worker_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Construction_Worker_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Doctor_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Doctor_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Doctor_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Doctor_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Doctor_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Doctor_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Doctor_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Doctor_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Doctor_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Doctor_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Doctor_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Doctor_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Doctor_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Doctor_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Doctor_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Doctor_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Farmer_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Farmer_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Farmer_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Farmer_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Farmer_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Farmer_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Farmer_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Farmer_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Farmer_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Farmer_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Farmer_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Farmer_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Farmer_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Farmer_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Farmer_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Farmer_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Military_Officer_128x128.png b/src/main/webapp/img/lib/clip_art/people/Military_Officer_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Military_Officer_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Military_Officer_128x128.png diff --git a/war/img/lib/clip_art/people/Military_Officer_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Military_Officer_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Military_Officer_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Military_Officer_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Military_Officer_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Military_Officer_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Military_Officer_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Military_Officer_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Military_Officer_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Military_Officer_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Military_Officer_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Military_Officer_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Man_Green_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Man_Green_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Man_Green_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Man_Green_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Man_Red_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Man_Red_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Man_Red_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Man_Red_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Woman_Green_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Green_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Woman_Green_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Green_128x128.png diff --git a/war/img/lib/clip_art/people/Nurse_Woman_Red_128x128.png b/src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Red_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Nurse_Woman_Red_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Nurse_Woman_Red_128x128.png diff --git a/war/img/lib/clip_art/people/Pilot_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Pilot_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Pilot_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Pilot_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Pilot_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Pilot_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Pilot_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Pilot_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Pilot_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Pilot_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Pilot_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Pilot_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Pilot_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Pilot_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Pilot_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Pilot_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Scientist_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Scientist_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Scientist_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Scientist_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Scientist_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Scientist_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Scientist_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Scientist_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Scientist_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Scientist_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Scientist_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Scientist_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Scientist_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Scientist_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Scientist_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Scientist_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Security_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Security_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Security_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Security_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Security_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Security_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Security_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Security_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Security_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Security_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Security_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Security_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Security_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Security_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Security_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Security_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Soldier_128x128.png b/src/main/webapp/img/lib/clip_art/people/Soldier_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Soldier_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Soldier_128x128.png diff --git a/war/img/lib/clip_art/people/Soldier_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Soldier_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Soldier_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Soldier_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Man_Blue_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Man_Blue_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Man_Blue_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Man_Blue_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Man_Green_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Man_Green_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Man_Green_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Man_Green_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Man_Green_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Man_Green_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Man_Green_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Man_Green_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Woman_Blue_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Woman_Blue_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Woman_Blue_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Woman_Blue_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Woman_Green_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Woman_Green_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Woman_Green_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Woman_Green_128x128.png diff --git a/war/img/lib/clip_art/people/Suit_Woman_Green_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Suit_Woman_Green_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Suit_Woman_Green_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Suit_Woman_Green_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Tech_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Tech_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Tech_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Tech_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Tech_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Tech_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Tech_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Tech_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Telesales_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Telesales_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Telesales_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Telesales_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Telesales_Man_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Telesales_Man_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Telesales_Man_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Telesales_Man_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Telesales_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Telesales_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Telesales_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Telesales_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Telesales_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Telesales_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Telesales_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Telesales_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Waiter_128x128.png b/src/main/webapp/img/lib/clip_art/people/Waiter_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Waiter_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Waiter_128x128.png diff --git a/war/img/lib/clip_art/people/Waiter_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Waiter_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Waiter_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Waiter_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Waiter_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Waiter_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Waiter_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Waiter_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Waiter_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Waiter_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Waiter_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Waiter_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Worker_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Worker_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Worker_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Worker_Black_128x128.png diff --git a/war/img/lib/clip_art/people/Worker_Man_128x128.png b/src/main/webapp/img/lib/clip_art/people/Worker_Man_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Worker_Man_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Worker_Man_128x128.png diff --git a/war/img/lib/clip_art/people/Worker_Woman_128x128.png b/src/main/webapp/img/lib/clip_art/people/Worker_Woman_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Worker_Woman_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Worker_Woman_128x128.png diff --git a/war/img/lib/clip_art/people/Worker_Woman_Black_128x128.png b/src/main/webapp/img/lib/clip_art/people/Worker_Woman_Black_128x128.png similarity index 100% rename from war/img/lib/clip_art/people/Worker_Woman_Black_128x128.png rename to src/main/webapp/img/lib/clip_art/people/Worker_Woman_Black_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/BlackBerry_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/BlackBerry_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/BlackBerry_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/BlackBerry_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/Cellphone_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/Cellphone_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/Cellphone_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/Cellphone_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/HTC_smartphone_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/HTC_smartphone_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/HTC_smartphone_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/HTC_smartphone_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/Palm_Treo_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/Palm_Treo_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/Palm_Treo_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/Palm_Treo_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/Signal_tower_off_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/Signal_tower_off_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/Signal_tower_off_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/Signal_tower_off_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/Signal_tower_on_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/Signal_tower_on_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/Signal_tower_on_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/Signal_tower_on_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/Telephone_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/Telephone_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/Telephone_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/Telephone_128x128.png diff --git a/war/img/lib/clip_art/telecommunication/iPhone_128x128.png b/src/main/webapp/img/lib/clip_art/telecommunication/iPhone_128x128.png similarity index 100% rename from war/img/lib/clip_art/telecommunication/iPhone_128x128.png rename to src/main/webapp/img/lib/clip_art/telecommunication/iPhone_128x128.png diff --git a/war/img/lib/ibm/analytics/analytics.svg b/src/main/webapp/img/lib/ibm/analytics/analytics.svg similarity index 100% rename from war/img/lib/ibm/analytics/analytics.svg rename to src/main/webapp/img/lib/ibm/analytics/analytics.svg diff --git a/war/img/lib/ibm/analytics/data_integration.svg b/src/main/webapp/img/lib/ibm/analytics/data_integration.svg similarity index 100% rename from war/img/lib/ibm/analytics/data_integration.svg rename to src/main/webapp/img/lib/ibm/analytics/data_integration.svg diff --git a/war/img/lib/ibm/analytics/data_repositories.svg b/src/main/webapp/img/lib/ibm/analytics/data_repositories.svg similarity index 100% rename from war/img/lib/ibm/analytics/data_repositories.svg rename to src/main/webapp/img/lib/ibm/analytics/data_repositories.svg diff --git a/war/img/lib/ibm/analytics/device_analytics.svg b/src/main/webapp/img/lib/ibm/analytics/device_analytics.svg similarity index 100% rename from war/img/lib/ibm/analytics/device_analytics.svg rename to src/main/webapp/img/lib/ibm/analytics/device_analytics.svg diff --git a/war/img/lib/ibm/analytics/streaming_computing.svg b/src/main/webapp/img/lib/ibm/analytics/streaming_computing.svg similarity index 100% rename from war/img/lib/ibm/analytics/streaming_computing.svg rename to src/main/webapp/img/lib/ibm/analytics/streaming_computing.svg diff --git a/war/img/lib/ibm/applications/actionable_insight.svg b/src/main/webapp/img/lib/ibm/applications/actionable_insight.svg similarity index 100% rename from war/img/lib/ibm/applications/actionable_insight.svg rename to src/main/webapp/img/lib/ibm/applications/actionable_insight.svg diff --git a/war/img/lib/ibm/applications/annotate.svg b/src/main/webapp/img/lib/ibm/applications/annotate.svg similarity index 100% rename from war/img/lib/ibm/applications/annotate.svg rename to src/main/webapp/img/lib/ibm/applications/annotate.svg diff --git a/war/img/lib/ibm/applications/api_developer_portal.svg b/src/main/webapp/img/lib/ibm/applications/api_developer_portal.svg similarity index 100% rename from war/img/lib/ibm/applications/api_developer_portal.svg rename to src/main/webapp/img/lib/ibm/applications/api_developer_portal.svg diff --git a/war/img/lib/ibm/applications/api_polyglot_runtimes.svg b/src/main/webapp/img/lib/ibm/applications/api_polyglot_runtimes.svg similarity index 100% rename from war/img/lib/ibm/applications/api_polyglot_runtimes.svg rename to src/main/webapp/img/lib/ibm/applications/api_polyglot_runtimes.svg diff --git a/war/img/lib/ibm/applications/app_server.svg b/src/main/webapp/img/lib/ibm/applications/app_server.svg similarity index 100% rename from war/img/lib/ibm/applications/app_server.svg rename to src/main/webapp/img/lib/ibm/applications/app_server.svg diff --git a/war/img/lib/ibm/applications/application_logic.svg b/src/main/webapp/img/lib/ibm/applications/application_logic.svg similarity index 100% rename from war/img/lib/ibm/applications/application_logic.svg rename to src/main/webapp/img/lib/ibm/applications/application_logic.svg diff --git a/war/img/lib/ibm/applications/automation_tools.svg b/src/main/webapp/img/lib/ibm/applications/automation_tools.svg similarity index 100% rename from war/img/lib/ibm/applications/automation_tools.svg rename to src/main/webapp/img/lib/ibm/applications/automation_tools.svg diff --git a/war/img/lib/ibm/applications/enterprise_applications.svg b/src/main/webapp/img/lib/ibm/applications/enterprise_applications.svg similarity index 100% rename from war/img/lib/ibm/applications/enterprise_applications.svg rename to src/main/webapp/img/lib/ibm/applications/enterprise_applications.svg diff --git a/war/img/lib/ibm/applications/index.svg b/src/main/webapp/img/lib/ibm/applications/index.svg similarity index 100% rename from war/img/lib/ibm/applications/index.svg rename to src/main/webapp/img/lib/ibm/applications/index.svg diff --git a/war/img/lib/ibm/applications/iot_application.svg b/src/main/webapp/img/lib/ibm/applications/iot_application.svg similarity index 100% rename from war/img/lib/ibm/applications/iot_application.svg rename to src/main/webapp/img/lib/ibm/applications/iot_application.svg diff --git a/war/img/lib/ibm/applications/microservice.svg b/src/main/webapp/img/lib/ibm/applications/microservice.svg similarity index 100% rename from war/img/lib/ibm/applications/microservice.svg rename to src/main/webapp/img/lib/ibm/applications/microservice.svg diff --git a/war/img/lib/ibm/applications/mobile_app.svg b/src/main/webapp/img/lib/ibm/applications/mobile_app.svg similarity index 100% rename from war/img/lib/ibm/applications/mobile_app.svg rename to src/main/webapp/img/lib/ibm/applications/mobile_app.svg diff --git a/war/img/lib/ibm/applications/ontology.svg b/src/main/webapp/img/lib/ibm/applications/ontology.svg similarity index 100% rename from war/img/lib/ibm/applications/ontology.svg rename to src/main/webapp/img/lib/ibm/applications/ontology.svg diff --git a/war/img/lib/ibm/applications/open_source_tools.svg b/src/main/webapp/img/lib/ibm/applications/open_source_tools.svg similarity index 100% rename from war/img/lib/ibm/applications/open_source_tools.svg rename to src/main/webapp/img/lib/ibm/applications/open_source_tools.svg diff --git a/war/img/lib/ibm/applications/runtime_services.svg b/src/main/webapp/img/lib/ibm/applications/runtime_services.svg similarity index 100% rename from war/img/lib/ibm/applications/runtime_services.svg rename to src/main/webapp/img/lib/ibm/applications/runtime_services.svg diff --git a/war/img/lib/ibm/applications/saas_applications.svg b/src/main/webapp/img/lib/ibm/applications/saas_applications.svg similarity index 100% rename from war/img/lib/ibm/applications/saas_applications.svg rename to src/main/webapp/img/lib/ibm/applications/saas_applications.svg diff --git a/war/img/lib/ibm/applications/service_broker.svg b/src/main/webapp/img/lib/ibm/applications/service_broker.svg similarity index 100% rename from war/img/lib/ibm/applications/service_broker.svg rename to src/main/webapp/img/lib/ibm/applications/service_broker.svg diff --git a/war/img/lib/ibm/applications/speech_to_text.svg b/src/main/webapp/img/lib/ibm/applications/speech_to_text.svg similarity index 100% rename from war/img/lib/ibm/applications/speech_to_text.svg rename to src/main/webapp/img/lib/ibm/applications/speech_to_text.svg diff --git a/war/img/lib/ibm/applications/visual_recognition.svg b/src/main/webapp/img/lib/ibm/applications/visual_recognition.svg similarity index 100% rename from war/img/lib/ibm/applications/visual_recognition.svg rename to src/main/webapp/img/lib/ibm/applications/visual_recognition.svg diff --git a/war/img/lib/ibm/applications/visualization.svg b/src/main/webapp/img/lib/ibm/applications/visualization.svg similarity index 100% rename from war/img/lib/ibm/applications/visualization.svg rename to src/main/webapp/img/lib/ibm/applications/visualization.svg diff --git a/war/img/lib/ibm/blockchain/blockchain.svg b/src/main/webapp/img/lib/ibm/blockchain/blockchain.svg similarity index 100% rename from war/img/lib/ibm/blockchain/blockchain.svg rename to src/main/webapp/img/lib/ibm/blockchain/blockchain.svg diff --git a/war/img/lib/ibm/blockchain/blockchain_developer.svg b/src/main/webapp/img/lib/ibm/blockchain/blockchain_developer.svg similarity index 100% rename from war/img/lib/ibm/blockchain/blockchain_developer.svg rename to src/main/webapp/img/lib/ibm/blockchain/blockchain_developer.svg diff --git a/war/img/lib/ibm/blockchain/certificate_authority.svg b/src/main/webapp/img/lib/ibm/blockchain/certificate_authority.svg similarity index 100% rename from war/img/lib/ibm/blockchain/certificate_authority.svg rename to src/main/webapp/img/lib/ibm/blockchain/certificate_authority.svg diff --git a/war/img/lib/ibm/blockchain/client_application.svg b/src/main/webapp/img/lib/ibm/blockchain/client_application.svg similarity index 100% rename from war/img/lib/ibm/blockchain/client_application.svg rename to src/main/webapp/img/lib/ibm/blockchain/client_application.svg diff --git a/war/img/lib/ibm/blockchain/e_cert.svg b/src/main/webapp/img/lib/ibm/blockchain/e_cert.svg similarity index 100% rename from war/img/lib/ibm/blockchain/e_cert.svg rename to src/main/webapp/img/lib/ibm/blockchain/e_cert.svg diff --git a/war/img/lib/ibm/blockchain/event.svg b/src/main/webapp/img/lib/ibm/blockchain/event.svg similarity index 100% rename from war/img/lib/ibm/blockchain/event.svg rename to src/main/webapp/img/lib/ibm/blockchain/event.svg diff --git a/war/img/lib/ibm/blockchain/existing_enterprise_systems.svg b/src/main/webapp/img/lib/ibm/blockchain/existing_enterprise_systems.svg similarity index 100% rename from war/img/lib/ibm/blockchain/existing_enterprise_systems.svg rename to src/main/webapp/img/lib/ibm/blockchain/existing_enterprise_systems.svg diff --git a/war/img/lib/ibm/blockchain/hyperledger_fabric.svg b/src/main/webapp/img/lib/ibm/blockchain/hyperledger_fabric.svg similarity index 100% rename from war/img/lib/ibm/blockchain/hyperledger_fabric.svg rename to src/main/webapp/img/lib/ibm/blockchain/hyperledger_fabric.svg diff --git a/war/img/lib/ibm/blockchain/ledger.svg b/src/main/webapp/img/lib/ibm/blockchain/ledger.svg similarity index 100% rename from war/img/lib/ibm/blockchain/ledger.svg rename to src/main/webapp/img/lib/ibm/blockchain/ledger.svg diff --git a/war/img/lib/ibm/blockchain/membership_services_provider_api.svg b/src/main/webapp/img/lib/ibm/blockchain/membership_services_provider_api.svg similarity index 100% rename from war/img/lib/ibm/blockchain/membership_services_provider_api.svg rename to src/main/webapp/img/lib/ibm/blockchain/membership_services_provider_api.svg diff --git a/war/img/lib/ibm/blockchain/services.svg b/src/main/webapp/img/lib/ibm/blockchain/services.svg similarity index 100% rename from war/img/lib/ibm/blockchain/services.svg rename to src/main/webapp/img/lib/ibm/blockchain/services.svg diff --git a/war/img/lib/ibm/blockchain/smart_contract.svg b/src/main/webapp/img/lib/ibm/blockchain/smart_contract.svg similarity index 100% rename from war/img/lib/ibm/blockchain/smart_contract.svg rename to src/main/webapp/img/lib/ibm/blockchain/smart_contract.svg diff --git a/war/img/lib/ibm/data/caches.svg b/src/main/webapp/img/lib/ibm/data/caches.svg similarity index 100% rename from war/img/lib/ibm/data/caches.svg rename to src/main/webapp/img/lib/ibm/data/caches.svg diff --git a/war/img/lib/ibm/data/cloud.svg b/src/main/webapp/img/lib/ibm/data/cloud.svg similarity index 100% rename from war/img/lib/ibm/data/cloud.svg rename to src/main/webapp/img/lib/ibm/data/cloud.svg diff --git a/war/img/lib/ibm/data/conversation_trained_deployed.svg b/src/main/webapp/img/lib/ibm/data/conversation_trained_deployed.svg similarity index 100% rename from war/img/lib/ibm/data/conversation_trained_deployed.svg rename to src/main/webapp/img/lib/ibm/data/conversation_trained_deployed.svg diff --git a/war/img/lib/ibm/data/data_services.svg b/src/main/webapp/img/lib/ibm/data/data_services.svg similarity index 100% rename from war/img/lib/ibm/data/data_services.svg rename to src/main/webapp/img/lib/ibm/data/data_services.svg diff --git a/war/img/lib/ibm/data/data_sources.svg b/src/main/webapp/img/lib/ibm/data/data_sources.svg similarity index 100% rename from war/img/lib/ibm/data/data_sources.svg rename to src/main/webapp/img/lib/ibm/data/data_sources.svg diff --git a/war/img/lib/ibm/data/device_identity_service.svg b/src/main/webapp/img/lib/ibm/data/device_identity_service.svg similarity index 100% rename from war/img/lib/ibm/data/device_identity_service.svg rename to src/main/webapp/img/lib/ibm/data/device_identity_service.svg diff --git a/war/img/lib/ibm/data/device_registry.svg b/src/main/webapp/img/lib/ibm/data/device_registry.svg similarity index 100% rename from war/img/lib/ibm/data/device_registry.svg rename to src/main/webapp/img/lib/ibm/data/device_registry.svg diff --git a/war/img/lib/ibm/data/enterprise_data.svg b/src/main/webapp/img/lib/ibm/data/enterprise_data.svg similarity index 100% rename from war/img/lib/ibm/data/enterprise_data.svg rename to src/main/webapp/img/lib/ibm/data/enterprise_data.svg diff --git a/war/img/lib/ibm/data/enterprise_user_directory.svg b/src/main/webapp/img/lib/ibm/data/enterprise_user_directory.svg similarity index 100% rename from war/img/lib/ibm/data/enterprise_user_directory.svg rename to src/main/webapp/img/lib/ibm/data/enterprise_user_directory.svg diff --git a/war/img/lib/ibm/data/file_repository.svg b/src/main/webapp/img/lib/ibm/data/file_repository.svg similarity index 100% rename from war/img/lib/ibm/data/file_repository.svg rename to src/main/webapp/img/lib/ibm/data/file_repository.svg diff --git a/war/img/lib/ibm/data/ground_truth.svg b/src/main/webapp/img/lib/ibm/data/ground_truth.svg similarity index 100% rename from war/img/lib/ibm/data/ground_truth.svg rename to src/main/webapp/img/lib/ibm/data/ground_truth.svg diff --git a/war/img/lib/ibm/data/model.svg b/src/main/webapp/img/lib/ibm/data/model.svg similarity index 100% rename from war/img/lib/ibm/data/model.svg rename to src/main/webapp/img/lib/ibm/data/model.svg diff --git a/war/img/lib/ibm/data/tms_data_interface.svg b/src/main/webapp/img/lib/ibm/data/tms_data_interface.svg similarity index 100% rename from war/img/lib/ibm/data/tms_data_interface.svg rename to src/main/webapp/img/lib/ibm/data/tms_data_interface.svg diff --git a/war/img/lib/ibm/devops/artifact_management.svg b/src/main/webapp/img/lib/ibm/devops/artifact_management.svg similarity index 100% rename from war/img/lib/ibm/devops/artifact_management.svg rename to src/main/webapp/img/lib/ibm/devops/artifact_management.svg diff --git a/war/img/lib/ibm/devops/build_test.svg b/src/main/webapp/img/lib/ibm/devops/build_test.svg similarity index 100% rename from war/img/lib/ibm/devops/build_test.svg rename to src/main/webapp/img/lib/ibm/devops/build_test.svg diff --git a/war/img/lib/ibm/devops/code_editor.svg b/src/main/webapp/img/lib/ibm/devops/code_editor.svg similarity index 100% rename from war/img/lib/ibm/devops/code_editor.svg rename to src/main/webapp/img/lib/ibm/devops/code_editor.svg diff --git a/war/img/lib/ibm/devops/collaborative_development.svg b/src/main/webapp/img/lib/ibm/devops/collaborative_development.svg similarity index 100% rename from war/img/lib/ibm/devops/collaborative_development.svg rename to src/main/webapp/img/lib/ibm/devops/collaborative_development.svg diff --git a/war/img/lib/ibm/devops/configuration_management.svg b/src/main/webapp/img/lib/ibm/devops/configuration_management.svg similarity index 100% rename from war/img/lib/ibm/devops/configuration_management.svg rename to src/main/webapp/img/lib/ibm/devops/configuration_management.svg diff --git a/war/img/lib/ibm/devops/continuous_deploy.svg b/src/main/webapp/img/lib/ibm/devops/continuous_deploy.svg similarity index 100% rename from war/img/lib/ibm/devops/continuous_deploy.svg rename to src/main/webapp/img/lib/ibm/devops/continuous_deploy.svg diff --git a/war/img/lib/ibm/devops/continuous_testing.svg b/src/main/webapp/img/lib/ibm/devops/continuous_testing.svg similarity index 100% rename from war/img/lib/ibm/devops/continuous_testing.svg rename to src/main/webapp/img/lib/ibm/devops/continuous_testing.svg diff --git a/war/img/lib/ibm/devops/devops.svg b/src/main/webapp/img/lib/ibm/devops/devops.svg similarity index 100% rename from war/img/lib/ibm/devops/devops.svg rename to src/main/webapp/img/lib/ibm/devops/devops.svg diff --git a/war/img/lib/ibm/devops/provision.svg b/src/main/webapp/img/lib/ibm/devops/provision.svg similarity index 100% rename from war/img/lib/ibm/devops/provision.svg rename to src/main/webapp/img/lib/ibm/devops/provision.svg diff --git a/war/img/lib/ibm/devops/release_management.svg b/src/main/webapp/img/lib/ibm/devops/release_management.svg similarity index 100% rename from war/img/lib/ibm/devops/release_management.svg rename to src/main/webapp/img/lib/ibm/devops/release_management.svg diff --git a/war/img/lib/ibm/infrastructure/channels.svg b/src/main/webapp/img/lib/ibm/infrastructure/channels.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/channels.svg rename to src/main/webapp/img/lib/ibm/infrastructure/channels.svg diff --git a/war/img/lib/ibm/infrastructure/cloud_messaging.svg b/src/main/webapp/img/lib/ibm/infrastructure/cloud_messaging.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/cloud_messaging.svg rename to src/main/webapp/img/lib/ibm/infrastructure/cloud_messaging.svg diff --git a/war/img/lib/ibm/infrastructure/dashboard.svg b/src/main/webapp/img/lib/ibm/infrastructure/dashboard.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/dashboard.svg rename to src/main/webapp/img/lib/ibm/infrastructure/dashboard.svg diff --git a/war/img/lib/ibm/infrastructure/diagnostics.svg b/src/main/webapp/img/lib/ibm/infrastructure/diagnostics.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/diagnostics.svg rename to src/main/webapp/img/lib/ibm/infrastructure/diagnostics.svg diff --git a/war/img/lib/ibm/infrastructure/edge_services.svg b/src/main/webapp/img/lib/ibm/infrastructure/edge_services.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/edge_services.svg rename to src/main/webapp/img/lib/ibm/infrastructure/edge_services.svg diff --git a/war/img/lib/ibm/infrastructure/enterprise_messaging.svg b/src/main/webapp/img/lib/ibm/infrastructure/enterprise_messaging.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/enterprise_messaging.svg rename to src/main/webapp/img/lib/ibm/infrastructure/enterprise_messaging.svg diff --git a/war/img/lib/ibm/infrastructure/event_feed.svg b/src/main/webapp/img/lib/ibm/infrastructure/event_feed.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/event_feed.svg rename to src/main/webapp/img/lib/ibm/infrastructure/event_feed.svg diff --git a/war/img/lib/ibm/infrastructure/infrastructure_services.svg b/src/main/webapp/img/lib/ibm/infrastructure/infrastructure_services.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/infrastructure_services.svg rename to src/main/webapp/img/lib/ibm/infrastructure/infrastructure_services.svg diff --git a/war/img/lib/ibm/infrastructure/interservice_communication.svg b/src/main/webapp/img/lib/ibm/infrastructure/interservice_communication.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/interservice_communication.svg rename to src/main/webapp/img/lib/ibm/infrastructure/interservice_communication.svg diff --git a/war/img/lib/ibm/infrastructure/load_balancing_routing.svg b/src/main/webapp/img/lib/ibm/infrastructure/load_balancing_routing.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/load_balancing_routing.svg rename to src/main/webapp/img/lib/ibm/infrastructure/load_balancing_routing.svg diff --git a/war/img/lib/ibm/infrastructure/microservices_mesh.svg b/src/main/webapp/img/lib/ibm/infrastructure/microservices_mesh.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/microservices_mesh.svg rename to src/main/webapp/img/lib/ibm/infrastructure/microservices_mesh.svg diff --git a/war/img/lib/ibm/infrastructure/mobile_backend.svg b/src/main/webapp/img/lib/ibm/infrastructure/mobile_backend.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/mobile_backend.svg rename to src/main/webapp/img/lib/ibm/infrastructure/mobile_backend.svg diff --git a/war/img/lib/ibm/infrastructure/mobile_provider_network.svg b/src/main/webapp/img/lib/ibm/infrastructure/mobile_provider_network.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/mobile_provider_network.svg rename to src/main/webapp/img/lib/ibm/infrastructure/mobile_provider_network.svg diff --git a/war/img/lib/ibm/infrastructure/monitoring.svg b/src/main/webapp/img/lib/ibm/infrastructure/monitoring.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/monitoring.svg rename to src/main/webapp/img/lib/ibm/infrastructure/monitoring.svg diff --git a/war/img/lib/ibm/infrastructure/monitoring_logging.svg b/src/main/webapp/img/lib/ibm/infrastructure/monitoring_logging.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/monitoring_logging.svg rename to src/main/webapp/img/lib/ibm/infrastructure/monitoring_logging.svg diff --git a/war/img/lib/ibm/infrastructure/peer_services.svg b/src/main/webapp/img/lib/ibm/infrastructure/peer_services.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/peer_services.svg rename to src/main/webapp/img/lib/ibm/infrastructure/peer_services.svg diff --git a/war/img/lib/ibm/infrastructure/service_discovery_configuration.svg b/src/main/webapp/img/lib/ibm/infrastructure/service_discovery_configuration.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/service_discovery_configuration.svg rename to src/main/webapp/img/lib/ibm/infrastructure/service_discovery_configuration.svg diff --git a/war/img/lib/ibm/infrastructure/transformation_connectivity.svg b/src/main/webapp/img/lib/ibm/infrastructure/transformation_connectivity.svg similarity index 100% rename from war/img/lib/ibm/infrastructure/transformation_connectivity.svg rename to src/main/webapp/img/lib/ibm/infrastructure/transformation_connectivity.svg diff --git a/war/img/lib/ibm/management/alert_notification.svg b/src/main/webapp/img/lib/ibm/management/alert_notification.svg similarity index 100% rename from war/img/lib/ibm/management/alert_notification.svg rename to src/main/webapp/img/lib/ibm/management/alert_notification.svg diff --git a/war/img/lib/ibm/management/api_management.svg b/src/main/webapp/img/lib/ibm/management/api_management.svg similarity index 100% rename from war/img/lib/ibm/management/api_management.svg rename to src/main/webapp/img/lib/ibm/management/api_management.svg diff --git a/war/img/lib/ibm/management/cloud_management.svg b/src/main/webapp/img/lib/ibm/management/cloud_management.svg similarity index 100% rename from war/img/lib/ibm/management/cloud_management.svg rename to src/main/webapp/img/lib/ibm/management/cloud_management.svg diff --git a/war/img/lib/ibm/management/cluster_management.svg b/src/main/webapp/img/lib/ibm/management/cluster_management.svg similarity index 100% rename from war/img/lib/ibm/management/cluster_management.svg rename to src/main/webapp/img/lib/ibm/management/cluster_management.svg diff --git a/war/img/lib/ibm/management/content_management.svg b/src/main/webapp/img/lib/ibm/management/content_management.svg similarity index 100% rename from war/img/lib/ibm/management/content_management.svg rename to src/main/webapp/img/lib/ibm/management/content_management.svg diff --git a/war/img/lib/ibm/management/data_services.svg b/src/main/webapp/img/lib/ibm/management/data_services.svg similarity index 100% rename from war/img/lib/ibm/management/data_services.svg rename to src/main/webapp/img/lib/ibm/management/data_services.svg diff --git a/war/img/lib/ibm/management/device_management.svg b/src/main/webapp/img/lib/ibm/management/device_management.svg similarity index 100% rename from war/img/lib/ibm/management/device_management.svg rename to src/main/webapp/img/lib/ibm/management/device_management.svg diff --git a/war/img/lib/ibm/management/information_governance.svg b/src/main/webapp/img/lib/ibm/management/information_governance.svg similarity index 100% rename from war/img/lib/ibm/management/information_governance.svg rename to src/main/webapp/img/lib/ibm/management/information_governance.svg diff --git a/war/img/lib/ibm/management/it_service_management.svg b/src/main/webapp/img/lib/ibm/management/it_service_management.svg similarity index 100% rename from war/img/lib/ibm/management/it_service_management.svg rename to src/main/webapp/img/lib/ibm/management/it_service_management.svg diff --git a/war/img/lib/ibm/management/management.svg b/src/main/webapp/img/lib/ibm/management/management.svg similarity index 100% rename from war/img/lib/ibm/management/management.svg rename to src/main/webapp/img/lib/ibm/management/management.svg diff --git a/war/img/lib/ibm/management/monitoring_metrics.svg b/src/main/webapp/img/lib/ibm/management/monitoring_metrics.svg similarity index 100% rename from war/img/lib/ibm/management/monitoring_metrics.svg rename to src/main/webapp/img/lib/ibm/management/monitoring_metrics.svg diff --git a/war/img/lib/ibm/management/process_management.svg b/src/main/webapp/img/lib/ibm/management/process_management.svg similarity index 100% rename from war/img/lib/ibm/management/process_management.svg rename to src/main/webapp/img/lib/ibm/management/process_management.svg diff --git a/war/img/lib/ibm/management/provider_cloud_portal_service.svg b/src/main/webapp/img/lib/ibm/management/provider_cloud_portal_service.svg similarity index 100% rename from war/img/lib/ibm/management/provider_cloud_portal_service.svg rename to src/main/webapp/img/lib/ibm/management/provider_cloud_portal_service.svg diff --git a/war/img/lib/ibm/management/push_notifications.svg b/src/main/webapp/img/lib/ibm/management/push_notifications.svg similarity index 100% rename from war/img/lib/ibm/management/push_notifications.svg rename to src/main/webapp/img/lib/ibm/management/push_notifications.svg diff --git a/war/img/lib/ibm/management/service_management_tools.svg b/src/main/webapp/img/lib/ibm/management/service_management_tools.svg similarity index 100% rename from war/img/lib/ibm/management/service_management_tools.svg rename to src/main/webapp/img/lib/ibm/management/service_management_tools.svg diff --git a/war/img/lib/ibm/miscellaneous/bluemix.svg b/src/main/webapp/img/lib/ibm/miscellaneous/bluemix.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/bluemix.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/bluemix.svg diff --git a/war/img/lib/ibm/miscellaneous/cloudant.svg b/src/main/webapp/img/lib/ibm/miscellaneous/cloudant.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/cloudant.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/cloudant.svg diff --git a/war/img/lib/ibm/miscellaneous/cognitive_services.svg b/src/main/webapp/img/lib/ibm/miscellaneous/cognitive_services.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/cognitive_services.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/cognitive_services.svg diff --git a/war/img/lib/ibm/miscellaneous/ibm_containers.svg b/src/main/webapp/img/lib/ibm/miscellaneous/ibm_containers.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/ibm_containers.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/ibm_containers.svg diff --git a/war/img/lib/ibm/miscellaneous/ibm_public_cloud.svg b/src/main/webapp/img/lib/ibm/miscellaneous/ibm_public_cloud.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/ibm_public_cloud.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/ibm_public_cloud.svg diff --git a/war/img/lib/ibm/miscellaneous/iot_cloud.svg b/src/main/webapp/img/lib/ibm/miscellaneous/iot_cloud.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/iot_cloud.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/iot_cloud.svg diff --git a/war/img/lib/ibm/miscellaneous/microservices_application.svg b/src/main/webapp/img/lib/ibm/miscellaneous/microservices_application.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/microservices_application.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/microservices_application.svg diff --git a/war/img/lib/ibm/miscellaneous/object_storage.svg b/src/main/webapp/img/lib/ibm/miscellaneous/object_storage.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/object_storage.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/object_storage.svg diff --git a/war/img/lib/ibm/miscellaneous/offline_capabilities.svg b/src/main/webapp/img/lib/ibm/miscellaneous/offline_capabilities.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/offline_capabilities.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/offline_capabilities.svg diff --git a/war/img/lib/ibm/miscellaneous/openwhisk.svg b/src/main/webapp/img/lib/ibm/miscellaneous/openwhisk.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/openwhisk.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/openwhisk.svg diff --git a/war/img/lib/ibm/miscellaneous/peer_cloud.svg b/src/main/webapp/img/lib/ibm/miscellaneous/peer_cloud.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/peer_cloud.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/peer_cloud.svg diff --git a/war/img/lib/ibm/miscellaneous/retrieve_rank.svg b/src/main/webapp/img/lib/ibm/miscellaneous/retrieve_rank.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/retrieve_rank.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/retrieve_rank.svg diff --git a/war/img/lib/ibm/miscellaneous/scalable.svg b/src/main/webapp/img/lib/ibm/miscellaneous/scalable.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/scalable.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/scalable.svg diff --git a/war/img/lib/ibm/miscellaneous/text_to_speech.svg b/src/main/webapp/img/lib/ibm/miscellaneous/text_to_speech.svg similarity index 100% rename from war/img/lib/ibm/miscellaneous/text_to_speech.svg rename to src/main/webapp/img/lib/ibm/miscellaneous/text_to_speech.svg diff --git a/war/img/lib/ibm/security/api_security.svg b/src/main/webapp/img/lib/ibm/security/api_security.svg similarity index 100% rename from war/img/lib/ibm/security/api_security.svg rename to src/main/webapp/img/lib/ibm/security/api_security.svg diff --git a/war/img/lib/ibm/security/blockchain_security_service.svg b/src/main/webapp/img/lib/ibm/security/blockchain_security_service.svg similarity index 100% rename from war/img/lib/ibm/security/blockchain_security_service.svg rename to src/main/webapp/img/lib/ibm/security/blockchain_security_service.svg diff --git a/war/img/lib/ibm/security/data_security.svg b/src/main/webapp/img/lib/ibm/security/data_security.svg similarity index 100% rename from war/img/lib/ibm/security/data_security.svg rename to src/main/webapp/img/lib/ibm/security/data_security.svg diff --git a/war/img/lib/ibm/security/firewall.svg b/src/main/webapp/img/lib/ibm/security/firewall.svg similarity index 100% rename from war/img/lib/ibm/security/firewall.svg rename to src/main/webapp/img/lib/ibm/security/firewall.svg diff --git a/war/img/lib/ibm/security/gateway.svg b/src/main/webapp/img/lib/ibm/security/gateway.svg similarity index 100% rename from war/img/lib/ibm/security/gateway.svg rename to src/main/webapp/img/lib/ibm/security/gateway.svg diff --git a/war/img/lib/ibm/security/governance_risk_compliance.svg b/src/main/webapp/img/lib/ibm/security/governance_risk_compliance.svg similarity index 100% rename from war/img/lib/ibm/security/governance_risk_compliance.svg rename to src/main/webapp/img/lib/ibm/security/governance_risk_compliance.svg diff --git a/war/img/lib/ibm/security/identity_access_management.svg b/src/main/webapp/img/lib/ibm/security/identity_access_management.svg similarity index 100% rename from war/img/lib/ibm/security/identity_access_management.svg rename to src/main/webapp/img/lib/ibm/security/identity_access_management.svg diff --git a/war/img/lib/ibm/security/identity_provider.svg b/src/main/webapp/img/lib/ibm/security/identity_provider.svg similarity index 100% rename from war/img/lib/ibm/security/identity_provider.svg rename to src/main/webapp/img/lib/ibm/security/identity_provider.svg diff --git a/war/img/lib/ibm/security/infrastructure_security.svg b/src/main/webapp/img/lib/ibm/security/infrastructure_security.svg similarity index 100% rename from war/img/lib/ibm/security/infrastructure_security.svg rename to src/main/webapp/img/lib/ibm/security/infrastructure_security.svg diff --git a/war/img/lib/ibm/security/physical_security.svg b/src/main/webapp/img/lib/ibm/security/physical_security.svg similarity index 100% rename from war/img/lib/ibm/security/physical_security.svg rename to src/main/webapp/img/lib/ibm/security/physical_security.svg diff --git a/war/img/lib/ibm/security/security_monitoring_intelligence.svg b/src/main/webapp/img/lib/ibm/security/security_monitoring_intelligence.svg similarity index 100% rename from war/img/lib/ibm/security/security_monitoring_intelligence.svg rename to src/main/webapp/img/lib/ibm/security/security_monitoring_intelligence.svg diff --git a/war/img/lib/ibm/security/security_services.svg b/src/main/webapp/img/lib/ibm/security/security_services.svg similarity index 100% rename from war/img/lib/ibm/security/security_services.svg rename to src/main/webapp/img/lib/ibm/security/security_services.svg diff --git a/war/img/lib/ibm/security/trustend_computing.svg b/src/main/webapp/img/lib/ibm/security/trustend_computing.svg similarity index 100% rename from war/img/lib/ibm/security/trustend_computing.svg rename to src/main/webapp/img/lib/ibm/security/trustend_computing.svg diff --git a/war/img/lib/ibm/security/vpn.svg b/src/main/webapp/img/lib/ibm/security/vpn.svg similarity index 100% rename from war/img/lib/ibm/security/vpn.svg rename to src/main/webapp/img/lib/ibm/security/vpn.svg diff --git a/war/img/lib/ibm/social/communities.svg b/src/main/webapp/img/lib/ibm/social/communities.svg similarity index 100% rename from war/img/lib/ibm/social/communities.svg rename to src/main/webapp/img/lib/ibm/social/communities.svg diff --git a/war/img/lib/ibm/social/file_sync.svg b/src/main/webapp/img/lib/ibm/social/file_sync.svg similarity index 100% rename from war/img/lib/ibm/social/file_sync.svg rename to src/main/webapp/img/lib/ibm/social/file_sync.svg diff --git a/war/img/lib/ibm/social/live_collaboration.svg b/src/main/webapp/img/lib/ibm/social/live_collaboration.svg similarity index 100% rename from war/img/lib/ibm/social/live_collaboration.svg rename to src/main/webapp/img/lib/ibm/social/live_collaboration.svg diff --git a/war/img/lib/ibm/social/messaging.svg b/src/main/webapp/img/lib/ibm/social/messaging.svg similarity index 100% rename from war/img/lib/ibm/social/messaging.svg rename to src/main/webapp/img/lib/ibm/social/messaging.svg diff --git a/war/img/lib/ibm/social/networking.svg b/src/main/webapp/img/lib/ibm/social/networking.svg similarity index 100% rename from war/img/lib/ibm/social/networking.svg rename to src/main/webapp/img/lib/ibm/social/networking.svg diff --git a/war/img/lib/ibm/users/browser.svg b/src/main/webapp/img/lib/ibm/users/browser.svg similarity index 100% rename from war/img/lib/ibm/users/browser.svg rename to src/main/webapp/img/lib/ibm/users/browser.svg diff --git a/war/img/lib/ibm/users/device.svg b/src/main/webapp/img/lib/ibm/users/device.svg similarity index 100% rename from war/img/lib/ibm/users/device.svg rename to src/main/webapp/img/lib/ibm/users/device.svg diff --git a/war/img/lib/ibm/users/integrated_digital_experiences.svg b/src/main/webapp/img/lib/ibm/users/integrated_digital_experiences.svg similarity index 100% rename from war/img/lib/ibm/users/integrated_digital_experiences.svg rename to src/main/webapp/img/lib/ibm/users/integrated_digital_experiences.svg diff --git a/war/img/lib/ibm/users/physical_entity.svg b/src/main/webapp/img/lib/ibm/users/physical_entity.svg similarity index 100% rename from war/img/lib/ibm/users/physical_entity.svg rename to src/main/webapp/img/lib/ibm/users/physical_entity.svg diff --git a/war/img/lib/ibm/users/sensor.svg b/src/main/webapp/img/lib/ibm/users/sensor.svg similarity index 100% rename from war/img/lib/ibm/users/sensor.svg rename to src/main/webapp/img/lib/ibm/users/sensor.svg diff --git a/war/img/lib/ibm/users/user.svg b/src/main/webapp/img/lib/ibm/users/user.svg similarity index 100% rename from war/img/lib/ibm/users/user.svg rename to src/main/webapp/img/lib/ibm/users/user.svg diff --git a/war/img/networking/Bridge_128x128.png b/src/main/webapp/img/networking/Bridge_128x128.png similarity index 100% rename from war/img/networking/Bridge_128x128.png rename to src/main/webapp/img/networking/Bridge_128x128.png diff --git a/war/img/networking/Certificate_128x128.png b/src/main/webapp/img/networking/Certificate_128x128.png similarity index 100% rename from war/img/networking/Certificate_128x128.png rename to src/main/webapp/img/networking/Certificate_128x128.png diff --git a/war/img/networking/Certificate_Off_128x128.png b/src/main/webapp/img/networking/Certificate_Off_128x128.png similarity index 100% rename from war/img/networking/Certificate_Off_128x128.png rename to src/main/webapp/img/networking/Certificate_Off_128x128.png diff --git a/war/img/networking/Cloud_128x128.png b/src/main/webapp/img/networking/Cloud_128x128.png similarity index 100% rename from war/img/networking/Cloud_128x128.png rename to src/main/webapp/img/networking/Cloud_128x128.png diff --git a/war/img/networking/Cloud_Computer_128x128.png b/src/main/webapp/img/networking/Cloud_Computer_128x128.png similarity index 100% rename from war/img/networking/Cloud_Computer_128x128.png rename to src/main/webapp/img/networking/Cloud_Computer_128x128.png diff --git a/war/img/networking/Cloud_Computer_Private_128x128.png b/src/main/webapp/img/networking/Cloud_Computer_Private_128x128.png similarity index 100% rename from war/img/networking/Cloud_Computer_Private_128x128.png rename to src/main/webapp/img/networking/Cloud_Computer_Private_128x128.png diff --git a/war/img/networking/Cloud_Rack_128x128.png b/src/main/webapp/img/networking/Cloud_Rack_128x128.png similarity index 100% rename from war/img/networking/Cloud_Rack_128x128.png rename to src/main/webapp/img/networking/Cloud_Rack_128x128.png diff --git a/war/img/networking/Cloud_Rack_Private_128x128.png b/src/main/webapp/img/networking/Cloud_Rack_Private_128x128.png similarity index 100% rename from war/img/networking/Cloud_Rack_Private_128x128.png rename to src/main/webapp/img/networking/Cloud_Rack_Private_128x128.png diff --git a/war/img/networking/Cloud_Server_128x128.png b/src/main/webapp/img/networking/Cloud_Server_128x128.png similarity index 100% rename from war/img/networking/Cloud_Server_128x128.png rename to src/main/webapp/img/networking/Cloud_Server_128x128.png diff --git a/war/img/networking/Cloud_Server_Private_128x128.png b/src/main/webapp/img/networking/Cloud_Server_Private_128x128.png similarity index 100% rename from war/img/networking/Cloud_Server_Private_128x128.png rename to src/main/webapp/img/networking/Cloud_Server_Private_128x128.png diff --git a/war/img/networking/Cloud_Storage_128x128.png b/src/main/webapp/img/networking/Cloud_Storage_128x128.png similarity index 100% rename from war/img/networking/Cloud_Storage_128x128.png rename to src/main/webapp/img/networking/Cloud_Storage_128x128.png diff --git a/war/img/networking/Concentrator_128x128.png b/src/main/webapp/img/networking/Concentrator_128x128.png similarity index 100% rename from war/img/networking/Concentrator_128x128.png rename to src/main/webapp/img/networking/Concentrator_128x128.png diff --git a/war/img/networking/Data_Filtering_128x128.png b/src/main/webapp/img/networking/Data_Filtering_128x128.png similarity index 100% rename from war/img/networking/Data_Filtering_128x128.png rename to src/main/webapp/img/networking/Data_Filtering_128x128.png diff --git a/war/img/networking/Database_128x128.png b/src/main/webapp/img/networking/Database_128x128.png similarity index 100% rename from war/img/networking/Database_128x128.png rename to src/main/webapp/img/networking/Database_128x128.png diff --git a/war/img/networking/Database_Add_128x128.png b/src/main/webapp/img/networking/Database_Add_128x128.png similarity index 100% rename from war/img/networking/Database_Add_128x128.png rename to src/main/webapp/img/networking/Database_Add_128x128.png diff --git a/war/img/networking/Database_Minus_128x128.png b/src/main/webapp/img/networking/Database_Minus_128x128.png similarity index 100% rename from war/img/networking/Database_Minus_128x128.png rename to src/main/webapp/img/networking/Database_Minus_128x128.png diff --git a/war/img/networking/Database_Move_Stack_128x128.png b/src/main/webapp/img/networking/Database_Move_Stack_128x128.png similarity index 100% rename from war/img/networking/Database_Move_Stack_128x128.png rename to src/main/webapp/img/networking/Database_Move_Stack_128x128.png diff --git a/war/img/networking/Database_Remove_128x128.png b/src/main/webapp/img/networking/Database_Remove_128x128.png similarity index 100% rename from war/img/networking/Database_Remove_128x128.png rename to src/main/webapp/img/networking/Database_Remove_128x128.png diff --git a/war/img/networking/Email_128x128.png b/src/main/webapp/img/networking/Email_128x128.png similarity index 100% rename from war/img/networking/Email_128x128.png rename to src/main/webapp/img/networking/Email_128x128.png diff --git a/war/img/networking/Firewall-page1_128x128.png b/src/main/webapp/img/networking/Firewall-page1_128x128.png similarity index 100% rename from war/img/networking/Firewall-page1_128x128.png rename to src/main/webapp/img/networking/Firewall-page1_128x128.png diff --git a/war/img/networking/Firewall_02_128x128.png b/src/main/webapp/img/networking/Firewall_02_128x128.png similarity index 100% rename from war/img/networking/Firewall_02_128x128.png rename to src/main/webapp/img/networking/Firewall_02_128x128.png diff --git a/war/img/networking/Firewall_128x128.png b/src/main/webapp/img/networking/Firewall_128x128.png similarity index 100% rename from war/img/networking/Firewall_128x128.png rename to src/main/webapp/img/networking/Firewall_128x128.png diff --git a/war/img/networking/Ip_Camera_128x128.png b/src/main/webapp/img/networking/Ip_Camera_128x128.png similarity index 100% rename from war/img/networking/Ip_Camera_128x128.png rename to src/main/webapp/img/networking/Ip_Camera_128x128.png diff --git a/war/img/networking/Mainframe_128x128.png b/src/main/webapp/img/networking/Mainframe_128x128.png similarity index 100% rename from war/img/networking/Mainframe_128x128.png rename to src/main/webapp/img/networking/Mainframe_128x128.png diff --git a/war/img/networking/Modem_128x128.png b/src/main/webapp/img/networking/Modem_128x128.png similarity index 100% rename from war/img/networking/Modem_128x128.png rename to src/main/webapp/img/networking/Modem_128x128.png diff --git a/war/img/networking/Print_Server_128x128.png b/src/main/webapp/img/networking/Print_Server_128x128.png similarity index 100% rename from war/img/networking/Print_Server_128x128.png rename to src/main/webapp/img/networking/Print_Server_128x128.png diff --git a/war/img/networking/Print_Server_Wireless_128x128.png b/src/main/webapp/img/networking/Print_Server_Wireless_128x128.png similarity index 100% rename from war/img/networking/Print_Server_Wireless_128x128.png rename to src/main/webapp/img/networking/Print_Server_Wireless_128x128.png diff --git a/war/img/networking/Repeater_128x128.png b/src/main/webapp/img/networking/Repeater_128x128.png similarity index 100% rename from war/img/networking/Repeater_128x128.png rename to src/main/webapp/img/networking/Repeater_128x128.png diff --git a/war/img/networking/Router_128x128.png b/src/main/webapp/img/networking/Router_128x128.png similarity index 100% rename from war/img/networking/Router_128x128.png rename to src/main/webapp/img/networking/Router_128x128.png diff --git a/war/img/networking/Router_Icon_128x128.png b/src/main/webapp/img/networking/Router_Icon_128x128.png similarity index 100% rename from war/img/networking/Router_Icon_128x128.png rename to src/main/webapp/img/networking/Router_Icon_128x128.png diff --git a/war/img/networking/Server_128x128.png b/src/main/webapp/img/networking/Server_128x128.png similarity index 100% rename from war/img/networking/Server_128x128.png rename to src/main/webapp/img/networking/Server_128x128.png diff --git a/war/img/networking/Server_Rack_128x128.png b/src/main/webapp/img/networking/Server_Rack_128x128.png similarity index 100% rename from war/img/networking/Server_Rack_128x128.png rename to src/main/webapp/img/networking/Server_Rack_128x128.png diff --git a/war/img/networking/Server_Rack_Empty_128x128.png b/src/main/webapp/img/networking/Server_Rack_Empty_128x128.png similarity index 100% rename from war/img/networking/Server_Rack_Empty_128x128.png rename to src/main/webapp/img/networking/Server_Rack_Empty_128x128.png diff --git a/war/img/networking/Server_Rack_Partial_128x128.png b/src/main/webapp/img/networking/Server_Rack_Partial_128x128.png similarity index 100% rename from war/img/networking/Server_Rack_Partial_128x128.png rename to src/main/webapp/img/networking/Server_Rack_Partial_128x128.png diff --git a/war/img/networking/Switch_128x128.png b/src/main/webapp/img/networking/Switch_128x128.png similarity index 100% rename from war/img/networking/Switch_128x128.png rename to src/main/webapp/img/networking/Switch_128x128.png diff --git a/war/img/networking/UPS_128x128.png b/src/main/webapp/img/networking/UPS_128x128.png similarity index 100% rename from war/img/networking/UPS_128x128.png rename to src/main/webapp/img/networking/UPS_128x128.png diff --git a/war/img/networking/Wireless_Router_128x128.png b/src/main/webapp/img/networking/Wireless_Router_128x128.png similarity index 100% rename from war/img/networking/Wireless_Router_128x128.png rename to src/main/webapp/img/networking/Wireless_Router_128x128.png diff --git a/war/img/networking/Wireless_Router_N_128x128.png b/src/main/webapp/img/networking/Wireless_Router_N_128x128.png similarity index 100% rename from war/img/networking/Wireless_Router_N_128x128.png rename to src/main/webapp/img/networking/Wireless_Router_N_128x128.png diff --git a/war/img/networking/power_distribution_unit_128x128.png b/src/main/webapp/img/networking/power_distribution_unit_128x128.png similarity index 100% rename from war/img/networking/power_distribution_unit_128x128.png rename to src/main/webapp/img/networking/power_distribution_unit_128x128.png diff --git a/war/img/people/Construction_Worker_Man_128x128.png b/src/main/webapp/img/people/Construction_Worker_Man_128x128.png similarity index 100% rename from war/img/people/Construction_Worker_Man_128x128.png rename to src/main/webapp/img/people/Construction_Worker_Man_128x128.png diff --git a/war/img/people/Construction_Worker_Man_Black_128x128.png b/src/main/webapp/img/people/Construction_Worker_Man_Black_128x128.png similarity index 100% rename from war/img/people/Construction_Worker_Man_Black_128x128.png rename to src/main/webapp/img/people/Construction_Worker_Man_Black_128x128.png diff --git a/war/img/people/Construction_Worker_Woman_128x128.png b/src/main/webapp/img/people/Construction_Worker_Woman_128x128.png similarity index 100% rename from war/img/people/Construction_Worker_Woman_128x128.png rename to src/main/webapp/img/people/Construction_Worker_Woman_128x128.png diff --git a/war/img/people/Construction_Worker_Woman_Black_128x128.png b/src/main/webapp/img/people/Construction_Worker_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Construction_Worker_Woman_Black_128x128.png rename to src/main/webapp/img/people/Construction_Worker_Woman_Black_128x128.png diff --git a/war/img/people/Doctor_Man_128x128.png b/src/main/webapp/img/people/Doctor_Man_128x128.png similarity index 100% rename from war/img/people/Doctor_Man_128x128.png rename to src/main/webapp/img/people/Doctor_Man_128x128.png diff --git a/war/img/people/Doctor_Man_Black_128x128.png b/src/main/webapp/img/people/Doctor_Man_Black_128x128.png similarity index 100% rename from war/img/people/Doctor_Man_Black_128x128.png rename to src/main/webapp/img/people/Doctor_Man_Black_128x128.png diff --git a/war/img/people/Doctor_Woman_128x128.png b/src/main/webapp/img/people/Doctor_Woman_128x128.png similarity index 100% rename from war/img/people/Doctor_Woman_128x128.png rename to src/main/webapp/img/people/Doctor_Woman_128x128.png diff --git a/war/img/people/Doctor_Woman_Black_128x128.png b/src/main/webapp/img/people/Doctor_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Doctor_Woman_Black_128x128.png rename to src/main/webapp/img/people/Doctor_Woman_Black_128x128.png diff --git a/war/img/people/Farmer_Man_128x128.png b/src/main/webapp/img/people/Farmer_Man_128x128.png similarity index 100% rename from war/img/people/Farmer_Man_128x128.png rename to src/main/webapp/img/people/Farmer_Man_128x128.png diff --git a/war/img/people/Farmer_Man_Black_128x128.png b/src/main/webapp/img/people/Farmer_Man_Black_128x128.png similarity index 100% rename from war/img/people/Farmer_Man_Black_128x128.png rename to src/main/webapp/img/people/Farmer_Man_Black_128x128.png diff --git a/war/img/people/Farmer_Woman_128x128.png b/src/main/webapp/img/people/Farmer_Woman_128x128.png similarity index 100% rename from war/img/people/Farmer_Woman_128x128.png rename to src/main/webapp/img/people/Farmer_Woman_128x128.png diff --git a/war/img/people/Farmer_Woman_Black_128x128.png b/src/main/webapp/img/people/Farmer_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Farmer_Woman_Black_128x128.png rename to src/main/webapp/img/people/Farmer_Woman_Black_128x128.png diff --git a/war/img/people/Military_Officer_128x128.png b/src/main/webapp/img/people/Military_Officer_128x128.png similarity index 100% rename from war/img/people/Military_Officer_128x128.png rename to src/main/webapp/img/people/Military_Officer_128x128.png diff --git a/war/img/people/Military_Officer_Black_128x128.png b/src/main/webapp/img/people/Military_Officer_Black_128x128.png similarity index 100% rename from war/img/people/Military_Officer_Black_128x128.png rename to src/main/webapp/img/people/Military_Officer_Black_128x128.png diff --git a/war/img/people/Military_Officer_Woman_128x128.png b/src/main/webapp/img/people/Military_Officer_Woman_128x128.png similarity index 100% rename from war/img/people/Military_Officer_Woman_128x128.png rename to src/main/webapp/img/people/Military_Officer_Woman_128x128.png diff --git a/war/img/people/Military_Officer_Woman_Black_128x128.png b/src/main/webapp/img/people/Military_Officer_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Military_Officer_Woman_Black_128x128.png rename to src/main/webapp/img/people/Military_Officer_Woman_Black_128x128.png diff --git a/war/img/people/Nurse_Man_128x128.png b/src/main/webapp/img/people/Nurse_Man_128x128.png similarity index 100% rename from war/img/people/Nurse_Man_128x128.png rename to src/main/webapp/img/people/Nurse_Man_128x128.png diff --git a/war/img/people/Nurse_Man_Black_128x128.png b/src/main/webapp/img/people/Nurse_Man_Black_128x128.png similarity index 100% rename from war/img/people/Nurse_Man_Black_128x128.png rename to src/main/webapp/img/people/Nurse_Man_Black_128x128.png diff --git a/war/img/people/Nurse_Man_Green_128x128.png b/src/main/webapp/img/people/Nurse_Man_Green_128x128.png similarity index 100% rename from war/img/people/Nurse_Man_Green_128x128.png rename to src/main/webapp/img/people/Nurse_Man_Green_128x128.png diff --git a/war/img/people/Nurse_Man_Red_128x128.png b/src/main/webapp/img/people/Nurse_Man_Red_128x128.png similarity index 100% rename from war/img/people/Nurse_Man_Red_128x128.png rename to src/main/webapp/img/people/Nurse_Man_Red_128x128.png diff --git a/war/img/people/Nurse_Woman_128x128.png b/src/main/webapp/img/people/Nurse_Woman_128x128.png similarity index 100% rename from war/img/people/Nurse_Woman_128x128.png rename to src/main/webapp/img/people/Nurse_Woman_128x128.png diff --git a/war/img/people/Nurse_Woman_Black_128x128.png b/src/main/webapp/img/people/Nurse_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Nurse_Woman_Black_128x128.png rename to src/main/webapp/img/people/Nurse_Woman_Black_128x128.png diff --git a/war/img/people/Nurse_Woman_Green_128x128.png b/src/main/webapp/img/people/Nurse_Woman_Green_128x128.png similarity index 100% rename from war/img/people/Nurse_Woman_Green_128x128.png rename to src/main/webapp/img/people/Nurse_Woman_Green_128x128.png diff --git a/war/img/people/Nurse_Woman_Red_128x128.png b/src/main/webapp/img/people/Nurse_Woman_Red_128x128.png similarity index 100% rename from war/img/people/Nurse_Woman_Red_128x128.png rename to src/main/webapp/img/people/Nurse_Woman_Red_128x128.png diff --git a/war/img/people/Pilot_Man_128x128.png b/src/main/webapp/img/people/Pilot_Man_128x128.png similarity index 100% rename from war/img/people/Pilot_Man_128x128.png rename to src/main/webapp/img/people/Pilot_Man_128x128.png diff --git a/war/img/people/Pilot_Man_Black_128x128.png b/src/main/webapp/img/people/Pilot_Man_Black_128x128.png similarity index 100% rename from war/img/people/Pilot_Man_Black_128x128.png rename to src/main/webapp/img/people/Pilot_Man_Black_128x128.png diff --git a/war/img/people/Pilot_Woman_128x128.png b/src/main/webapp/img/people/Pilot_Woman_128x128.png similarity index 100% rename from war/img/people/Pilot_Woman_128x128.png rename to src/main/webapp/img/people/Pilot_Woman_128x128.png diff --git a/war/img/people/Pilot_Woman_Black_128x128.png b/src/main/webapp/img/people/Pilot_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Pilot_Woman_Black_128x128.png rename to src/main/webapp/img/people/Pilot_Woman_Black_128x128.png diff --git a/war/img/people/Scientist_Man_128x128.png b/src/main/webapp/img/people/Scientist_Man_128x128.png similarity index 100% rename from war/img/people/Scientist_Man_128x128.png rename to src/main/webapp/img/people/Scientist_Man_128x128.png diff --git a/war/img/people/Scientist_Man_Black_128x128.png b/src/main/webapp/img/people/Scientist_Man_Black_128x128.png similarity index 100% rename from war/img/people/Scientist_Man_Black_128x128.png rename to src/main/webapp/img/people/Scientist_Man_Black_128x128.png diff --git a/war/img/people/Scientist_Woman_128x128.png b/src/main/webapp/img/people/Scientist_Woman_128x128.png similarity index 100% rename from war/img/people/Scientist_Woman_128x128.png rename to src/main/webapp/img/people/Scientist_Woman_128x128.png diff --git a/war/img/people/Scientist_Woman_Black_128x128.png b/src/main/webapp/img/people/Scientist_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Scientist_Woman_Black_128x128.png rename to src/main/webapp/img/people/Scientist_Woman_Black_128x128.png diff --git a/war/img/people/Security_Man_128x128.png b/src/main/webapp/img/people/Security_Man_128x128.png similarity index 100% rename from war/img/people/Security_Man_128x128.png rename to src/main/webapp/img/people/Security_Man_128x128.png diff --git a/war/img/people/Security_Man_Black_128x128.png b/src/main/webapp/img/people/Security_Man_Black_128x128.png similarity index 100% rename from war/img/people/Security_Man_Black_128x128.png rename to src/main/webapp/img/people/Security_Man_Black_128x128.png diff --git a/war/img/people/Security_Woman_128x128.png b/src/main/webapp/img/people/Security_Woman_128x128.png similarity index 100% rename from war/img/people/Security_Woman_128x128.png rename to src/main/webapp/img/people/Security_Woman_128x128.png diff --git a/war/img/people/Security_Woman_Black_128x128.png b/src/main/webapp/img/people/Security_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Security_Woman_Black_128x128.png rename to src/main/webapp/img/people/Security_Woman_Black_128x128.png diff --git a/war/img/people/Soldier_128x128.png b/src/main/webapp/img/people/Soldier_128x128.png similarity index 100% rename from war/img/people/Soldier_128x128.png rename to src/main/webapp/img/people/Soldier_128x128.png diff --git a/war/img/people/Soldier_Black_128x128.png b/src/main/webapp/img/people/Soldier_Black_128x128.png similarity index 100% rename from war/img/people/Soldier_Black_128x128.png rename to src/main/webapp/img/people/Soldier_Black_128x128.png diff --git a/war/img/people/Suit_Man_128x128.png b/src/main/webapp/img/people/Suit_Man_128x128.png similarity index 100% rename from war/img/people/Suit_Man_128x128.png rename to src/main/webapp/img/people/Suit_Man_128x128.png diff --git a/war/img/people/Suit_Man_Black_128x128.png b/src/main/webapp/img/people/Suit_Man_Black_128x128.png similarity index 100% rename from war/img/people/Suit_Man_Black_128x128.png rename to src/main/webapp/img/people/Suit_Man_Black_128x128.png diff --git a/war/img/people/Suit_Man_Blue_128x128.png b/src/main/webapp/img/people/Suit_Man_Blue_128x128.png similarity index 100% rename from war/img/people/Suit_Man_Blue_128x128.png rename to src/main/webapp/img/people/Suit_Man_Blue_128x128.png diff --git a/war/img/people/Suit_Man_Green_128x128.png b/src/main/webapp/img/people/Suit_Man_Green_128x128.png similarity index 100% rename from war/img/people/Suit_Man_Green_128x128.png rename to src/main/webapp/img/people/Suit_Man_Green_128x128.png diff --git a/war/img/people/Suit_Man_Green_Black_128x128.png b/src/main/webapp/img/people/Suit_Man_Green_Black_128x128.png similarity index 100% rename from war/img/people/Suit_Man_Green_Black_128x128.png rename to src/main/webapp/img/people/Suit_Man_Green_Black_128x128.png diff --git a/war/img/people/Suit_Woman_128x128.png b/src/main/webapp/img/people/Suit_Woman_128x128.png similarity index 100% rename from war/img/people/Suit_Woman_128x128.png rename to src/main/webapp/img/people/Suit_Woman_128x128.png diff --git a/war/img/people/Suit_Woman_Black_128x128.png b/src/main/webapp/img/people/Suit_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Suit_Woman_Black_128x128.png rename to src/main/webapp/img/people/Suit_Woman_Black_128x128.png diff --git a/war/img/people/Suit_Woman_Blue_128x128.png b/src/main/webapp/img/people/Suit_Woman_Blue_128x128.png similarity index 100% rename from war/img/people/Suit_Woman_Blue_128x128.png rename to src/main/webapp/img/people/Suit_Woman_Blue_128x128.png diff --git a/war/img/people/Suit_Woman_Green_128x128.png b/src/main/webapp/img/people/Suit_Woman_Green_128x128.png similarity index 100% rename from war/img/people/Suit_Woman_Green_128x128.png rename to src/main/webapp/img/people/Suit_Woman_Green_128x128.png diff --git a/war/img/people/Suit_Woman_Green_Black_128x128.png b/src/main/webapp/img/people/Suit_Woman_Green_Black_128x128.png similarity index 100% rename from war/img/people/Suit_Woman_Green_Black_128x128.png rename to src/main/webapp/img/people/Suit_Woman_Green_Black_128x128.png diff --git a/war/img/people/Tech_Man_128x128.png b/src/main/webapp/img/people/Tech_Man_128x128.png similarity index 100% rename from war/img/people/Tech_Man_128x128.png rename to src/main/webapp/img/people/Tech_Man_128x128.png diff --git a/war/img/people/Tech_Man_Black_128x128.png b/src/main/webapp/img/people/Tech_Man_Black_128x128.png similarity index 100% rename from war/img/people/Tech_Man_Black_128x128.png rename to src/main/webapp/img/people/Tech_Man_Black_128x128.png diff --git a/war/img/people/Telesales_Man_128x128.png b/src/main/webapp/img/people/Telesales_Man_128x128.png similarity index 100% rename from war/img/people/Telesales_Man_128x128.png rename to src/main/webapp/img/people/Telesales_Man_128x128.png diff --git a/war/img/people/Telesales_Man_Black_128x128.png b/src/main/webapp/img/people/Telesales_Man_Black_128x128.png similarity index 100% rename from war/img/people/Telesales_Man_Black_128x128.png rename to src/main/webapp/img/people/Telesales_Man_Black_128x128.png diff --git a/war/img/people/Telesales_Woman_128x128.png b/src/main/webapp/img/people/Telesales_Woman_128x128.png similarity index 100% rename from war/img/people/Telesales_Woman_128x128.png rename to src/main/webapp/img/people/Telesales_Woman_128x128.png diff --git a/war/img/people/Telesales_Woman_Black_128x128.png b/src/main/webapp/img/people/Telesales_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Telesales_Woman_Black_128x128.png rename to src/main/webapp/img/people/Telesales_Woman_Black_128x128.png diff --git a/war/img/people/Waiter_128x128.png b/src/main/webapp/img/people/Waiter_128x128.png similarity index 100% rename from war/img/people/Waiter_128x128.png rename to src/main/webapp/img/people/Waiter_128x128.png diff --git a/war/img/people/Waiter_Black_128x128.png b/src/main/webapp/img/people/Waiter_Black_128x128.png similarity index 100% rename from war/img/people/Waiter_Black_128x128.png rename to src/main/webapp/img/people/Waiter_Black_128x128.png diff --git a/war/img/people/Waiter_Woman_128x128.png b/src/main/webapp/img/people/Waiter_Woman_128x128.png similarity index 100% rename from war/img/people/Waiter_Woman_128x128.png rename to src/main/webapp/img/people/Waiter_Woman_128x128.png diff --git a/war/img/people/Waiter_Woman_Black_128x128.png b/src/main/webapp/img/people/Waiter_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Waiter_Woman_Black_128x128.png rename to src/main/webapp/img/people/Waiter_Woman_Black_128x128.png diff --git a/war/img/people/Worker_Black_128x128.png b/src/main/webapp/img/people/Worker_Black_128x128.png similarity index 100% rename from war/img/people/Worker_Black_128x128.png rename to src/main/webapp/img/people/Worker_Black_128x128.png diff --git a/war/img/people/Worker_Man_128x128.png b/src/main/webapp/img/people/Worker_Man_128x128.png similarity index 100% rename from war/img/people/Worker_Man_128x128.png rename to src/main/webapp/img/people/Worker_Man_128x128.png diff --git a/war/img/people/Worker_Woman_128x128.png b/src/main/webapp/img/people/Worker_Woman_128x128.png similarity index 100% rename from war/img/people/Worker_Woman_128x128.png rename to src/main/webapp/img/people/Worker_Woman_128x128.png diff --git a/war/img/people/Worker_Woman_Black_128x128.png b/src/main/webapp/img/people/Worker_Woman_Black_128x128.png similarity index 100% rename from war/img/people/Worker_Woman_Black_128x128.png rename to src/main/webapp/img/people/Worker_Woman_Black_128x128.png diff --git a/war/img/telecommunication/Battery_0_128x128.png b/src/main/webapp/img/telecommunication/Battery_0_128x128.png similarity index 100% rename from war/img/telecommunication/Battery_0_128x128.png rename to src/main/webapp/img/telecommunication/Battery_0_128x128.png diff --git a/war/img/telecommunication/Battery_100_128x128.png b/src/main/webapp/img/telecommunication/Battery_100_128x128.png similarity index 100% rename from war/img/telecommunication/Battery_100_128x128.png rename to src/main/webapp/img/telecommunication/Battery_100_128x128.png diff --git a/war/img/telecommunication/Battery_50_128x128.png b/src/main/webapp/img/telecommunication/Battery_50_128x128.png similarity index 100% rename from war/img/telecommunication/Battery_50_128x128.png rename to src/main/webapp/img/telecommunication/Battery_50_128x128.png diff --git a/war/img/telecommunication/Battery_75_128x128.png b/src/main/webapp/img/telecommunication/Battery_75_128x128.png similarity index 100% rename from war/img/telecommunication/Battery_75_128x128.png rename to src/main/webapp/img/telecommunication/Battery_75_128x128.png diff --git a/war/img/telecommunication/Battery_allstates_128x128.png b/src/main/webapp/img/telecommunication/Battery_allstates_128x128.png similarity index 100% rename from war/img/telecommunication/Battery_allstates_128x128.png rename to src/main/webapp/img/telecommunication/Battery_allstates_128x128.png diff --git a/war/img/telecommunication/BlackBerry_128x128.png b/src/main/webapp/img/telecommunication/BlackBerry_128x128.png similarity index 100% rename from war/img/telecommunication/BlackBerry_128x128.png rename to src/main/webapp/img/telecommunication/BlackBerry_128x128.png diff --git a/war/img/telecommunication/Cellphone_128x128.png b/src/main/webapp/img/telecommunication/Cellphone_128x128.png similarity index 100% rename from war/img/telecommunication/Cellphone_128x128.png rename to src/main/webapp/img/telecommunication/Cellphone_128x128.png diff --git a/war/img/telecommunication/HTC_smartphone_128x128.png b/src/main/webapp/img/telecommunication/HTC_smartphone_128x128.png similarity index 100% rename from war/img/telecommunication/HTC_smartphone_128x128.png rename to src/main/webapp/img/telecommunication/HTC_smartphone_128x128.png diff --git a/war/img/telecommunication/Palm_Treo_128x128.png b/src/main/webapp/img/telecommunication/Palm_Treo_128x128.png similarity index 100% rename from war/img/telecommunication/Palm_Treo_128x128.png rename to src/main/webapp/img/telecommunication/Palm_Treo_128x128.png diff --git a/war/img/telecommunication/Signal_tower_off_128x128.png b/src/main/webapp/img/telecommunication/Signal_tower_off_128x128.png similarity index 100% rename from war/img/telecommunication/Signal_tower_off_128x128.png rename to src/main/webapp/img/telecommunication/Signal_tower_off_128x128.png diff --git a/war/img/telecommunication/Signal_tower_on_128x128.png b/src/main/webapp/img/telecommunication/Signal_tower_on_128x128.png similarity index 100% rename from war/img/telecommunication/Signal_tower_on_128x128.png rename to src/main/webapp/img/telecommunication/Signal_tower_on_128x128.png diff --git a/war/img/telecommunication/iPhone_128x128.png b/src/main/webapp/img/telecommunication/iPhone_128x128.png similarity index 100% rename from war/img/telecommunication/iPhone_128x128.png rename to src/main/webapp/img/telecommunication/iPhone_128x128.png diff --git a/war/index.html b/src/main/webapp/index.html similarity index 100% rename from war/index.html rename to src/main/webapp/index.html diff --git a/war/js/app.min.js b/src/main/webapp/js/app.min.js similarity index 99% rename from war/js/app.min.js rename to src/main/webapp/js/app.min.js index c2e471c1f..8ea97891c 100644 --- a/war/js/app.min.js +++ b/src/main/webapp/js/app.min.js @@ -6534,7 +6534,7 @@ mxEvent.addListener(R,"focus",function(){N.checked=!0});mxEvent.addListener(V,"f "12px";mxUtils.write(e,mxResources.get("paperSize"));k.appendChild(e);e=document.createElement("div");e.style.marginBottom="12px";var T=PageSetupDialog.addPageFormatPanel(e,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);k.appendChild(e);e=document.createElement("span");mxUtils.write(e,mxResources.get("pageScale"));k.appendChild(e);var U=document.createElement("input");U.style.cssText="margin:0 8px 0 8px;";U.setAttribute("value","100 %");U.style.width="60px";k.appendChild(U); h.appendChild(k);e=document.createElement("div");e.style.cssText="text-align:right;margin:62px 0 0 0;";k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&e.appendChild(k);a.isOffline()||(p=mxUtils.button(mxResources.get("help"),function(){window.open("https://desk.draw.io/support/solutions/articles/16000048947")}),p.className="geBtn",e.appendChild(p));PrintDialog.previewEnabled&&(p=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog(); d(!1)}),p.className="geBtn",e.appendChild(p));p=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();d(!0)});p.className="geBtn gePrimaryBtn";e.appendChild(p);a.editor.cancelFirst||e.appendChild(k);h.appendChild(e);this.container=h}})();function ChangeShadow(a,b){this.ui=a;this.previous=this.visible=b}ChangeShadow.prototype.execute=function(){this.visible=this.previous;this.previous=this.ui.editor.graph.shadowVisible;this.ui.editor.graph.setShadowVisible(this.visible)}; -(function(){var a=new mxObjectCodec(new ChangeShadow,["ui","previous"]);a.afterDecode=function(a,d,c){c.previous=c.visible;return c};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="7.9.8";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.enableLogging=/.*\.draw\.io$/.test(window.location.hostname);EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.prototype.emptyDiagramXml=''; +(function(){var a=new mxObjectCodec(new ChangeShadow,["ui","previous"]);a.afterDecode=function(a,d,c){c.previous=c.visible;return c};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="8.0.0";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.enableLogging=/.*\.draw\.io$/.test(window.location.hostname);EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.prototype.emptyDiagramXml=''; EditorUi.prototype.emptyLibraryXml="[]";EditorUi.prototype.mode=null;EditorUi.prototype.sidebarFooterHeight=36;EditorUi.prototype.defaultCustomShapeStyle="shape=stencil(tZRtTsQgEEBPw1+DJR7AoN6DbWftpAgE0Ortd/jYRGq72R+YNE2YgTePloEJGWblgA18ZuKFDcMj5/Sm8boZq+BgjCX4pTyqk6ZlKROitwusOMXKQDODx5iy4pXxZ5qTHiFHawxB0JrQZH7lCabQ0Fr+XWC1/E8zcsT/gAi+Subo2/3Mh6d/oJb5nU1b5tW7r2knautaa3T+U32o7f7vZwpJkaNDLORJjcu7t59m2jXxqX9un+tt022acsfmoKaQZ+vhhswZtS6Ne/ThQGt0IV0N3Yyv6P3CeT9/tHO0XFI5cAE=);whiteSpace=wrap;html=1;"; EditorUi.prototype.maxBackgroundSize=1600;EditorUi.prototype.maxImageSize=520;EditorUi.prototype.resampleThreshold=1E5;EditorUi.prototype.maxImageBytes=1E6;EditorUi.prototype.maxBackgroundBytes=25E5;EditorUi.prototype.currentFile=null;EditorUi.prototype.printPdfExport=!1;EditorUi.prototype.pdfPageExport=!0;EditorUi.prototype.formatEnabled="0"!=urlParams.format;(function(){EditorUi.prototype.useCanvasForExport=!1;EditorUi.prototype.jpgSupported=!1;try{var a=document.createElement("canvas");EditorUi.prototype.canvasSupported= !(!a.getContext||!a.getContext("2d"))}catch(t){}try{var b=document.createElement("canvas"),c=new Image;c.onload=function(){try{b.getContext("2d").drawImage(c,0,0);var a=b.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=a&&6
')))}catch(t){}try{b= @@ -6594,47 +6594,47 @@ h.documentElement.getElementsByTagName("diagram"),h=0;h=a.status?x(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):x(c,d)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"dragleave",function(a){null!=e?e.style.border="3px dotted lightGray": (f.style.border="3px solid transparent",f.style.cursor="");a.stopPropagation();a.preventDefault()}));l=l.cloneNode(!1);l.setAttribute("src",IMAGE_PATH+"/edit.gif");l.setAttribute("title",mxResources.get("edit"));k.insertBefore(l,k.firstChild);mxEvent.addListener(l,"click",F);mxEvent.addListener(f,"dblclick",function(a){mxEvent.getSource(a)==f&&F(a)});c=l.cloneNode(!1);c.setAttribute("src",Editor.plusImage);c.setAttribute("title",mxResources.get("add"));k.insertBefore(c,k.firstChild);mxEvent.addListener(c, "click",G);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(c=document.createElement("span"),c.setAttribute("title",mxResources.get("help")),c.style.cssText="color:gray;text-decoration:none;",c.className="geButton",mxUtils.write(c,"?"),mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(a)})),k.insertBefore(c,k.firstChild))}n.appendChild(k);n.style.paddingRight=18*k.childNodes.length+"px"}};"1"==urlParams.offline|| -EditorUi.isElectronApp?EditorUi.prototype.footerHeight=4:("atlas"==uiTheme?("undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS?"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38,EditorUi.prototype.hsplitPosition=188,Sidebar.prototype.thumbWidth=46,Sidebar.prototype.thumbHeight= -46,Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=2):"1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.footerHeight=760<=screen.width&&240<=screen.height?46:0,EditorUi.prototype.createFooter=function(){var a=document.getElementById("geFooter");if(null!=a){a.style.visibility="visible";var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("src",Dialog.prototype.closeImage); -b.setAttribute("title",mxResources.get("hide"));a.appendChild(b);mxClient.IS_QUIRKS&&(b.style.position="relative",b.style.styleFloat="right",b.style.top="-30px",b.style.left="164px",b.style.cursor="pointer");mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.hideFooter()}))}return a});"dark"==uiTheme&&(Graph.prototype.defaultThemeName="darkTheme",Dialog.backdropColor="#2a2a2a",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultGraphBackground=null,Graph.prototype.defaultPageBorderColor= -"#505759",Format.prototype.inactiveTabBackgroundColor="black",BaseFormatPanel.prototype.buttonBackgroundColor="#2a2a2a",Sidebar.prototype.dragPreviewBorder="1px dashed #cccccc",mxGraphHandler.prototype.previewColor="#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxClient.IS_SVG&&(Editor.helpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=", -Editor.checkmarkImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAARVBMVEUAAACZmZkICAgEBASNjY2Dg4MYGBiTk5N5eXl1dXVmZmZQUFBCQkI3NzceHh4MDAykpKSJiYl+fn5sbGxaWlo/Pz8SEhK96uPlAAAAAXRSTlMAQObYZgAAAE5JREFUGNPFzTcSgDAQQ1HJGUfy/Y9K7V1qeOUfzQifCQZai1XHaz11LFysbDbzgDSSWMZiETz3+b8yNUc/MMsktxuC8XQBSncdLwz+8gCCggGXzBcozAAAAABJRU5ErkJggg=="));EditorUi.prototype.hideFooter=function(){var a=document.getElementById("geFooter");null!=a&&(this.footerHeight=0,a.style.display="none",this.refresh())}; -EditorUi.prototype.showFooter=function(a){var b=document.getElementById("geFooter");null!=b&&(this.footerHeight=a,b.style.display="inline",this.refresh())};EditorUi.prototype.showImageDialog=function(a,b,c,d,e){a=new ImageDialog(this,a,b,c,d,e);this.showDialog(a.container,Graph.fileSupport?440:360,Graph.fileSupport?200:90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangePageSetup(this,null,a);a.ignoreColor=!0;this.editor.graph.model.execute(a)}); -var b=new BackgroundImageDialog(this,mxUtils.bind(this,function(b){a(b)}));this.showDialog(b.container,360,200,!0,!0);b.init()};EditorUi.prototype.showLibraryDialog=function(a,b,c,d,e){a=new LibraryDialog(this,a,b,c,d,e);this.showDialog(a.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));a.init()};EditorUi.prototype.createSidebarFooterContainer=function(){var a=this.createDiv("geSidebarContainer");a.style.position="absolute"; -a.style.overflow="hidden";a.style.borderWidth="3px";var b=document.createElement("a");b.setAttribute("href","javascript:void(0);");b.className="geTitle";b.style.height="100%";b.style.paddingTop="9px";mxUtils.write(b,mxResources.get("moreShapes")+"...");mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.handleError=function(a,b,c){var d=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause(): -function(){},e=null!=a&&null!=a.error?a.error:a;if(null!=e||null!=b){a=mxUtils.htmlEntities(mxResources.get("unknownError"));var g=mxResources.get("ok"),h=null;b=null!=b?b:mxResources.get("error");if(null!=e)if(null!=e.retry&&(g=mxResources.get("cancel"),h=function(){d();e.retry()}),"undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&"undefined"!=typeof gapi.drive.realtime&&e.type==gapi.drive.realtime.ErrorType.FORBIDDEN)a=mxUtils.htmlEntities(mxResources.get("forbidden"));else if(404==e.code|| -404==e.status||"undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&"undefined"!=typeof gapi.drive.realtime&&e.type==gapi.drive.realtime.ErrorType.NOT_FOUND){a=mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied"));var f=window.location.hash;null!=f&&"#G"==f.substring(0,2)&&(f=f.substring(2),a+=' '+mxUtils.htmlEntities(mxResources.get("tryOpeningViaThisPage"))+"")}else e.code==App.ERROR_TIMEOUT?a=mxUtils.htmlEntities(mxResources.get("timeout")): -e.code==App.ERROR_BUSY?a=mxUtils.htmlEntities(mxResources.get("busy")):null!=e.message?a=mxUtils.htmlEntities(e.message):null!=e.response&&null!=e.response.error&&(a=mxUtils.htmlEntities(e.response.error));this.showError(b,a,g,c,h)}else null!=c&&c()};EditorUi.prototype.showError=function(a,b,c,d,e,f,k){a=new ErrorDialog(this,a,b,c,d,e,f,k);this.showDialog(a.container,340,150,!0,!1);a.init()};EditorUi.prototype.alert=function(a,b){var c=new ErrorDialog(this,null,a,mxResources.get("ok"),b);this.showDialog(c.container, -340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(a,b,c,d,e){var g=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){};this.showDialog((new ConfirmDialog(this,a,function(){g();null!=b&&b()},function(){g();null!=c&&c()},d,e)).container,340,90,!0,!1)};EditorUi.prototype.setCurrentFile=function(a){this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP|| -!this.editor.graph.mathEnabled&&this.useCanvasForExport};EditorUi.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};EditorUi.prototype.createImageDataUri=function(a,b,c){var d=a.toDataURL("image/"+c);if(6>=d.length||d==a.cloneNode(!1).toDataURL("image/"+c))throw{message:"Invalid image"};null!=b&&(d=this.writeGraphModelToPng(d,"zTXt","mxGraphModel",atob(this.editor.graph.compress(b))));return d};EditorUi.prototype.saveCanvas=function(a, -b,c){var d="jpeg"==c?"jpg":c,e=this.getBaseFilename()+"."+d;a=this.createImageDataUri(a,b,c);this.saveData(e,d,a.substring(a.lastIndexOf(",")+1),"image/"+c,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode&&!mxClient.IS_QUIRKS||this.isOfflineApp()||mxClient.IS_IOS};EditorUi.prototype.doSaveLocalFile=function(a, -b,c,d,e){if(window.Blob&&navigator.msSaveOrOpenBlob)a=d?this.base64ToBlob(a,c):new Blob([a],{type:c}),navigator.msSaveOrOpenBlob(a,b);else if(mxClient.IS_IE)c=window.open("about:blank","_blank"),null==c?mxUtils.popup(a,!0):(c.document.write(a),c.document.close(),c.document.execCommand("SaveAs",!0,b),c.close());else if(mxClient.IS_IOS)b=new TextareaDialog(this,b+":",a,null,null,mxResources.get("close")),b.textarea.style.width="600px",b.textarea.style.height="380px",this.showDialog(b.container,620, -460,!0,!0),b.init(),document.execCommand("selectall",!1,null);else{var g=document.createElement("a"),h=!mxClient.IS_SF&&"undefined"!==typeof g.download;if(h||this.isOffline()){g.href=URL.createObjectURL(d?this.base64ToBlob(a,c):new Blob([a],{type:c}));h?g.download=b:g.setAttribute("target","_blank");document.body.appendChild(g);try{window.setTimeout(function(){URL.revokeObjectURL(g.href)},0),g.click(),g.parentNode.removeChild(g)}catch(A){}}else this.createEchoRequest(a,b,c,d,e).simulate(document, -"_blank")}};EditorUi.prototype.createEchoRequest=function(a,b,c,d,e,f){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=c?"&mime="+c:"")+(null!=e?"&format="+e:"")+(null!=f?"&base64="+f:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,e=Math.ceil(d/1024),g=Array(e),h=0;h"+a+""):d.document.write(''),d.document.close())}else d=window.open("data:"+b+(c?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))),null==d&&mxUtils.popup(a,!0)};var b=EditorUi.prototype.addChromelessToolbarItems;EditorUi.prototype.addChromelessToolbarItems= -function(a){if(this.isExportToCanvas()){this.exportDialog=null;var c=a(mxUtils.bind(this,function(a){var b=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",b);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null)});if(null!=this.exportDialog)b.apply(this);else{this.exportDialog=document.createElement("div");var d=c.getBoundingClientRect();mxUtils.setPrefixedStyle(this.exportDialog.style,"borderRadius","5px"); -this.exportDialog.style.position="fixed";this.exportDialog.style.textAlign="center";this.exportDialog.style.fontFamily="Helvetica,Arial";this.exportDialog.style.backgroundColor="#000000";this.exportDialog.style.width="50px";this.exportDialog.style.height="50px";this.exportDialog.style.padding="4px 2px 4px 2px";this.exportDialog.style.color="#ffffff";mxUtils.setOpacity(this.exportDialog,70);this.exportDialog.style.left=d.left+"px";this.exportDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+ -this.chromelessToolbar.offsetHeight+4+"px";d=mxUtils.getCurrentStyle(this.editor.graph.container);this.exportDialog.style.zIndex=d.zIndex;var e=new Spinner({lines:8,length:6,width:5,radius:6,rotate:0,color:"#fff",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"28px",zIndex:2E9});e.spin(this.exportDialog);this.exportToCanvas(mxUtils.bind(this,function(a){e.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";this.exportDialog.style.padding="10px";var c=this.createImageDataUri(a, -null,"png");a=document.createElement("img");a.style.maxWidth="140px";a.style.maxHeight="140px";a.style.cursor="pointer";a.setAttribute("title",mxResources.get("openInNewWindow"));a.setAttribute("border","0");a.setAttribute("src",c);this.exportDialog.appendChild(a);mxEvent.addListener(a,"click",mxUtils.bind(this,function(){this.openInNewWindow(c.substring(c.indexOf(",")+1),"image/png",!0);b.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop(); -this.handleError(a)}));mxEvent.addListener(this.editor.graph.container,"click",b);document.body.appendChild(this.exportDialog)}mxEvent.consume(a)}),Editor.cameraLargeImage,mxResources.get("export"))}b.apply(this,arguments)};EditorUi.prototype.saveData=function(a,b,c,d,e){this.isLocalFileSave()?this.saveLocalFile(c,a,d,e,b):this.saveRequest(a,b,mxUtils.bind(this,function(a,g){return this.createEchoRequest(c,a,d,e,b,g)}),c,e,d)};EditorUi.prototype.saveRequest=function(a,b,c,d,e,f,k){k=null!=k?k:!mxClient.IS_IOS|| -!navigator.standalone;var g=this.getServiceCount(!1);a=new CreateDialog(this,a,mxUtils.bind(this,function(a,e){if("_blank"==e||null!=a&&0=g.getStatus())try{this.exportFile(g.getText(),a,f,!0,e,c)}catch(w){this.handleError(w)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,k,null,null,4\n'+mxUtils.getXml(a);this.isLocalFileSave()||d.length<=MAX_REQUEST_SIZE?this.saveData(n,"svg",d,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(d)}))});this.convertMath(this.editor.graph,h,!1,mxUtils.bind(this,function(){f?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(h,q,this.thumbImageCache)): -q(h)}))}};EditorUi.prototype.addCheckbox=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement("input");g.style.marginRight="8px";g.style.marginTop="16px";g.setAttribute("type","checkbox");c&&(g.setAttribute("checked","checked"),g.defaultChecked=!0);d&&g.setAttribute("disabled","disabled");f&&(a.appendChild(g),mxUtils.write(a,b),e||mxUtils.br(a));return g};EditorUi.prototype.addEditButton=function(a,b){var c=this.addCheckbox(a,mxResources.get("edit")+":",!0,null,!0);c.style.marginLeft= -"24px";var d=this.getCurrentFile(),e="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER&&(e=window.location.href);var g=document.createElement("select");g.style.width="120px";g.style.marginLeft="8px";g.style.marginRight="10px";g.className="geBtn";d=document.createElement("option");d.setAttribute("value","blank");mxUtils.write(d,mxResources.get("makeCopy"));g.appendChild(d);d=document.createElement("option");d.setAttribute("value","custom");mxUtils.write(d,mxResources.get("custom")+ -"...");g.appendChild(d);a.appendChild(g);mxEvent.addListener(g,"change",mxUtils.bind(this,function(){if("custom"==g.value){var a=new FilenameDialog(this,e,mxResources.get("ok"),function(a){null!=a?e=a:g.value="blank"},mxResources.get("url"),null,null,null,null,function(){g.value="blank"});this.showDialog(a.container,300,80,!0,!1);a.init()}}));mxEvent.addListener(c,"change",mxUtils.bind(this,function(){c.checked&&(null==b||b.checked)?g.removeAttribute("disabled"):g.setAttribute("disabled","disabled")})); -mxUtils.br(a);return{getLink:function(){return c.checked?"blank"===g.value?"_blank":e:null},getEditInput:function(){return c},getEditSelect:function(){return g}}};EditorUi.prototype.addLinkSection=function(a,b){function c(){h.innerHTML='
'} -mxUtils.write(a,mxResources.get("links")+":");var d=document.createElement("select");d.style.width="100px";d.style.marginLeft="8px";d.style.marginRight="10px";d.className="geBtn";var e=document.createElement("option");e.setAttribute("value","auto");mxUtils.write(e,mxResources.get("automatic"));d.appendChild(e);e=document.createElement("option");e.setAttribute("value","blank");mxUtils.write(e,mxResources.get("openInNewWindow"));d.appendChild(e);e=document.createElement("option");e.setAttribute("value", -"self");mxUtils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e);b&&(e=document.createElement("option"),e.setAttribute("value","frame"),mxUtils.write(e,mxResources.get("openInThisWindow")+" ("+mxResources.get("iframe")+")"),d.appendChild(e));a.appendChild(d);mxUtils.write(a,mxResources.get("borderColor")+":");var g="#0000ff",h=null,h=mxUtils.button("",mxUtils.bind(this,function(a){this.pickColor(g||"none",function(a){g=a;c()});mxEvent.consume(a)}));c();h.style.padding=mxClient.IS_FF? -"4px 2px 4px 2px":"4px";h.style.marginLeft="4px";h.style.height="22px";h.style.width="22px";h.style.position="relative";h.style.top=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE?"6px":"1px";h.className="geColorBtn";a.appendChild(h);mxUtils.br(a);return{getColor:function(){return g},getTarget:function(){return d.value},focus:function(){d.focus()}}};EditorUi.prototype.createLink=function(a,b,c,d,e,f,k,l){var g=this.getCurrentFile(),h=[];d&&(h.push("lightbox=1"),"auto"!=a&&h.push("target="+a),null!= -b&&b!=mxConstants.NONE&&h.push("highlight="+("#"==b.charAt(0)?b.substring(1):b)),null!=e&&0';a=null!=a?"&fetch="+encodeURIComponent(a):"";x(b,'