Skip to content

Commit 9c6209f

Browse files
authored
Merge pull request #2 from jasparvathi/master
config(EJ2-6101): version 16.1.24 released
2 parents e861fd7 + b3168ca commit 9c6209f

File tree

982 files changed

+75160
-2808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

982 files changed

+75160
-2808
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ To compile the source files, use the below command
1616
npm run build
1717
```
1818

19-
## Testing
20-
21-
To test the source files, use the below command
22-
23-
```
24-
npm run test
25-
```
26-
2719
## Running
2820

2921
To run the samples, use the below command

config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"htmllint": ["./src/**/*.html"],
3+
"json": ["./**/*.json"],
4+
"samplejson": ["./src/**/*sample.json"],
5+
"dedupe": ["./src/**/*.js"],
6+
"watchSample": ["./src/**/*.js"],
7+
"jshint": ["./src/**/*.js", "!./src/**/*.min.js", "!./src/common/samplelist.js", "!./src/common/api-table-generator.js","!./src/common/search-index.js"],
8+
"github": ["./src/**/*.{html,ts,json}", "./styles{,/**}", "./src/**/images{,/**}", "./src/common/lib{,/**}", "./src/common/cldr-data{,/**}", "./src/showcase{,/**}", "!./src/showcase/**/!(webpack.config)*.{js,json}", "!./styles/**/!(index)*.css", "./spec/**/*.ts", "./*.html", "./favicon.ico", "karma.conf.js", "package.json", "test-main.js", "tsconfig.json", "webpack.config.js", "!./googlec03dd4bc003151bc.html", "license"]
9+
}

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,4 +362,4 @@ gulp.task('js-hint', function () {
362362
.pipe(jshint())
363363
.pipe(jshint.reporter('default'))
364364
.pipe(jshint.reporter('fail'));
365-
});
365+
});

index.html

Lines changed: 286 additions & 219 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
2-
"name": "@syncfusion/ej2-javascript-samples",
3-
"version": "1.0.0",
4-
"description": "Pure Javascript Samples for Syncfusion Essential JS 2",
5-
"author": "Syncfusion Inc.",
6-
"license": "SEE LICENSE IN license",
7-
"dependencies": {
8-
"@syncfusion/ej2": "*",
9-
"browser-sync": "^2.18.13",
10-
"cheerio": "^1.0.0-rc.1",
11-
"crossroads": "^0.12.2",
12-
"gulp": "^3.9.1",
13-
"gulp-jsoncombine": "^1.0.3",
14-
"gulp-print": "^2.0.1",
15-
"hasher": "^1.2.0",
16-
"markdown-it": "^8.4.0",
17-
"run-sequence": "^2.2.0",
18-
"webpack": "2.5.1",
19-
"webpack-stream": "^4.0.0"
20-
},
21-
"devDependencies": {
22-
"elasticlunr": "0.9.5",
23-
"gulp-jshint": "^2.0.1",
24-
"fuse.js": "^3.2.0",
25-
"jshint": "^2.9.2"
26-
},
27-
"scripts": {
28-
"test": "gulp js-hint ",
29-
"serve": "gulp serve",
30-
"build": "gulp build"
31-
}
32-
}
2+
"name": "@syncfusion/ej2-javascript-samples",
3+
"version": "16.1.24",
4+
"description": "Pure Javascript Samples for Syncfusion Essential JS 2",
5+
"author": "Syncfusion Inc.",
6+
"license": "SEE LICENSE IN license",
7+
"dependencies": {
8+
"@syncfusion/ej2": "16.1.25",
9+
"browser-sync": "^2.18.13",
10+
"cheerio": "^1.0.0-rc.1",
11+
"crossroads": "^0.12.2",
12+
"gulp": "^3.9.1",
13+
"gulp-jsoncombine": "^1.0.3",
14+
"gulp-print": "^2.0.1",
15+
"hasher": "^1.2.0",
16+
"markdown-it": "^8.4.0",
17+
"run-sequence": "^2.2.0",
18+
"webpack": "2.5.1",
19+
"webpack-stream": "^4.0.0"
20+
},
21+
"devDependencies": {
22+
"elasticlunr": "0.9.5",
23+
"gulp-jshint": "^2.0.1",
24+
"fuse.js": "^3.2.0",
25+
"jshint": "^2.9.2"
26+
},
27+
"scripts": {
28+
"test": "gulp js-hint ",
29+
"serve": "gulp serve",
30+
"build": "gulp build"
31+
}
32+
}

src/accordion/ajax-plnkr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"src/accordion/Ajax_content.html":"<style>\r\n .e-accordion table {\r\n border-collapse: collapse;\r\n border-spacing: 0;\r\n width: 100%;\r\n }\r\n \r\n .e-accordion table th,\r\n .e-accordion table td {\r\n font-weight: normal;\r\n padding: 5px;\r\n text-align: left;\r\n border: 1px solid #ddd\r\n }\r\n</style>\r\n<div>\r\n <table>\r\n <tr>\r\n <th rowspan=\"2\">CELLULAR</th>\r\n <td class='e-bold'>Technology</td>\r\n <td>GSM / CDMA / HSPA / EV-DO / LTE</td>\r\n </tr>\r\n <tr>\r\n <td class='e-bold'>Edge</td>\r\n <td>Yes</td>\r\n </tr>\r\n <tr>\r\n <th rowspan=\"3\">WIRELESS</th>\r\n <td class='e-bold'>Wi-Fi</td>\r\n <td>Yes ( 802.11 a/b/g/n/ac )</td>\r\n </tr>\r\n <tr>\r\n <td class='e-bold'>Bluetooth</td>\r\n <td>Yes ( v 5.0 )</td>\r\n </tr>\r\n <tr>\r\n <td class='e-bold'>NFC</td>\r\n <td>Yes</td>\r\n </tr>\r\n </table>\r\n</div>","index.html":"<!DOCTYPE html><html><head>\n<meta charset=\"UTF-8\">\n<link href=\"http://cdn.syncfusion.com/ej2/material.css\" rel=\"stylesheet\">\n<link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n<script type=\"text/javascript\">\n if (/MSIE d|Trident.*rv:/.test(navigator.userAgent)) {\n document.write(\"<script src='https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.5/bluebird.min.js'><\\/script>\");\n }\n</script>\n<script src=\"http://cdn.syncfusion.com/ej2/dist/ej2.min.js\" type=\"text/javascript\"></script>\n</head>\n<body>\n<div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div class=\"product_title\"> iPhone X Product Specification </div>\n <div id=\"Accordion_Nested\"></div>\n </div>\n <div id=\"Sensor_features\" style=\"display:none\">\n <table>\n <tbody><tr>\n <td class=\"e-bold\">Proximity sensor</td>\n <td>Yes</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Face ID</td>\n <td>Yes</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Accelerometer</td>\n <td>Yes</td>\n </tr>\n </tbody></table>\n </div>\n <div id=\"Hard_Soft_features\" style=\"display:none\">\n <table>\n <tbody><tr>\n <th rowspan=\"3\"> Hardware</th>\n <td class=\"e-bold\" rowspan=\"2 \">Chip</td>\n <td>Apple A11 Bionic chip with 64-bit architecture</td>\n </tr>\n <tr>\n <td>Embedded M11 motion coprocessor</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Capacity</td>\n <td>64GB/256GB</td>\n </tr>\n <tr>\n <th> Software</th>\n <td class=\"e-bold\" rowspan=\"2 \">Operating System</td>\n <td>iOS 11</td>\n </tr>\n </tbody></table>\n </div>\n <div id=\"Video_Rec_features\" style=\"display:none\">\n <table>\n <tbody><tr>\n <th class=\"e-bold\" rowspan=\"9\">Video Recording</th>\n </tr>\n <tr>\n <td class=\"e-bold\">4K video recording</td>\n </tr>\n <tr>\n <td class=\"e-bold\">1080p &amp; 720p HD video recording</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Optical zoom, 6x digital zoom</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Slow motion video support</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Take 8MP still photos while recording 4K video</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Noise reduction</td>\n </tr>\n </tbody></table>\n </div>\n <div id=\"Camera_features\" style=\"display:none\">\n <table>\n <tbody><tr>\n <th class=\"e-bold\" rowspan=\"3\">Camera</th>\n <td class=\"e-bold\"> 12MP wide-angle</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Live Photos with stabilization</td>\n </tr>\n <tr>\n <td class=\"e-bold\">Body and face detection</td>\n </tr>\n <tr>\n <th class=\"e-bold\" rowspan=\"4\">TrueDepth Camera</th>\n <td class=\"e-bold\"> 7MP camera</td>\n </tr>\n <tr>\n <td class=\"e-bold\"> Animoji</td>\n </tr>\n <tr>\n <td class=\"e-bold\"> Face detection</td>\n </tr>\n </tbody></table>\n </div>\n <div id=\"source_link\">Source: &#xA0;\n <a href=\"https://www.apple.com/iphone-x/specs/\" target=\"_blank\">www.apple.com/iphone-x/specs/</a>\n </div>\n</div>\n\n\n<style>\n @-moz-document url-prefix() {\n .e-accordion .e-content table {\n border-collapse: initial;\n }\n }\n \n .e-accordion table {\n border-collapse: collapse;\n border-spacing: 0;\n width: 100%;\n }\n \n .e-accordion table th,\n .e-accordion table td {\n font-weight: normal;\n padding: 5px;\n text-align: left;\n border: 1px solid #ddd\n }\n \n .product_title {\n text-align: center;\n margin: 20px 0;\n padding: 10px 0;\n text-overflow: ellipsis;\n font-weight: bold;\n font-size: 16px;\n }\n \n .accordion-control-section {\n margin: 0 10% 0 10%;\n padding-bottom: 25px;\n }\n \n #source_link {\n float: right;\n margin-right: 10px;\n }\n \n @media screen and (max-width: 768px) {\n .accordion-control-section {\n margin: 0;\n margin-bottom: 20px;\n }\n #source_link {\n margin-top: -25px;\n margin-right: 0px;\n }\n }\n</style>\n<script src=\"index.js\" type=\"text/javascript\"></script>\n\n</body></html>","index.js":"ej.base.enableRipple(true)\n/**\r\n * Accordion Ajax Sample\r\n */\r\nvar acrdnObj,nestAcrdn;\r\n\r\n var ajax = new ej.base.Ajax('./src/accordion/Ajax_content.html', 'GET', true);\r\n ajax.send().then();\r\n ajax.onSuccess = function (data) {\r\n //Initialize Accordion component\r\n acrdnObj = new ej.navigations.Accordion({\r\n expandMode: 'Single',\r\n expanding: expand,\r\n items: [\r\n { header: 'Network & Connectivity', content: data, expanded: true },\r\n { header: 'Feature', content: '<div id=\"nested_Acc\"></div>' },\r\n { header: 'Hardware & Software', content: '#Hard_Soft_features' }\r\n ]\r\n });\r\n //Render initialized Accordion component\r\n acrdnObj.appendTo('#Accordion_Nested');\r\n };\r\n\r\n//Expanding Event function for Accordion component.\r\nfunction expand(e) {\r\n if (e.isExpanded && [].indexOf.call(this.items, e.item) === 1) {\r\n if (e.element.querySelectorAll('.e-accordion').length > 0) {\r\n return;\r\n }\r\n //Initialize Nested Accordion component\r\n nestAcrdn = new ej.navigations.Accordion({\r\n expandMode: 'Single',\r\n items: [\r\n { header: 'Sensor', content: '#Sensor_features' },\r\n { header: 'Camera', content: '#Camera_features' },\r\n { header: 'Video Recording', content: '#Video_Rec_features' },\r\n ]\r\n });\r\n //Render initialized Nested Accordion component\r\n nestAcrdn.appendTo('#nested_Acc');\r\n }\r\n}\r\n\r\n\r\n "}

src/accordion/default-plnkr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"index.html":"<!DOCTYPE html><html><head>\n<meta charset=\"UTF-8\">\n<link href=\"http://cdn.syncfusion.com/ej2/material.css\" rel=\"stylesheet\">\n<link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n<script type=\"text/javascript\">\n if (/MSIE d|Trident.*rv:/.test(navigator.userAgent)) {\n document.write(\"<script src='https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.5/bluebird.min.js'><\\/script>\");\n }\n</script>\n<script src=\"http://cdn.syncfusion.com/ej2/dist/ej2.min.js\" type=\"text/javascript\"></script>\n</head>\n<body>\n<div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div id=\"Accordion_default\"></div>\n </div>\n</div>\n\n\n<style>\n .accordion-control-section {\n margin: 0 10% 0 10%;\n }\n \n @media screen and (max-width: 768px) {\n .accordion-control-section {\n margin: 0;\n }\n }\n</style>\n<script src=\"index.js\" type=\"text/javascript\"></script>\n\n</body></html>","index.js":"ej.base.enableRipple(true)\n/**\r\n * Accordion Default Sample\r\n */\r\n\r\n //Initialize Accordion component\r\n var accordion = new ej.navigations.Accordion({\r\n items: [\r\n { header: 'ASP.NET', expanded: true, content: 'Microsoft ASP.NET is a set of technologies in the Microsoft .NET Framework for building Web applications and XML Web services. ASP.NET pages execute on the server and generate markup such as HTML, WML, or XML that is sent to a desktop or mobile browser. ASP.NET pages use a compiled,event-driven programming model that improves performance and enables the separation of application logic and user interface.' },\r\n { header: 'ASP.NET MVC', content: 'The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication.' },\r\n { header: 'JavaScript', content: 'JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.More recently, however, it has become common in both game development and the creation of desktop applications.' }\r\n ]\r\n });\r\n //Render initialized Accordion component\r\n accordion.appendTo('#Accordion_default');\r\n"}

src/accordion/icons-plnkr.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

src/accordion/rtl-plnkr.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

src/accordion/sample.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,26 @@
66
{
77
"url": "default",
88
"name": "Default Functionalities",
9-
"category": "Accordion"
9+
"category": "Accordion",
10+
"api": {"AccordionItem": ["header", "content", "expanded"], "Accordion":["items"] }
1011
},
1112
{
1213
"url": "ajax",
1314
"name": "Ajax Content",
14-
"category": "Accordion"
15+
"category": "Accordion",
16+
"api": {"Accordion": ["expandMode","expanding"] }
1517
},
1618
{
1719
"url": "icons",
1820
"name": "Icons",
19-
"category": "Accordion"
21+
"category": "Accordion",
22+
"api": {"AccordionItem": ["iconCss"] }
2023
},
2124
{
2225
"url": "rtl",
2326
"name": "RTL",
24-
"category": "Accordion"
27+
"category": "Accordion",
28+
"api":{"Accordion":["enableRtl"] }
2529
}
2630
]
2731
}

0 commit comments

Comments
 (0)