@syncfusion/ej2-navigations 20.1.60 → 20.2.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/ej2-navigations.umd.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-navigations.es2015.js +82 -131
  5. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es5.js +84 -139
  7. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  8. package/dist/global/ej2-navigations.min.js +2 -2
  9. package/dist/global/ej2-navigations.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/helpers/e2e/accordionHelper.js +70 -53
  12. package/helpers/e2e/contextmenuHelper.js +52 -35
  13. package/helpers/e2e/index.js +14 -12
  14. package/helpers/e2e/menuHelper.js +52 -35
  15. package/helpers/e2e/sidebarHelper.js +109 -92
  16. package/helpers/e2e/tabHelper.js +73 -56
  17. package/helpers/e2e/toolbarHelper.js +73 -56
  18. package/helpers/e2e/treeview.js +79 -61
  19. package/package.json +11 -11
  20. package/src/breadcrumb/breadcrumb.js +0 -6
  21. package/src/carousel/carousel-model.d.ts +15 -28
  22. package/src/carousel/carousel.d.ts +16 -23
  23. package/src/carousel/carousel.js +37 -45
  24. package/src/common/menu-base.js +3 -4
  25. package/src/sidebar/sidebar.d.ts +0 -1
  26. package/src/sidebar/sidebar.js +2 -6
  27. package/src/tab/tab-model.d.ts +1 -1
  28. package/src/tab/tab.d.ts +0 -4
  29. package/src/tab/tab.js +32 -73
  30. package/src/toolbar/toolbar.js +6 -0
  31. package/src/treeview/treeview-model.d.ts +1 -1
  32. package/src/treeview/treeview.js +3 -6
  33. package/styles/accordion/_fusionnew-definition.scss +85 -0
  34. package/styles/accordion/_material3-definition.scss +85 -0
  35. package/styles/accordion/icons/_fusionnew.scss +18 -0
  36. package/styles/accordion/icons/_material3.scss +18 -0
  37. package/styles/bootstrap-dark.css +743 -14
  38. package/styles/bootstrap-dark.scss +1 -0
  39. package/styles/bootstrap.css +744 -14
  40. package/styles/bootstrap.scss +1 -0
  41. package/styles/bootstrap4.css +745 -14
  42. package/styles/bootstrap4.scss +1 -0
  43. package/styles/bootstrap5-dark.css +789 -14
  44. package/styles/bootstrap5-dark.scss +1 -0
  45. package/styles/bootstrap5.css +789 -14
  46. package/styles/bootstrap5.scss +1 -0
  47. package/styles/breadcrumb/_fluent-definition.scss +1 -1
  48. package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
  49. package/styles/breadcrumb/_layout.scss +1 -1
  50. package/styles/breadcrumb/_material3-definition.scss +59 -0
  51. package/styles/breadcrumb/fluent-dark.css +5 -4
  52. package/styles/breadcrumb/fluent.css +5 -4
  53. package/styles/breadcrumb/icons/_fluent.scss +2 -2
  54. package/styles/breadcrumb/icons/_fusionnew.scss +25 -0
  55. package/styles/breadcrumb/icons/_material3.scss +25 -0
  56. package/styles/carousel/_fusionnew-definition.scss +22 -0
  57. package/styles/carousel/_layout.scss +54 -43
  58. package/styles/carousel/_material3-definition.scss +22 -0
  59. package/styles/carousel/bootstrap-dark.css +23 -14
  60. package/styles/carousel/bootstrap.css +23 -14
  61. package/styles/carousel/bootstrap4.css +23 -14
  62. package/styles/carousel/bootstrap5-dark.css +23 -14
  63. package/styles/carousel/bootstrap5.css +23 -14
  64. package/styles/carousel/fabric-dark.css +23 -14
  65. package/styles/carousel/fabric.css +23 -14
  66. package/styles/carousel/fluent-dark.css +28 -19
  67. package/styles/carousel/fluent.css +23 -14
  68. package/styles/carousel/highcontrast-light.css +23 -14
  69. package/styles/carousel/highcontrast.css +23 -14
  70. package/styles/carousel/icons/_fusionnew.scss +30 -0
  71. package/styles/carousel/icons/_material3.scss +30 -0
  72. package/styles/carousel/material-dark.css +23 -14
  73. package/styles/carousel/material.css +23 -14
  74. package/styles/carousel/tailwind-dark.css +23 -14
  75. package/styles/carousel/tailwind.css +23 -14
  76. package/styles/context-menu/_fusionnew-definition.scss +52 -0
  77. package/styles/context-menu/_layout.scss +26 -0
  78. package/styles/context-menu/_material3-definition.scss +52 -0
  79. package/styles/context-menu/_theme.scss +12 -0
  80. package/styles/context-menu/bootstrap-dark.css +33 -0
  81. package/styles/context-menu/bootstrap-dark.scss +3 -0
  82. package/styles/context-menu/bootstrap.css +34 -0
  83. package/styles/context-menu/bootstrap.scss +3 -0
  84. package/styles/context-menu/bootstrap4.css +34 -0
  85. package/styles/context-menu/bootstrap4.scss +3 -0
  86. package/styles/context-menu/bootstrap5-dark.css +44 -0
  87. package/styles/context-menu/bootstrap5-dark.scss +3 -0
  88. package/styles/context-menu/bootstrap5.css +44 -0
  89. package/styles/context-menu/bootstrap5.scss +3 -0
  90. package/styles/context-menu/fabric-dark.css +33 -0
  91. package/styles/context-menu/fabric-dark.scss +3 -0
  92. package/styles/context-menu/fabric.css +34 -0
  93. package/styles/context-menu/fabric.scss +3 -0
  94. package/styles/context-menu/fluent-dark.css +44 -0
  95. package/styles/context-menu/fluent-dark.scss +3 -0
  96. package/styles/context-menu/fluent.css +44 -0
  97. package/styles/context-menu/fluent.scss +3 -0
  98. package/styles/context-menu/highcontrast-light.css +33 -0
  99. package/styles/context-menu/highcontrast-light.scss +3 -0
  100. package/styles/context-menu/highcontrast.css +34 -0
  101. package/styles/context-menu/highcontrast.scss +3 -0
  102. package/styles/context-menu/icons/_fusionnew.scss +32 -0
  103. package/styles/context-menu/icons/_material3.scss +32 -0
  104. package/styles/context-menu/material-dark.css +51 -0
  105. package/styles/context-menu/material-dark.scss +3 -0
  106. package/styles/context-menu/material.css +53 -0
  107. package/styles/context-menu/material.scss +3 -0
  108. package/styles/context-menu/tailwind-dark.css +44 -0
  109. package/styles/context-menu/tailwind-dark.scss +3 -0
  110. package/styles/context-menu/tailwind.css +44 -0
  111. package/styles/context-menu/tailwind.scss +3 -0
  112. package/styles/fabric-dark.css +743 -14
  113. package/styles/fabric-dark.scss +1 -0
  114. package/styles/fabric.css +744 -14
  115. package/styles/fabric.scss +1 -0
  116. package/styles/fluent-dark.css +799 -56
  117. package/styles/fluent-dark.scss +1 -0
  118. package/styles/fluent.css +762 -19
  119. package/styles/fluent.scss +1 -0
  120. package/styles/h-scroll/_fusionnew-definition.scss +78 -0
  121. package/styles/h-scroll/_material3-definition.scss +78 -0
  122. package/styles/h-scroll/icons/_fusionnew.scss +49 -0
  123. package/styles/h-scroll/icons/_material3.scss +49 -0
  124. package/styles/highcontrast-light.css +743 -14
  125. package/styles/highcontrast-light.scss +1 -0
  126. package/styles/highcontrast.css +744 -14
  127. package/styles/highcontrast.scss +1 -0
  128. package/styles/material-dark.css +762 -15
  129. package/styles/material-dark.scss +1 -0
  130. package/styles/material.css +763 -14
  131. package/styles/material.scss +1 -0
  132. package/styles/menu/_fusionnew-definition.scss +67 -0
  133. package/styles/menu/_material3-definition.scss +67 -0
  134. package/styles/menu/_theme.scss +3 -0
  135. package/styles/menu/bootstrap4.css +1 -0
  136. package/styles/menu/fluent-dark.css +1 -1
  137. package/styles/menu/fluent.css +1 -1
  138. package/styles/menu/icons/_fusionnew.scss +133 -0
  139. package/styles/menu/icons/_material3.scss +133 -0
  140. package/styles/pager/_all.scss +2 -0
  141. package/styles/pager/_bootstrap-dark-definition.scss +132 -0
  142. package/styles/pager/_bootstrap-definition.scss +132 -0
  143. package/styles/pager/_bootstrap4-definition.scss +131 -0
  144. package/styles/pager/_bootstrap5-dark-definition.scss +1 -0
  145. package/styles/pager/_bootstrap5-definition.scss +146 -0
  146. package/styles/pager/_fabric-dark-definition.scss +131 -0
  147. package/styles/pager/_fabric-definition.scss +130 -0
  148. package/styles/pager/_fluent-dark-definition.scss +1 -0
  149. package/styles/pager/_fluent-definition.scss +133 -0
  150. package/styles/pager/_fusionnew-definition.scss +146 -0
  151. package/styles/pager/_highcontrast-definition.scss +130 -0
  152. package/styles/pager/_highcontrast-light-definition.scss +130 -0
  153. package/styles/pager/_layout.scss +899 -0
  154. package/styles/pager/_material-dark-definition.scss +132 -0
  155. package/styles/pager/_material-definition.scss +131 -0
  156. package/styles/pager/_material3-definition.scss +146 -0
  157. package/styles/pager/_tailwind-dark-definition.scss +1 -0
  158. package/styles/pager/_tailwind-definition.scss +132 -0
  159. package/styles/pager/_theme.scss +153 -0
  160. package/styles/pager/bootstrap-dark.css +686 -0
  161. package/styles/pager/bootstrap-dark.scss +4 -0
  162. package/styles/pager/bootstrap.css +686 -0
  163. package/styles/pager/bootstrap.scss +4 -0
  164. package/styles/pager/bootstrap4.css +686 -0
  165. package/styles/pager/bootstrap4.scss +4 -0
  166. package/styles/pager/bootstrap5-dark.css +721 -0
  167. package/styles/pager/bootstrap5-dark.scss +4 -0
  168. package/styles/pager/bootstrap5.css +721 -0
  169. package/styles/pager/bootstrap5.scss +4 -0
  170. package/styles/pager/fabric-dark.css +686 -0
  171. package/styles/pager/fabric-dark.scss +4 -0
  172. package/styles/pager/fabric.css +686 -0
  173. package/styles/pager/fabric.scss +4 -0
  174. package/styles/pager/fluent-dark.css +688 -0
  175. package/styles/pager/fluent-dark.scss +4 -0
  176. package/styles/pager/fluent.css +688 -0
  177. package/styles/pager/fluent.scss +4 -0
  178. package/styles/pager/highcontrast-light.css +686 -0
  179. package/styles/pager/highcontrast-light.scss +4 -0
  180. package/styles/pager/highcontrast.css +686 -0
  181. package/styles/pager/highcontrast.scss +4 -0
  182. package/styles/pager/icons/_bootstrap-dark.scss +50 -0
  183. package/styles/pager/icons/_bootstrap.scss +49 -0
  184. package/styles/pager/icons/_bootstrap4.scss +49 -0
  185. package/styles/pager/icons/_bootstrap5-dark.scss +1 -0
  186. package/styles/pager/icons/_bootstrap5.scss +50 -0
  187. package/styles/pager/icons/_fabric-dark.scss +50 -0
  188. package/styles/pager/icons/_fabric.scss +50 -0
  189. package/styles/pager/icons/_fluent-dark.scss +1 -0
  190. package/styles/pager/icons/_fluent.scss +50 -0
  191. package/styles/pager/icons/_fusionnew.scss +50 -0
  192. package/styles/pager/icons/_highcontrast-light.scss +50 -0
  193. package/styles/pager/icons/_highcontrast.scss +41 -0
  194. package/styles/pager/icons/_material-dark.scss +50 -0
  195. package/styles/pager/icons/_material.scss +41 -0
  196. package/styles/pager/icons/_material3.scss +50 -0
  197. package/styles/pager/icons/_tailwind-dark.scss +1 -0
  198. package/styles/pager/icons/_tailwind.scss +50 -0
  199. package/styles/pager/material-dark.css +687 -0
  200. package/styles/pager/material-dark.scss +4 -0
  201. package/styles/pager/material.css +687 -0
  202. package/styles/pager/material.scss +4 -0
  203. package/styles/pager/tailwind-dark.css +813 -0
  204. package/styles/pager/tailwind-dark.scss +4 -0
  205. package/styles/pager/tailwind.css +813 -0
  206. package/styles/pager/tailwind.scss +4 -0
  207. package/styles/sidebar/_fusionnew-definition.scss +5 -0
  208. package/styles/sidebar/_material3-definition.scss +5 -0
  209. package/styles/tab/_fusionnew-definition.scss +401 -0
  210. package/styles/tab/_material-dark-definition.scss +1 -1
  211. package/styles/tab/_material3-definition.scss +401 -0
  212. package/styles/tab/fluent-dark.css +30 -30
  213. package/styles/tab/icons/_fusionnew.scss +141 -0
  214. package/styles/tab/icons/_material3.scss +141 -0
  215. package/styles/tab/material-dark.css +1 -1
  216. package/styles/tailwind-dark.css +882 -15
  217. package/styles/tailwind-dark.scss +1 -0
  218. package/styles/tailwind.css +882 -15
  219. package/styles/tailwind.scss +1 -0
  220. package/styles/toolbar/_fusionnew-definition.scss +162 -0
  221. package/styles/toolbar/_material3-definition.scss +162 -0
  222. package/styles/toolbar/icons/_fusionnew.scss +17 -0
  223. package/styles/toolbar/icons/_material3.scss +17 -0
  224. package/styles/treeview/_fusionnew-definition.scss +120 -0
  225. package/styles/treeview/_material3-definition.scss +120 -0
  226. package/styles/treeview/fluent-dark.css +2 -2
  227. package/styles/treeview/icons/_fusionnew.scss +43 -0
  228. package/styles/treeview/icons/_material3.scss +43 -0
  229. package/styles/v-scroll/_fusionnew-definition.scss +49 -0
  230. package/styles/v-scroll/_material3-definition.scss +49 -0
  231. package/styles/v-scroll/icons/_fusionnew.scss +27 -0
  232. package/styles/v-scroll/icons/_material3.scss +27 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.1.60
