├── .cache
├── 2701ec3522754a433ac932e85f113f39.json
├── 593a3806592f68c879b77cd953993bba.json
├── 6b9c987eb63016a176770650273454a8.json
├── 6c07fab6c18f6181597fa56ceaa2fe4c.json
├── e61532138cf1af5db3557fff28a67f03.json
└── f875097a2991b3312b6ffd992799b295.json
├── .gitignore
├── LICENSE
├── README.md
├── components
└── book.html
├── demo
├── components
│ ├── book.html
│ ├── radio.html
│ ├── test.html
│ └── test2.html
├── css
│ └── demo.css
├── data.js
├── demo.html
├── inputs.html
├── js
│ └── demo.js
├── otherComponents
│ ├── list.html
│ ├── menu
│ │ └── menu.html
│ └── test.html
├── pas.html
├── pbind.html
├── pcom.html
├── pcom2.html
├── pcontext.html
├── peach.html
├── pfor.html
├── pif.html
├── pon.html
├── test.html
├── test.js
├── test1.html
├── test2.js
├── test2.ts
├── test_alias.html
├── test_input.html
├── text.html
└── view
│ └── test.html
├── dist
├── pandyle.d.ts
├── pandyle.js
├── pandyle.js.map
└── pandyle.min.js
├── node_modules
├── @types
│ ├── jquery
│ │ ├── JQuery.d.ts
│ │ ├── JQueryStatic.d.ts
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── dist
│ │ │ └── jquery.slim.d.ts
│ │ ├── index.d.ts
│ │ ├── legacy.d.ts
│ │ ├── misc.d.ts
│ │ └── package.json
│ └── sizzle
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
└── jquery
│ ├── AUTHORS.txt
│ ├── LICENSE.txt
│ ├── README.md
│ ├── bower.json
│ ├── dist
│ ├── core.js
│ ├── jquery.js
│ ├── jquery.min.js
│ ├── jquery.min.map
│ ├── jquery.slim.js
│ ├── jquery.slim.min.js
│ └── jquery.slim.min.map
│ ├── external
│ └── sizzle
│ │ ├── LICENSE.txt
│ │ └── dist
│ │ ├── sizzle.js
│ │ ├── sizzle.min.js
│ │ └── sizzle.min.map
│ ├── package.json
│ └── src
│ ├── .eslintrc.json
│ ├── ajax.js
│ ├── ajax
│ ├── jsonp.js
│ ├── load.js
│ ├── parseXML.js
│ ├── script.js
│ ├── var
│ │ ├── location.js
│ │ ├── nonce.js
│ │ └── rquery.js
│ └── xhr.js
│ ├── attributes.js
│ ├── attributes
│ ├── attr.js
│ ├── classes.js
│ ├── prop.js
│ ├── support.js
│ └── val.js
│ ├── callbacks.js
│ ├── core.js
│ ├── core
│ ├── DOMEval.js
│ ├── access.js
│ ├── camelCase.js
│ ├── init.js
│ ├── isAttached.js
│ ├── nodeName.js
│ ├── parseHTML.js
│ ├── ready-no-deferred.js
│ ├── ready.js
│ ├── readyException.js
│ ├── stripAndCollapse.js
│ ├── support.js
│ ├── toType.js
│ └── var
│ │ └── rsingleTag.js
│ ├── css.js
│ ├── css
│ ├── addGetHookIf.js
│ ├── adjustCSS.js
│ ├── curCSS.js
│ ├── finalPropName.js
│ ├── hiddenVisibleSelectors.js
│ ├── showHide.js
│ ├── support.js
│ └── var
│ │ ├── cssExpand.js
│ │ ├── getStyles.js
│ │ ├── isHiddenWithinTree.js
│ │ ├── rboxStyle.js
│ │ ├── rnumnonpx.js
│ │ └── swap.js
│ ├── data.js
│ ├── data
│ ├── Data.js
│ └── var
│ │ ├── acceptData.js
│ │ ├── dataPriv.js
│ │ └── dataUser.js
│ ├── deferred.js
│ ├── deferred
│ └── exceptionHook.js
│ ├── deprecated.js
│ ├── dimensions.js
│ ├── effects.js
│ ├── effects
│ ├── Tween.js
│ └── animatedSelector.js
│ ├── event.js
│ ├── event
│ ├── ajax.js
│ ├── alias.js
│ ├── focusin.js
│ ├── support.js
│ └── trigger.js
│ ├── exports
│ ├── amd.js
│ └── global.js
│ ├── jquery.js
│ ├── manipulation.js
│ ├── manipulation
│ ├── _evalUrl.js
│ ├── buildFragment.js
│ ├── getAll.js
│ ├── setGlobalEval.js
│ ├── support.js
│ ├── var
│ │ ├── rscriptType.js
│ │ └── rtagName.js
│ └── wrapMap.js
│ ├── offset.js
│ ├── queue.js
│ ├── queue
│ └── delay.js
│ ├── selector-native.js
│ ├── selector-sizzle.js
│ ├── selector.js
│ ├── serialize.js
│ ├── traversing.js
│ ├── traversing
│ ├── findFilter.js
│ └── var
│ │ ├── dir.js
│ │ ├── rneedsContext.js
│ │ └── siblings.js
│ ├── var
│ ├── ObjectFunctionString.js
│ ├── arr.js
│ ├── class2type.js
│ ├── concat.js
│ ├── document.js
│ ├── documentElement.js
│ ├── fnToString.js
│ ├── getProto.js
│ ├── hasOwn.js
│ ├── indexOf.js
│ ├── isFunction.js
│ ├── isWindow.js
│ ├── pnum.js
│ ├── push.js
│ ├── rcheckableType.js
│ ├── rcssNum.js
│ ├── rnothtmlwhite.js
│ ├── slice.js
│ ├── support.js
│ └── toString.js
│ └── wrap.js
├── package-lock.json
├── package.json
├── src
├── core
│ ├── component.ts
│ ├── directives
│ │ ├── directiveBase.ts
│ │ ├── iteratorBase.ts
│ │ ├── pBindDirective.ts
│ │ ├── pComDirective.ts
│ │ ├── pContextDirective.ts
│ │ ├── pEachDirective.ts
│ │ ├── pForDirective.ts
│ │ ├── pIfDirective.ts
│ │ ├── pOnDirective.ts
│ │ └── pTextDirective.ts
│ ├── index.ts
│ ├── inputs.ts
│ ├── interfaces
│ │ ├── IDomData.ts
│ │ ├── IPipeContext.ts
│ │ ├── IRelation.ts
│ │ └── IRelationCollection.ts
│ ├── pipeline.ts
│ ├── polyfill.ts
│ ├── relationCollection.ts
│ ├── renderer.ts
│ ├── statics.ts
│ ├── util.ts
│ └── vm.ts
└── index.d.ts
└── tsconfig.json
/.cache/6c07fab6c18f6181597fa56ceaa2fe4c.json:
--------------------------------------------------------------------------------
1 | {"dependencies":[{"name":"./test2.js","dynamic":true}],"generated":{"html":"\r\n\r\n\r\n
\r\n
15 |
19 |
20 |
67 |
68 | ## 适用场景
69 |
70 | - 老项目重构:这可能是pandyle最能发挥作用的场景。很多老项目中使用了大量的jquery代码及jquery插件,使用其他框架进行重构的话可能会引起大量的修改,使用pandyle能以最小的代价对老项目完成mvvm的改造
71 | - 兼容性要求较高的项目:一些特定领域的项目可能仍然要求兼容ie8甚至ie8以下的浏览器,不适合使用三大框架,这种情况下可以尝试使用pandyle作为替代
72 | - 后端人员开发:pandyle对后端开发者是友好的,无需掌握现代前端的一系列工具和语法,后端开发者可以轻松上手
73 | - 小项目:对小项目来说,pandyle的开发效率可能更高,有兴趣的可以尝试一下
74 |
75 | ## 文档
76 |
77 | [在wiki中查看文档](https://github.com/RenRongrong/pandyle/wiki)
78 |
79 | ## 交流
80 |
81 | 你可以加入QQ群进行技术交流:524640426
82 |
83 |
--------------------------------------------------------------------------------
/components/book.html:
--------------------------------------------------------------------------------
1 |
2 |
书名:{{title}}
3 |
作者:{{author}}
4 |
价格:{{price}}
5 |
购买
6 |
7 |
24 |
--------------------------------------------------------------------------------
/demo/components/book.html:
--------------------------------------------------------------------------------
1 |
2 |
书名:{{title}}
3 |
作者:{{author}}
4 |
价格:{{price}}
5 |
数量:{{num}}
6 |
7 | {{@self}}
8 |
9 |
购买
10 |
增加
11 |
12 |
29 |
--------------------------------------------------------------------------------
/demo/components/radio.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{content}}
8 |
9 |
10 |
11 |
12 |
13 |
45 |
46 |
--------------------------------------------------------------------------------
/demo/components/test.html:
--------------------------------------------------------------------------------
1 |
2 |
this is test for link and script in component
3 |
say hello
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/demo/components/test2.html:
--------------------------------------------------------------------------------
1 |
2 |
this is test for link and script in component v2
3 |
say hello2
4 |
5 |
8 |
9 |
10 |
11 |
16 |
17 |
--------------------------------------------------------------------------------
/demo/css/demo.css:
--------------------------------------------------------------------------------
1 | .main{
2 | background: #f5f5f5;
3 | }
--------------------------------------------------------------------------------
/demo/data.js:
--------------------------------------------------------------------------------
1 | var data = {
2 | name: 'rrr',
3 | sex: 1,
4 | age: 30,
5 | info: {
6 | tel: '13776175004',
7 | hobbies: [{
8 | name: '游泳',
9 | type: '体育'
10 | },
11 | {
12 | name: '看书',
13 | type: '文艺'
14 | },
15 | {
16 | name: '游戏',
17 | type: '娱乐'
18 | }
19 | ],
20 | address: {
21 | province: '江苏',
22 | city: '苏州',
23 | area: '吴中区',
24 | town: '木渎镇'
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/demo/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
Hello Pandyle
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/inputs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
Document
11 |
12 |
13 |
14 |
15 |
{{name}}
16 |
{{phone}}
17 |
18 |
34 |
35 |
打印数据
36 |
设置数据而不触发change事件
37 |
手动刷新inputs
38 |
39 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/demo/js/demo.js:
--------------------------------------------------------------------------------
1 | function hello(){
2 | alert('hello!');
3 | }
--------------------------------------------------------------------------------
/demo/otherComponents/list.html:
--------------------------------------------------------------------------------
1 |
2 |
{{@private.title}}
3 |
4 |
7 | {{name}}
8 |
9 |
10 |
11 |
12 |
44 |
45 |
--------------------------------------------------------------------------------
/demo/otherComponents/menu/menu.html:
--------------------------------------------------------------------------------
1 |
this is menu
--------------------------------------------------------------------------------
/demo/otherComponents/test.html:
--------------------------------------------------------------------------------
1 |
2 |
hello
3 |
{{@private.name}}
4 |
{{@private.age}}
5 |
click me
6 |
7 |
8 |
--------------------------------------------------------------------------------
/demo/pas.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
Document
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
{{name}}
16 |
{{@a.price}}
17 |
18 |
19 |
20 |
21 |
31 |
32 |
--------------------------------------------------------------------------------
/demo/pbind.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Document
10 |
11 |
12 |
20 |
21 |
35 |
36 |
--------------------------------------------------------------------------------
/demo/pcom.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
Document
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
click me
20 |
23 |
24 |
25 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/demo/pcom2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Document
10 |
11 |
12 |
17 |
18 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/pcontext.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
Document
11 |
12 |
13 |
14 |
15 |
16 |
{{name}}
17 |
{{price}}
18 |
{{num}}
19 |
add
20 |
21 |
22 |
23 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/demo/peach.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Document
12 |
13 |
14 |
15 |
16 |
19 |
click me
20 |
click me 2
21 |
click me 3
22 |
23 |
24 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/demo/pfor.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Document
12 |
13 |
14 |
15 |
click me2
16 |
{{name}}
17 |
click me
18 |
19 |
20 |
21 |
55 |
56 |
--------------------------------------------------------------------------------
/demo/pif.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Document
10 |
11 |
12 |
13 |
空值
14 |
{{name + '\nhello'}}
15 |
16 |
17 |
22 |
23 |
--------------------------------------------------------------------------------
/demo/pon.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Document
10 |
11 |
12 |
13 |
14 | {{name}}
15 | 详情
16 |
17 |
18 |
19 |
48 |
49 |
--------------------------------------------------------------------------------
/demo/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
{{message|add}}
17 |
18 |
this is visible
19 |
20 |
21 |
{{id}}:{{name}}{{@index + 1}}
22 |
23 |
{{@index + 1}}:{{@self}}
24 |
25 |
26 |
29 |
30 |
31 |
click me
32 |
33 |
34 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/demo/test.js:
--------------------------------------------------------------------------------
1 | var uid = 17;
2 | Pandyle.config({
3 | comPath: {
4 | demo: '/demo/components/{name}.html'
5 | }
6 | })
7 | var honors = [];
8 | for (var i = 0; i < 100; i++) {
9 | honors.push('test' + i);
10 | }
11 | $(document).ready(function() {
12 | var data = {
13 | id: 2,
14 | title: '百年孤独',
15 | author: {
16 | name: '马尔克斯',
17 | nation: '哥伦比亚',
18 | honors: honors
19 | },
20 | price: 89,
21 | tags: [
22 | '名著',
23 | '文学',
24 | '外国'
25 | ],
26 | next: {
27 | t: '三国演义',
28 | a: '罗贯中',
29 | p: 35
30 | },
31 | list: {
32 | name: 'type',
33 | selects: [{
34 | content: '类型1',
35 | value: 1
36 | },
37 | {
38 | content: '类型2',
39 | value: 2
40 | }
41 | ]
42 | }
43 | }
44 | var now = Date.now();
45 | vm = $('.temp').vm(data, false);
46 | vm.register('bookConverter', function(data) {
47 | return {
48 | title: data.t,
49 | author: data.a,
50 | price: data.p
51 | }
52 | });
53 | vm.register('tagFilter', function(data) {
54 | return data.filter(function(x) {
55 | return x == '名著';
56 | })
57 | })
58 | vm.run();
59 | var then = Date.now();
60 | console.log(then - now);
61 | })
62 |
63 | function setName() {
64 | var honors2 = [];
65 | for (var i = 0; i < 300; i++) {
66 | honors2.push('测试' + i);
67 | }
68 | var now = Date.now();
69 | // vm.set({
70 | // next: {
71 | // t: '水浒传',
72 | // a: '施耐庵',
73 | // p: 40
74 | // },
75 | // 'author.honors': honors2,
76 | // title: '书本',
77 | // 'tags': [
78 | // '名著2',
79 | // '文学2',
80 | // '外国2'
81 | // ]
82 | // });
83 | vm.set('title', '书本');
84 | var then = Date.now();
85 | console.log(then - now);
86 | }
87 |
88 | function add(n) {
89 | return n + 1;
90 | }
--------------------------------------------------------------------------------
/demo/test1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
{{title}}
18 |
19 |
{{name}}/{{nation}}
20 |
{{nation}}
21 |
22 | {{@self}}
23 |
24 |
27 |
28 |
29 |
30 | 请选择
31 | {{content}}
32 |
33 |
34 |
{{price}}
35 |
36 |
{{add(@index)}}:{{@self}}:{{@root.title}}
37 |
38 |
{{@window.uid}}
39 |
40 |
41 |
42 |
43 |
44 |
click me
45 |
46 |
47 |
--------------------------------------------------------------------------------
/demo/test2.js:
--------------------------------------------------------------------------------
1 | require(['/dist/pandyle'], function(Pandyle) {
2 | var uid = 17;
3 | Pandyle.config({
4 | comPath: {
5 | demo: '/demo/components/{name}.html'
6 | }
7 | })
8 | var honors = [];
9 | for (var i = 0; i < 100; i++) {
10 | honors.push('test' + i);
11 | }
12 | $(document).ready(function() {
13 | var data = {
14 | id: 2,
15 | title: '百年孤独',
16 | author: {
17 | name: '
马尔克斯
加西亚
',
18 | nation: '哥伦比亚',
19 | honors: honors
20 | },
21 | price: 89,
22 | tags: [
23 | '名著',
24 | '文学',
25 | '外国'
26 | ],
27 | next: {
28 | t: '三国演义',
29 | a: '罗贯中',
30 | p: 35
31 | },
32 | list: {
33 | name: 'type',
34 | selects: [{
35 | content: '类型1',
36 | value: 1
37 | },
38 | {
39 | content: '类型2',
40 | value: 2
41 | }
42 | ]
43 | }
44 | }
45 | var now = Date.now();
46 | vm = $('.temp').vm(data, false);
47 | vm.register('bookConverter', function(data) {
48 | return {
49 | title: data.t,
50 | author: data.a,
51 | price: data.p
52 | }
53 | });
54 | vm.register('tagFilter', function(data) {
55 | return data.filter(function(x) {
56 | return x == '名著';
57 | })
58 | })
59 | vm.run();
60 | var then = Date.now();
61 | console.log(then - now);
62 | })
63 | })
64 |
65 |
66 |
67 | function setName() {
68 | var honors2 = [];
69 | for (var i = 0; i < 300; i++) {
70 | honors2.push('测试' + i);
71 | }
72 | var now = Date.now();
73 | vm.set({
74 | next: {
75 | t: '水浒传',
76 | a: '施耐庵',
77 | p: 40
78 | },
79 | 'author.honors': honors2,
80 | title: '书本'
81 | });
82 | var then = Date.now();
83 | console.log(then - now);
84 | }
85 |
86 | function add(n) {
87 | return n + 1;
88 | }
--------------------------------------------------------------------------------
/demo/test2.ts:
--------------------------------------------------------------------------------
1 | ///
2 | interface book{
3 | id:number,
4 | title:string,
5 | author:{
6 | name: string,
7 | nation: string,
8 | honors: string[]
9 | }
10 | price:number,
11 | tags:string[]
12 | }
13 |
14 | let vm:myVM;
15 | let uid = '103';
16 | $(document).ready(function () {
17 | vm = new myVM($('.temp'), {
18 | id: 2,
19 | title: '百年孤独',
20 | author: {
21 | name: '马尔克斯',
22 | nation: '哥伦比亚',
23 | honors: ['作家', '文学家']
24 | },
25 | price: 89,
26 | tags: [
27 | '名著',
28 | '文学',
29 | '外国'
30 | ]
31 | })
32 | })
33 |
34 | function setName(){
35 | vm.author = vm.author + '1';
36 | vm.set({
37 | 'author.honors': ['记者', '歌手', '名人']
38 | });
39 | uid = '203';
40 | vm.render($('.local'));
41 | }
42 |
43 | class myVM extends Pandyle.VM
{
44 | get title(){
45 | return this.get('title');
46 | }
47 |
48 | set title(value:string){
49 | this.set({
50 | 'title': value
51 | })
52 | }
53 |
54 | get author(){
55 | return this.get('author.name');
56 | }
57 | set author(value:string){
58 | this.set({
59 | 'author.name': value
60 | })
61 | }
62 |
63 |
64 | }
--------------------------------------------------------------------------------
/demo/test_alias.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | {{@fo.tel}}
20 | {{name}}
21 | {{type}}
22 |
23 |
24 |
25 |
26 |
29 |
--------------------------------------------------------------------------------
/demo/test_input.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
50 |
51 |
52 | {{name}}:
53 |
54 |
55 |
56 |
test
57 |
update
58 |
59 |
60 |
110 |
--------------------------------------------------------------------------------
/demo/text.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Document
10 |
11 |
12 |
13 |
{{age.num|add}}
14 |
15 |
16 |
17 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/view/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
{{message|add}}
17 |
18 |
this is visible
19 |
20 |
21 |
{{name + '$' + id}} {{@index + 1}}
22 |
23 |
24 |
27 |
28 |
29 |
click me
30 |
31 |
32 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/node_modules/@types/jquery/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE
22 |
--------------------------------------------------------------------------------
/node_modules/@types/jquery/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/jquery`
3 |
4 | # Summary
5 | This package contains type definitions for jquery (https://jquery.com).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery
9 |
10 | Additional Details
11 | * Last updated: Tue, 25 Dec 2018 21:10:47 GMT
12 | * Dependencies: @types/sizzle
13 | * Global values: $, Symbol, jQuery
14 |
15 | # Credits
16 | These definitions were written by Leonard Thieu , Boris Yankov , Christian Hoffmeister , Steve Fenton , Diullei Gomes , Tass Iliopoulos , Jason Swearingen , Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly , Dick van den Brink , Thomas Schulz , Terry Mun .
17 |
--------------------------------------------------------------------------------
/node_modules/@types/jquery/dist/jquery.slim.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | export = jQuery;
4 |
--------------------------------------------------------------------------------
/node_modules/@types/jquery/index.d.ts:
--------------------------------------------------------------------------------
1 | // Type definitions for jquery 3.3
2 | // Project: https://jquery.com
3 | // Definitions by: Leonard Thieu
4 | // Boris Yankov
5 | // Christian Hoffmeister
6 | // Steve Fenton
7 | // Diullei Gomes
8 | // Tass Iliopoulos
9 | // Jason Swearingen
10 | // Sean Hill
11 | // Guus Goossens
12 | // Kelly Summerlin
13 | // Basarat Ali Syed
14 | // Nicholas Wolverson
15 | // Derek Cicerone
16 | // Andrew Gaspar
17 | // Seikichi Kondo
18 | // Benjamin Jackman
19 | // Poul Sorensen
20 | // Josh Strobl
21 | // John Reilly
22 | // Dick van den Brink
23 | // Thomas Schulz
24 | // Terry Mun
25 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
26 | // TypeScript Version: 2.3
27 |
28 | ///
29 | ///
30 | ///
31 | ///
32 | ///
33 |
34 | export = jQuery;
35 |
--------------------------------------------------------------------------------
/node_modules/@types/jquery/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "_from": "@types/jquery@^3.2.16",
3 | "_id": "@types/jquery@3.3.29",
4 | "_inBundle": false,
5 | "_integrity": "sha1-aAoiGc48klBINyL8z1Vw0eLQir0=",
6 | "_location": "/@types/jquery",
7 | "_phantomChildren": {},
8 | "_requested": {
9 | "type": "range",
10 | "registry": true,
11 | "raw": "@types/jquery@^3.2.16",
12 | "name": "@types/jquery",
13 | "escapedName": "@types%2fjquery",
14 | "scope": "@types",
15 | "rawSpec": "^3.2.16",
16 | "saveSpec": null,
17 | "fetchSpec": "^3.2.16"
18 | },
19 | "_requiredBy": [
20 | "#USER",
21 | "/"
22 | ],
23 | "_resolved": "https://registry.npm.taobao.org/@types/jquery/download/@types/jquery-3.3.29.tgz",
24 | "_shasum": "680a2219ce3c9250483722fccf5570d1e2d08abd",
25 | "_spec": "@types/jquery@^3.2.16",
26 | "_where": "D:\\projects\\Repo\\pandyle",
27 | "bugs": {
28 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
29 | },
30 | "bundleDependencies": false,
31 | "contributors": [
32 | {
33 | "name": "Leonard Thieu",
34 | "url": "https://github.com/leonard-thieu"
35 | },
36 | {
37 | "name": "Boris Yankov",
38 | "url": "https://github.com/borisyankov"
39 | },
40 | {
41 | "name": "Christian Hoffmeister",
42 | "url": "https://github.com/choffmeister"
43 | },
44 | {
45 | "name": "Steve Fenton",
46 | "url": "https://github.com/Steve-Fenton"
47 | },
48 | {
49 | "name": "Diullei Gomes",
50 | "url": "https://github.com/Diullei"
51 | },
52 | {
53 | "name": "Tass Iliopoulos",
54 | "url": "https://github.com/tasoili"
55 | },
56 | {
57 | "name": "Jason Swearingen",
58 | "url": "https://github.com/jasons-novaleaf"
59 | },
60 | {
61 | "name": "Sean Hill",
62 | "url": "https://github.com/seanski"
63 | },
64 | {
65 | "name": "Guus Goossens",
66 | "url": "https://github.com/Guuz"
67 | },
68 | {
69 | "name": "Kelly Summerlin",
70 | "url": "https://github.com/ksummerlin"
71 | },
72 | {
73 | "name": "Basarat Ali Syed",
74 | "url": "https://github.com/basarat"
75 | },
76 | {
77 | "name": "Nicholas Wolverson",
78 | "url": "https://github.com/nwolverson"
79 | },
80 | {
81 | "name": "Derek Cicerone",
82 | "url": "https://github.com/derekcicerone"
83 | },
84 | {
85 | "name": "Andrew Gaspar",
86 | "url": "https://github.com/AndrewGaspar"
87 | },
88 | {
89 | "name": "Seikichi Kondo",
90 | "url": "https://github.com/seikichi"
91 | },
92 | {
93 | "name": "Benjamin Jackman",
94 | "url": "https://github.com/benjaminjackman"
95 | },
96 | {
97 | "name": "Poul Sorensen",
98 | "url": "https://github.com/s093294"
99 | },
100 | {
101 | "name": "Josh Strobl",
102 | "url": "https://github.com/JoshStrobl"
103 | },
104 | {
105 | "name": "John Reilly",
106 | "url": "https://github.com/johnnyreilly"
107 | },
108 | {
109 | "name": "Dick van den Brink",
110 | "url": "https://github.com/DickvdBrink"
111 | },
112 | {
113 | "name": "Thomas Schulz",
114 | "url": "https://github.com/King2500"
115 | },
116 | {
117 | "name": "Terry Mun",
118 | "url": "https://github.com/terrymun"
119 | }
120 | ],
121 | "dependencies": {
122 | "@types/sizzle": "*"
123 | },
124 | "deprecated": false,
125 | "description": "TypeScript definitions for jquery",
126 | "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
127 | "license": "MIT",
128 | "main": "",
129 | "name": "@types/jquery",
130 | "repository": {
131 | "type": "git",
132 | "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
133 | },
134 | "scripts": {},
135 | "typeScriptVersion": "2.3",
136 | "types": "index",
137 | "typesPublisherContentHash": "071233c6e9934a76dcae8dca364b8a702492270644476df618bccad27a3c7af1",
138 | "version": "3.3.29"
139 | }
140 |
--------------------------------------------------------------------------------
/node_modules/@types/sizzle/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE
22 |
--------------------------------------------------------------------------------
/node_modules/@types/sizzle/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/sizzle`
3 |
4 | # Summary
5 | This package contains type definitions for sizzle (https://sizzlejs.com).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sizzle
9 |
10 | Additional Details
11 | * Last updated: Sat, 06 Oct 2018 20:51:02 GMT
12 | * Dependencies: none
13 | * Global values: Sizzle
14 |
15 | # Credits
16 | These definitions were written by Leonard Thieu .
17 |
--------------------------------------------------------------------------------
/node_modules/@types/sizzle/index.d.ts:
--------------------------------------------------------------------------------
1 | // Type definitions for sizzle 2.3
2 | // Project: https://sizzlejs.com
3 | // Definitions by: Leonard Thieu
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5 | // TypeScript Version: 2.3
6 |
7 | export as namespace Sizzle;
8 |
9 | declare const Sizzle: SizzleStatic;
10 | export = Sizzle;
11 |
12 | interface SizzleStatic {
13 | selectors: Sizzle.Selectors;
14 | >(selector: string, context: Element | Document | DocumentFragment, results: TArrayLike): TArrayLike;
15 | (selector: string, context?: Element | Document | DocumentFragment): Element[];
16 | // tslint:disable-next-line:ban-types
17 | compile(selector: string): Function;
18 | matchSelector(element: Element, selector: string): boolean;
19 | matches(selector: string, elements: Element[]): Element[];
20 | }
21 |
22 | declare namespace Sizzle {
23 | interface Selectors {
24 | cacheLength: number;
25 | match: Selectors.Matches;
26 | find: Selectors.FindFunctions;
27 | preFilter: Selectors.PreFilterFunctions;
28 | filter: Selectors.FilterFunctions;
29 | attrHandle: Selectors.AttrHandleFunctions;
30 | pseudos: Selectors.PseudoFunctions;
31 | setFilters: Selectors.SetFilterFunctions;
32 | createPseudo(fn: Selectors.CreatePseudoFunction): Selectors.PseudoFunction;
33 | }
34 |
35 | namespace Selectors {
36 | interface Matches {
37 | [name: string]: RegExp;
38 | }
39 |
40 | interface FindFunction {
41 | (match: RegExpMatchArray, context: Element | Document, isXML: boolean): Element[] | void;
42 | }
43 |
44 | interface FindFunctions {
45 | [name: string]: FindFunction;
46 | }
47 |
48 | interface PreFilterFunction {
49 | (match: RegExpMatchArray): string[];
50 | }
51 |
52 | interface PreFilterFunctions {
53 | [name: string]: PreFilterFunction;
54 | }
55 |
56 | interface FilterFunction {
57 | (element: string, ...matches: string[]): boolean;
58 | }
59 |
60 | interface FilterFunctions {
61 | [name: string]: FilterFunction;
62 | }
63 |
64 | interface AttrHandleFunction {
65 | (elem: any, casePreservedName: string, isXML: boolean): string;
66 | }
67 |
68 | interface AttrHandleFunctions {
69 | [name: string]: AttrHandleFunction;
70 | }
71 |
72 | interface PseudoFunction {
73 | (elem: Element): boolean;
74 | }
75 |
76 | interface PseudoFunctions {
77 | [name: string]: PseudoFunction;
78 | }
79 |
80 | interface SetFilterFunction {
81 | (elements: Element[], argument: number, not: boolean): Element[];
82 | }
83 |
84 | interface SetFilterFunctions {
85 | [name: string]: SetFilterFunction;
86 | }
87 |
88 | interface CreatePseudoFunction {
89 | (...args: any[]): PseudoFunction;
90 | }
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/node_modules/@types/sizzle/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "_from": "@types/sizzle@*",
3 | "_id": "@types/sizzle@2.3.2",
4 | "_inBundle": false,
5 | "_integrity": "sha1-qBG4wY4rq6t9VCszZYh64uTZ3kc=",
6 | "_location": "/@types/sizzle",
7 | "_phantomChildren": {},
8 | "_requested": {
9 | "type": "range",
10 | "registry": true,
11 | "raw": "@types/sizzle@*",
12 | "name": "@types/sizzle",
13 | "escapedName": "@types%2fsizzle",
14 | "scope": "@types",
15 | "rawSpec": "*",
16 | "saveSpec": null,
17 | "fetchSpec": "*"
18 | },
19 | "_requiredBy": [
20 | "/@types/jquery"
21 | ],
22 | "_resolved": "https://registry.npm.taobao.org/@types/sizzle/download/@types/sizzle-2.3.2.tgz",
23 | "_shasum": "a811b8c18e2babab7d542b3365887ae2e4d9de47",
24 | "_spec": "@types/sizzle@*",
25 | "_where": "D:\\projects\\Repo\\pandyle\\node_modules\\@types\\jquery",
26 | "bugs": {
27 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28 | },
29 | "bundleDependencies": false,
30 | "contributors": [
31 | {
32 | "name": "Leonard Thieu",
33 | "url": "https://github.com/leonard-thieu"
34 | }
35 | ],
36 | "dependencies": {},
37 | "deprecated": false,
38 | "description": "TypeScript definitions for sizzle",
39 | "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
40 | "license": "MIT",
41 | "main": "",
42 | "name": "@types/sizzle",
43 | "repository": {
44 | "type": "git",
45 | "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
46 | },
47 | "scripts": {},
48 | "typeScriptVersion": "2.3",
49 | "typesPublisherContentHash": "8d6f2e333bcb6c7fa99469e7e62dcef4c794dc432ce09634cae186cbcc333d0e",
50 | "version": "2.3.2"
51 | }
52 |
--------------------------------------------------------------------------------
/node_modules/jquery/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright JS Foundation and other contributors, https://js.foundation/
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/jquery/README.md:
--------------------------------------------------------------------------------
1 | # jQuery
2 |
3 | > jQuery is a fast, small, and feature-rich JavaScript library.
4 |
5 | For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
6 | For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
7 |
8 | If upgrading, please see the [blog post for 3.4.1](https://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/). This includes notable differences from the previous version and a more readable changelog.
9 |
10 | ## Including jQuery
11 |
12 | Below are some of the most common ways to include jQuery.
13 |
14 | ### Browser
15 |
16 | #### Script tag
17 |
18 | ```html
19 |
20 | ```
21 |
22 | #### Babel
23 |
24 | [Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
25 |
26 | ```js
27 | import $ from "jquery";
28 | ```
29 |
30 | #### Browserify/Webpack
31 |
32 | There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
33 |
34 | ```js
35 | var $ = require("jquery");
36 | ```
37 |
38 | #### AMD (Asynchronous Module Definition)
39 |
40 | AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
41 |
42 | ```js
43 | define(["jquery"], function($) {
44 |
45 | });
46 | ```
47 |
48 | ### Node
49 |
50 | To include jQuery in [Node](nodejs.org), first install with npm.
51 |
52 | ```sh
53 | npm install jquery
54 | ```
55 |
56 | For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
57 |
58 | ```js
59 | require("jsdom").env("", function(err, window) {
60 | if (err) {
61 | console.error(err);
62 | return;
63 | }
64 |
65 | var $ = require("jquery")(window);
66 | });
67 | ```
68 |
--------------------------------------------------------------------------------
/node_modules/jquery/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "main": "dist/jquery.js",
4 | "license": "MIT",
5 | "ignore": [
6 | "package.json"
7 | ],
8 | "keywords": [
9 | "jquery",
10 | "javascript",
11 | "browser",
12 | "library"
13 | ]
14 | }
--------------------------------------------------------------------------------
/node_modules/jquery/external/sizzle/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright JS Foundation and other contributors, https://js.foundation/
2 |
3 | This software consists of voluntary contributions made by many
4 | individuals. For exact contribution history, see the revision history
5 | available at https://github.com/jquery/sizzle
6 |
7 | The following license applies to all parts of this software except as
8 | documented below:
9 |
10 | ====
11 |
12 | Permission is hereby granted, free of charge, to any person obtaining
13 | a copy of this software and associated documentation files (the
14 | "Software"), to deal in the Software without restriction, including
15 | without limitation the rights to use, copy, modify, merge, publish,
16 | distribute, sublicense, and/or sell copies of the Software, and to
17 | permit persons to whom the Software is furnished to do so, subject to
18 | the following conditions:
19 |
20 | The above copyright notice and this permission notice shall be
21 | included in all copies or substantial portions of the Software.
22 |
23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 |
31 | ====
32 |
33 | All files located in the node_modules and external directories are
34 | externally maintained libraries used by this software which have their
35 | own licenses; we recommend you read them, as their terms may differ from
36 | the terms above.
37 |
--------------------------------------------------------------------------------
/node_modules/jquery/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "_from": "jquery@^3.2.1",
3 | "_id": "jquery@3.4.1",
4 | "_inBundle": false,
5 | "_integrity": "sha1-cU8fjZ3eS9+lV2S6N+8hRjDYDvI=",
6 | "_location": "/jquery",
7 | "_phantomChildren": {},
8 | "_requested": {
9 | "type": "range",
10 | "registry": true,
11 | "raw": "jquery@^3.2.1",
12 | "name": "jquery",
13 | "escapedName": "jquery",
14 | "rawSpec": "^3.2.1",
15 | "saveSpec": null,
16 | "fetchSpec": "^3.2.1"
17 | },
18 | "_requiredBy": [
19 | "#USER",
20 | "/"
21 | ],
22 | "_resolved": "https://registry.npm.taobao.org/jquery/download/jquery-3.4.1.tgz",
23 | "_shasum": "714f1f8d9dde4bdfa55764ba37ef214630d80ef2",
24 | "_spec": "jquery@^3.2.1",
25 | "_where": "D:\\projects\\Repo\\pandyle",
26 | "author": {
27 | "name": "JS Foundation and other contributors",
28 | "url": "https://github.com/jquery/jquery/blob/3.4.1/AUTHORS.txt"
29 | },
30 | "bugs": {
31 | "url": "https://github.com/jquery/jquery/issues"
32 | },
33 | "bundleDependencies": false,
34 | "commitplease": {
35 | "nohook": true,
36 | "components": [
37 | "Docs",
38 | "Tests",
39 | "Build",
40 | "Support",
41 | "Release",
42 | "Core",
43 | "Ajax",
44 | "Attributes",
45 | "Callbacks",
46 | "CSS",
47 | "Data",
48 | "Deferred",
49 | "Deprecated",
50 | "Dimensions",
51 | "Effects",
52 | "Event",
53 | "Manipulation",
54 | "Offset",
55 | "Queue",
56 | "Selector",
57 | "Serialize",
58 | "Traversing",
59 | "Wrap"
60 | ],
61 | "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
62 | "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
63 | },
64 | "dependencies": {},
65 | "deprecated": false,
66 | "description": "JavaScript library for DOM operations",
67 | "devDependencies": {
68 | "@babel/core": "7.3.3",
69 | "@babel/plugin-transform-for-of": "7.2.0",
70 | "commitplease": "3.2.0",
71 | "core-js": "2.6.5",
72 | "eslint-config-jquery": "1.0.1",
73 | "grunt": "1.0.3",
74 | "grunt-babel": "8.0.0",
75 | "grunt-cli": "1.3.2",
76 | "grunt-compare-size": "0.4.2",
77 | "grunt-contrib-uglify": "3.4.0",
78 | "grunt-contrib-watch": "1.1.0",
79 | "grunt-eslint": "21.0.0",
80 | "grunt-git-authors": "3.2.0",
81 | "grunt-jsonlint": "1.1.0",
82 | "grunt-karma": "3.0.1",
83 | "grunt-newer": "1.3.0",
84 | "grunt-npmcopy": "0.1.0",
85 | "gzip-js": "0.3.2",
86 | "husky": "1.3.1",
87 | "insight": "0.10.1",
88 | "jsdom": "13.2.0",
89 | "karma": "4.0.1",
90 | "karma-browserstack-launcher": "1.4.0",
91 | "karma-chrome-launcher": "2.2.0",
92 | "karma-firefox-launcher": "1.1.0",
93 | "karma-ie-launcher": "1.0.0",
94 | "karma-jsdom-launcher": "7.1.0",
95 | "karma-qunit": "3.0.0",
96 | "load-grunt-tasks": "4.0.0",
97 | "native-promise-only": "0.8.1",
98 | "promises-aplus-tests": "2.1.2",
99 | "q": "1.5.1",
100 | "qunit": "2.9.2",
101 | "raw-body": "2.3.3",
102 | "requirejs": "2.3.6",
103 | "sinon": "2.3.7",
104 | "sizzle": "2.3.4",
105 | "strip-json-comments": "2.0.1",
106 | "testswarm": "1.1.0",
107 | "uglify-js": "3.4.7"
108 | },
109 | "homepage": "https://jquery.com",
110 | "husky": {
111 | "hooks": {
112 | "commit-msg": "node node_modules/commitplease",
113 | "pre-commit": "grunt lint:newer qunit_fixture"
114 | }
115 | },
116 | "keywords": [
117 | "jquery",
118 | "javascript",
119 | "browser",
120 | "library"
121 | ],
122 | "license": "MIT",
123 | "main": "dist/jquery.js",
124 | "name": "jquery",
125 | "repository": {
126 | "type": "git",
127 | "url": "git+https://github.com/jquery/jquery.git"
128 | },
129 | "scripts": {
130 | "build": "npm install && grunt",
131 | "jenkins": "npm run test:browserless",
132 | "start": "grunt watch",
133 | "test": "grunt && grunt test:slow && grunt karma:main",
134 | "test:browser": "grunt && grunt karma:main",
135 | "test:browserless": "grunt && grunt test:slow"
136 | },
137 | "title": "jQuery",
138 | "version": "3.4.1"
139 | }
140 |
--------------------------------------------------------------------------------
/node_modules/jquery/src/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "../.eslintrc-browser.json",
5 |
6 | "overrides": [
7 | {
8 | "files": "wrapper.js",
9 | "globals": {
10 | "jQuery": false
11 | }
12 | }
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/jquery/src/ajax/jsonp.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core",
3 | "../var/isFunction",
4 | "./var/nonce",
5 | "./var/rquery",
6 | "../ajax"
7 | ], function( jQuery, isFunction, nonce, rquery ) {
8 |
9 | "use strict";
10 |
11 | var oldCallbacks = [],
12 | rjsonp = /(=)\?(?=&|$)|\?\?/;
13 |
14 | // Default jsonp settings
15 | jQuery.ajaxSetup( {
16 | jsonp: "callback",
17 | jsonpCallback: function() {
18 | var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
19 | this[ callback ] = true;
20 | return callback;
21 | }
22 | } );
23 |
24 | // Detect, normalize options and install callbacks for jsonp requests
25 | jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
26 |
27 | var callbackName, overwritten, responseContainer,
28 | jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
29 | "url" :
30 | typeof s.data === "string" &&
31 | ( s.contentType || "" )
32 | .indexOf( "application/x-www-form-urlencoded" ) === 0 &&
33 | rjsonp.test( s.data ) && "data"
34 | );
35 |
36 | // Handle iff the expected data type is "jsonp" or we have a parameter to set
37 | if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
38 |
39 | // Get callback name, remembering preexisting value associated with it
40 | callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?
41 | s.jsonpCallback() :
42 | s.jsonpCallback;
43 |
44 | // Insert callback into url or form data
45 | if ( jsonProp ) {
46 | s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
47 | } else if ( s.jsonp !== false ) {
48 | s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
49 | }
50 |
51 | // Use data converter to retrieve json after script execution
52 | s.converters[ "script json" ] = function() {
53 | if ( !responseContainer ) {
54 | jQuery.error( callbackName + " was not called" );
55 | }
56 | return responseContainer[ 0 ];
57 | };
58 |
59 | // Force json dataType
60 | s.dataTypes[ 0 ] = "json";
61 |
62 | // Install callback
63 | overwritten = window[ callbackName ];
64 | window[ callbackName ] = function() {
65 | responseContainer = arguments;
66 | };
67 |
68 | // Clean-up function (fires after converters)
69 | jqXHR.always( function() {
70 |
71 | // If previous value didn't exist - remove it
72 | if ( overwritten === undefined ) {
73 | jQuery( window ).removeProp( callbackName );
74 |
75 | // Otherwise restore preexisting value
76 | } else {
77 | window[ callbackName ] = overwritten;
78 | }
79 |
80 | // Save back as free
81 | if ( s[ callbackName ] ) {
82 |
83 | // Make sure that re-using the options doesn't screw things around
84 | s.jsonpCallback = originalSettings.jsonpCallback;
85 |
86 | // Save the callback name for future use
87 | oldCallbacks.push( callbackName );
88 | }
89 |
90 | // Call if it was a function and we have a response
91 | if ( responseContainer && isFunction( overwritten ) ) {
92 | overwritten( responseContainer[ 0 ] );
93 | }
94 |
95 | responseContainer = overwritten = undefined;
96 | } );
97 |
98 | // Delegate to script
99 | return "script";
100 | }
101 | } );
102 |
103 | } );
104 |
--------------------------------------------------------------------------------
/node_modules/jquery/src/ajax/load.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core",
3 | "../core/stripAndCollapse",
4 | "../var/isFunction",
5 | "../core/parseHTML",
6 | "../ajax",
7 | "../traversing",
8 | "../manipulation",
9 | "../selector"
10 | ], function( jQuery, stripAndCollapse, isFunction ) {
11 |
12 | "use strict";
13 |
14 | /**
15 | * Load a url into a page
16 | */
17 | jQuery.fn.load = function( url, params, callback ) {
18 | var selector, type, response,
19 | self = this,
20 | off = url.indexOf( " " );
21 |
22 | if ( off > -1 ) {
23 | selector = stripAndCollapse( url.slice( off ) );
24 | url = url.slice( 0, off );
25 | }
26 |
27 | // If it's a function
28 | if ( isFunction( params ) ) {
29 |
30 | // We assume that it's the callback
31 | callback = params;
32 | params = undefined;
33 |
34 | // Otherwise, build a param string
35 | } else if ( params && typeof params === "object" ) {
36 | type = "POST";
37 | }
38 |
39 | // If we have elements to modify, make the request
40 | if ( self.length > 0 ) {
41 | jQuery.ajax( {
42 | url: url,
43 |
44 | // If "type" variable is undefined, then "GET" method will be used.
45 | // Make value of this field explicit since
46 | // user can override it through ajaxSetup method
47 | type: type || "GET",
48 | dataType: "html",
49 | data: params
50 | } ).done( function( responseText ) {
51 |
52 | // Save response for use in complete callback
53 | response = arguments;
54 |
55 | self.html( selector ?
56 |
57 | // If a selector was specified, locate the right elements in a dummy div
58 | // Exclude scripts to avoid IE 'Permission Denied' errors
59 | jQuery( "" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :
60 |
61 | // Otherwise use the full result
62 | responseText );
63 |
64 | // If the request succeeds, this function gets "data", "status", "jqXHR"
65 | // but they are ignored because response was set above.
66 | // If it fails, this function gets "jqXHR", "status", "error"
67 | } ).always( callback && function( jqXHR, status ) {
68 | self.each( function() {
69 | callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );
70 | } );
71 | } );
72 | }
73 |
74 | return this;
75 | };
76 |
77 | } );
78 |
--------------------------------------------------------------------------------
/node_modules/jquery/src/ajax/parseXML.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | "use strict";
6 |
7 | // Cross-browser xml parsing
8 | jQuery.parseXML = function( data ) {
9 | var xml;
10 | if ( !data || typeof data !== "string" ) {
11 | return null;
12 | }
13 |
14 | // Support: IE 9 - 11 only
15 | // IE throws on parseFromString with invalid input.
16 | try {
17 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
18 | } catch ( e ) {
19 | xml = undefined;
20 | }
21 |
22 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
23 | jQuery.error( "Invalid XML: " + data );
24 | }
25 | return xml;
26 | };
27 |
28 | return jQuery.parseXML;
29 |
30 | } );
31 |
--------------------------------------------------------------------------------
/node_modules/jquery/src/ajax/script.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core",
3 | "../var/document",
4 | "../ajax"
5 | ], function( jQuery, document ) {
6 |
7 | "use strict";
8 |
9 | // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
10 | jQuery.ajaxPrefilter( function( s ) {
11 | if ( s.crossDomain ) {
12 | s.contents.script = false;
13 | }
14 | } );
15 |
16 | // Install script dataType
17 | jQuery.ajaxSetup( {
18 | accepts: {
19 | script: "text/javascript, application/javascript, " +
20 | "application/ecmascript, application/x-ecmascript"
21 | },
22 | contents: {
23 | script: /\b(?:java|ecma)script\b/
24 | },
25 | converters: {
26 | "text script": function( text ) {
27 | jQuery.globalEval( text );
28 | return text;
29 | }
30 | }
31 | } );
32 |
33 | // Handle cache's special case and crossDomain
34 | jQuery.ajaxPrefilter( "script", function( s ) {
35 | if ( s.cache === undefined ) {
36 | s.cache = false;
37 | }
38 | if ( s.crossDomain ) {
39 | s.type = "GET";
40 | }
41 | } );
42 |
43 | // Bind script tag hack transport
44 | jQuery.ajaxTransport( "script", function( s ) {
45 |
46 | // This transport only deals with cross domain or forced-by-attrs requests
47 | if ( s.crossDomain || s.scriptAttrs ) {
48 | var script, callback;
49 | return {
50 | send: function( _, complete ) {
51 | script = jQuery( "