3
+ * version : 20.2.38
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -1,54 +1,71 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class AccordionHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var AccordionHelper = (function (_super) {
18
+ __extends(AccordionHelper, _super);
19
+ function AccordionHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- selector(arg) {
14
- return (this.wrapperFn ? this.wrapperFn(arg) : arg);
15
- }
16
- getElement() {
17
- return this.selector('#' + this.id);
18
- }
19
- getItemElement() {
20
- return this.selector('#' + this.id + ' .e-acrdn-item');
21
- }
22
- getHeaderElement() {
23
- return this.selector('#' + this.id + ' .e-acrdn-item .e-acrdn-header');
24
- }
25
- getPanelElement() {
26
- return this.selector('#' + this.id + ' .e-acrdn-item .e-acrdn-panel');
27
- }
28
- getActiveElement() {
29
- return this.selector('#' + this.id + ' .e-acrdn-item.e-selected.e-active');
30
- }
31
- getExpandStateElement() {
32
- return this.selector('#' + this.id + ' .e-acrdn-item.e-expand-state');
33
- }
34
- setModel(property, value) {
35
- let cy;
36
- return cy.get('#' + this.id).then((ele) => {
37
- return ele[0].ej2_instances[0][property] = value;
38
- });
39
- }
40
- getModel(property) {
41
- let cy;
42
- return cy.get('#' + this.id).then((ele) => {
43
- return ele[0].ej2_instances[0][property];
44
- });
45
- }
46
- invoke(functionName, args = []) {
47
- let cy;
48
- return cy.get('#' + this.id).then((ele) => {
49
- var inst = ele[0].ej2_instances[0];
50
- return inst[functionName].apply(inst, args);
51
- });
52
- }
53
- }
54
- exports.AccordionHelper = AccordionHelper;
27
+ AccordionHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ AccordionHelper.prototype.getElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ AccordionHelper.prototype.getItemElement = function () {
34
+ return this.selector('#' + this.id + ' .e-acrdn-item');
35
+ };
36
+ AccordionHelper.prototype.getHeaderElement = function () {
37
+ return this.selector('#' + this.id + ' .e-acrdn-item .e-acrdn-header');
38
+ };
39
+ AccordionHelper.prototype.getPanelElement = function () {
40
+ return this.selector('#' + this.id + ' .e-acrdn-item .e-acrdn-panel');
41
+ };
42
+ AccordionHelper.prototype.getActiveElement = function () {
43
+ return this.selector('#' + this.id + ' .e-acrdn-item.e-selected.e-active');
44
+ };
45
+ AccordionHelper.prototype.getExpandStateElement = function () {
46
+ return this.selector('#' + this.id + ' .e-acrdn-item.e-expand-state');
47
+ };
48
+ AccordionHelper.prototype.setModel = function (property, value) {
49
+ var cy;
50
+ return cy.get('#' + this.id).then(function (ele) {
51
+ return ele[0].ej2_instances[0][property] = value;
52
+ });
53
+ };
54
+ AccordionHelper.prototype.getModel = function (property) {
55
+ var cy;
56
+ return cy.get('#' + this.id).then(function (ele) {
57
+ return ele[0].ej2_instances[0][property];
58
+ });
59
+ };
60
+ AccordionHelper.prototype.invoke = function (functionName, args) {
61
+ if (args === void 0) { args = []; }
62
+ var cy;
63
+ return cy.get('#' + this.id).then(function (ele) {
64
+ var inst = ele[0].ej2_instances[0];
65
+ return inst[functionName].apply(inst, args);
66
+ });
67
+ };
68
+ return AccordionHelper;
69
+ }(e2e_1.TestHelper));
70
+ exports.AccordionHelper = AccordionHelper;
71
+ });
@@ -1,36 +1,53 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class ContextMenuHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var ContextMenuHelper = (function (_super) {
18
+ __extends(ContextMenuHelper, _super);
19
+ function ContextMenuHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- getElement() {
14
- return this.selector('#' + this.id);
15
- }
16
- setModel(property, value) {
17
- let cy;
18
- return cy.get('#' + this.id).then((ele) => {
19
- return ele[0].ej2_instances[0][property] = value;
20
- });
21
- }
22
- getModel(property) {
23
- let cy;
24
- return cy.get('#' + this.id).then((ele) => {
25
- return ele[0].ej2_instances[0][property];
26
- });
27
- }
28
- invoke(fName, args = []) {
29
- let cy;
30
- return cy.get('#' + this.id).then((ele) => {
31
- var inst = ele[0].ej2_instances[0];
32
- return inst[fName].apply(inst, args);
33
- });
34
- }
35
- }
36
- exports.ContextMenuHelper = ContextMenuHelper;
27
+ ContextMenuHelper.prototype.getElement = function () {
28
+ return this.selector('#' + this.id);
29
+ };
30
+ ContextMenuHelper.prototype.setModel = function (property, value) {
31
+ var cy;
32
+ return cy.get('#' + this.id).then(function (ele) {
33
+ return ele[0].ej2_instances[0][property] = value;
34
+ });
35
+ };
36
+ ContextMenuHelper.prototype.getModel = function (property) {
37
+ var cy;
38
+ return cy.get('#' + this.id).then(function (ele) {
39
+ return ele[0].ej2_instances[0][property];
40
+ });
41
+ };
42
+ ContextMenuHelper.prototype.invoke = function (fName, args) {
43
+ if (args === void 0) { args = []; }
44
+ var cy;
45
+ return cy.get('#' + this.id).then(function (ele) {
46
+ var inst = ele[0].ej2_instances[0];
47
+ return inst[fName].apply(inst, args);
48
+ });
49
+ };
50
+ return ContextMenuHelper;
51
+ }(e2e_1.TestHelper));
52
+ exports.ContextMenuHelper = ContextMenuHelper;
53
+ });
@@ -1,12 +1,14 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./accordionHelper"));
7
- __export(require("./sidebarHelper"));
8
- __export(require("./tabHelper"));
9
- __export(require("./toolbarHelper"));
10
- __export(require("./contextmenuHelper"));
11
- __export(require("./menuHelper"));
12
- __export(require("./treeview"));
1
+ define(["require", "exports", "./accordionHelper", "./sidebarHelper", "./tabHelper", "./toolbarHelper", "./contextmenuHelper", "./menuHelper", "./treeview"], function (require, exports, accordionHelper_1, sidebarHelper_1, tabHelper_1, toolbarHelper_1, contextmenuHelper_1, menuHelper_1, treeview_1) {
2
+ "use strict";
3
+ function __export(m) {
4
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
+ }
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ __export(accordionHelper_1);
8
+ __export(sidebarHelper_1);
9
+ __export(tabHelper_1);
10
+ __export(toolbarHelper_1);
11
+ __export(contextmenuHelper_1);
12
+ __export(menuHelper_1);
13
+ __export(treeview_1);
14
+ });
@@ -1,36 +1,53 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class MenuHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var MenuHelper = (function (_super) {
18
+ __extends(MenuHelper, _super);
19
+ function MenuHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- getElement() {
14
- return this.selector('#' + this.id);
15
- }
16
- setModel(property, value) {
17
- let cy;
18
- return cy.get('#' + this.id).then((ele) => {
19
- return ele[0].ej2_instances[0][property] = value;
20
- });
21
- }
22
- getModel(property) {
23
- let cy;
24
- return cy.get('#' + this.id).then((ele) => {
25
- return ele[0].ej2_instances[0][property];
26
- });
27
- }
28
- invoke(fName, args = []) {
29
- let cy;
30
- return cy.get('#' + this.id).then((ele) => {
31
- var inst = ele[0].ej2_instances[0];
32
- return inst[fName].apply(inst, args);
33
- });
34
- }
35
- }
36
- exports.MenuHelper = MenuHelper;
27
+ MenuHelper.prototype.getElement = function () {
28
+ return this.selector('#' + this.id);
29
+ };
30
+ MenuHelper.prototype.setModel = function (property, value) {
31
+ var cy;
32
+ return cy.get('#' + this.id).then(function (ele) {
33
+ return ele[0].ej2_instances[0][property] = value;
34
+ });
35
+ };
36
+ MenuHelper.prototype.getModel = function (property) {
37
+ var cy;
38
+ return cy.get('#' + this.id).then(function (ele) {
39
+ return ele[0].ej2_instances[0][property];
40
+ });
41
+ };
42
+ MenuHelper.prototype.invoke = function (fName, args) {
43
+ if (args === void 0) { args = []; }
44
+ var cy;
45
+ return cy.get('#' + this.id).then(function (ele) {
46
+ var inst = ele[0].ej2_instances[0];
47
+ return inst[fName].apply(inst, args);
48
+ });
49
+ };
50
+ return MenuHelper;
51
+ }(e2e_1.TestHelper));
52
+ exports.MenuHelper = MenuHelper;
53
+ });
@@ -1,93 +1,110 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class SideBarHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var SideBarHelper = (function (_super) {
18
+ __extends(SideBarHelper, _super);
19
+ function SideBarHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- selector(arg) {
14
- return (this.wrapperFn ? this.wrapperFn(arg) : arg);
15
- }
16
- getElement() {
17
- return this.selector('#' + this.id);
18
- }
19
- getSidebar() {
20
- return this.selector('.e-sidebar');
21
- }
22
- getLeftSideBar() {
23
- return this.selector('.e-sidebar.e-left.e-open');
24
- }
25
- getLeft() {
26
- return this.selector('.e-sidebar.e-left');
27
- }
28
- getRight() {
29
- return this.selector('.e-sidebar.e-right');
30
- }
31
- getRightSideBar() {
32
- return this.selector('.e-sidebar.e-right.e-open');
33
- }
34
- getDockSidebar() {
35
- return this.selector('.e-sidebar.e-dock');
36
- }
37
- getExpandedDockSidebar() {
38
- return this.selector('.e-selector.e-dock.e-open');
39
- }
40
- getCollapsedDockSidebar() {
41
- return this.selector('.e-sidebar.e-dock.e-close');
42
- }
43
- getOverStateSidebar() {
44
- return this.selector('.e-sidebar.e-over');
45
- }
46
- getExpandedOverStateSidebar() {
47
- return this.selector('.e-sidebar.e-over.e-open');
48
- }
49
- getCollapsedOverStateSidebar() {
50
- return this.selector('.e-sidebar.e-over.e-close');
51
- }
52
- getPushStateSidebar() {
53
- return this.selector('.e-sidebar.e-push');
54
- }
55
- getExpandedPushStateSidebar() {
56
- return this.selector('.e-sidebar.e-push.e-open');
57
- }
58
- getCollapsedPushStateSidebar() {
59
- return this.selector('.e-sidebar.e-push.e-close');
60
- }
61
- getSlideStateSidebar() {
62
- return this.selector('.e-sidebar.e-slide');
63
- }
64
- getExpandedSlideStateSidebar() {
65
- return this.selector('.e-sidebar.e-slide.e-open');
66
- }
67
- getCollapsedSlideStateSidebar() {
68
- return this.selector('.e-sidebar.e-slide.e-close');
69
- }
70
- getOverlayElement() {
71
- return this.selector('.e-sidebar-overlay');
72
- }
73
- setModel(property, value) {
74
- let cy;
75
- return cy.get('#' + this.id).then((ele) => {
76
- return ele[0].ej2_instances[0][property] = value;
77
- });
78
- }
79
- getModel(property) {
80
- let cy;
81
- return cy.get('#' + this.id).then((ele) => {
82
- return ele[0].ej2_instances[0][property];
83
- });
84
- }
85
- invoke(fName, args = []) {
86
- let cy;
87
- return cy.get('#' + this.id).then((ele) => {
88
- var inst = ele[0].ej2_instances[0];
89
- return inst[fName].apply(inst, args);
90
- });
91
- }
92
- }
93
- exports.SideBarHelper = SideBarHelper;
27
+ SideBarHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ SideBarHelper.prototype.getElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ SideBarHelper.prototype.getSidebar = function () {
34
+ return this.selector('.e-sidebar');
35
+ };
36
+ SideBarHelper.prototype.getLeftSideBar = function () {
37
+ return this.selector('.e-sidebar.e-left.e-open');
38
+ };
39
+ SideBarHelper.prototype.getLeft = function () {
40
+ return this.selector('.e-sidebar.e-left');
41
+ };
42
+ SideBarHelper.prototype.getRight = function () {
43
+ return this.selector('.e-sidebar.e-right');
44
+ };
45
+ SideBarHelper.prototype.getRightSideBar = function () {
46
+ return this.selector('.e-sidebar.e-right.e-open');
47
+ };
48
+ SideBarHelper.prototype.getDockSidebar = function () {
49
+ return this.selector('.e-sidebar.e-dock');
50
+ };
51
+ SideBarHelper.prototype.getExpandedDockSidebar = function () {
52
+ return this.selector('.e-selector.e-dock.e-open');
53
+ };
54
+ SideBarHelper.prototype.getCollapsedDockSidebar = function () {
55
+ return this.selector('.e-sidebar.e-dock.e-close');
56
+ };
57
+ SideBarHelper.prototype.getOverStateSidebar = function () {
58
+ return this.selector('.e-sidebar.e-over');
59
+ };
60
+ SideBarHelper.prototype.getExpandedOverStateSidebar = function () {
61
+ return this.selector('.e-sidebar.e-over.e-open');
62
+ };
63
+ SideBarHelper.prototype.getCollapsedOverStateSidebar = function () {
64
+ return this.selector('.e-sidebar.e-over.e-close');
65
+ };
66
+ SideBarHelper.prototype.getPushStateSidebar = function () {
67
+ return this.selector('.e-sidebar.e-push');
68
+ };
69
+ SideBarHelper.prototype.getExpandedPushStateSidebar = function () {
70
+ return this.selector('.e-sidebar.e-push.e-open');
71
+ };
72
+ SideBarHelper.prototype.getCollapsedPushStateSidebar = function () {
73
+ return this.selector('.e-sidebar.e-push.e-close');
74
+ };
75
+ SideBarHelper.prototype.getSlideStateSidebar = function () {
76
+ return this.selector('.e-sidebar.e-slide');
77
+ };
78
+ SideBarHelper.prototype.getExpandedSlideStateSidebar = function () {
79
+ return this.selector('.e-sidebar.e-slide.e-open');
80
+ };
81
+ SideBarHelper.prototype.getCollapsedSlideStateSidebar = function () {
82
+ return this.selector('.e-sidebar.e-slide.e-close');
83
+ };
84
+ SideBarHelper.prototype.getOverlayElement = function () {
85
+ return this.selector('.e-sidebar-overlay');
86
+ };
87
+ SideBarHelper.prototype.setModel = function (property, value) {
88
+ var cy;
89
+ return cy.get('#' + this.id).then(function (ele) {
90
+ return ele[0].ej2_instances[0][property] = value;
91
+ });
92
+ };
93
+ SideBarHelper.prototype.getModel = function (property) {
94
+ var cy;
95
+ return cy.get('#' + this.id).then(function (ele) {
96
+ return ele[0].ej2_instances[0][property];
97
+ });
98
+ };
99
+ SideBarHelper.prototype.invoke = function (fName, args) {
100
+ if (args === void 0) { args = []; }
101
+ var cy;
102
+ return cy.get('#' + this.id).then(function (ele) {
103
+ var inst = ele[0].ej2_instances[0];
104
+ return inst[fName].apply(inst, args);
105
+ });
106
+ };
107
+ return SideBarHelper;
108
+ }(e2e_1.TestHelper));
109
+ exports.SideBarHelper = SideBarHelper;
110
+ });