@syncfusion/ej2-navigations 20.1.61 → 20.2.36

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 (229) hide show
  1. package/CHANGELOG.md +40 -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 +71 -124
  5. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es5.js +71 -130
  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 +16 -29
  22. package/src/carousel/carousel.d.ts +16 -24
  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 +21 -70
  30. package/src/toolbar/toolbar.js +6 -0
  31. package/src/treeview/treeview.js +1 -0
  32. package/styles/accordion/_fusionnew-definition.scss +85 -0
  33. package/styles/accordion/_material3-definition.scss +85 -0
  34. package/styles/accordion/icons/_fusionnew.scss +18 -0
  35. package/styles/accordion/icons/_material3.scss +18 -0
  36. package/styles/bootstrap-dark.css +743 -14
  37. package/styles/bootstrap-dark.scss +1 -0
  38. package/styles/bootstrap.css +744 -14
  39. package/styles/bootstrap.scss +1 -0
  40. package/styles/bootstrap4.css +745 -14
  41. package/styles/bootstrap4.scss +1 -0
  42. package/styles/bootstrap5-dark.css +789 -14
  43. package/styles/bootstrap5-dark.scss +1 -0
  44. package/styles/bootstrap5.css +789 -14
  45. package/styles/bootstrap5.scss +1 -0
  46. package/styles/breadcrumb/_fluent-definition.scss +1 -1
  47. package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
  48. package/styles/breadcrumb/_layout.scss +1 -1
  49. package/styles/breadcrumb/_material3-definition.scss +59 -0
  50. package/styles/breadcrumb/fluent-dark.css +5 -4
  51. package/styles/breadcrumb/fluent.css +5 -4
  52. package/styles/breadcrumb/icons/_fluent.scss +2 -2
  53. package/styles/breadcrumb/icons/_fusionnew.scss +25 -0
  54. package/styles/breadcrumb/icons/_material3.scss +25 -0
  55. package/styles/carousel/_fusionnew-definition.scss +22 -0
  56. package/styles/carousel/_layout.scss +54 -43
  57. package/styles/carousel/_material3-definition.scss +22 -0
  58. package/styles/carousel/bootstrap-dark.css +23 -14
  59. package/styles/carousel/bootstrap.css +23 -14
  60. package/styles/carousel/bootstrap4.css +23 -14
  61. package/styles/carousel/bootstrap5-dark.css +23 -14
  62. package/styles/carousel/bootstrap5.css +23 -14
  63. package/styles/carousel/fabric-dark.css +23 -14
  64. package/styles/carousel/fabric.css +23 -14
  65. package/styles/carousel/fluent-dark.css +23 -14
  66. package/styles/carousel/fluent.css +23 -14
  67. package/styles/carousel/highcontrast-light.css +23 -14
  68. package/styles/carousel/highcontrast.css +23 -14
  69. package/styles/carousel/icons/_fusionnew.scss +30 -0
  70. package/styles/carousel/icons/_material3.scss +30 -0
  71. package/styles/carousel/material-dark.css +23 -14
  72. package/styles/carousel/material.css +23 -14
  73. package/styles/carousel/tailwind-dark.css +23 -14
  74. package/styles/carousel/tailwind.css +23 -14
  75. package/styles/context-menu/_fusionnew-definition.scss +52 -0
  76. package/styles/context-menu/_layout.scss +26 -0
  77. package/styles/context-menu/_material3-definition.scss +52 -0
  78. package/styles/context-menu/_theme.scss +12 -0
  79. package/styles/context-menu/bootstrap-dark.css +33 -0
  80. package/styles/context-menu/bootstrap-dark.scss +3 -0
  81. package/styles/context-menu/bootstrap.css +34 -0
  82. package/styles/context-menu/bootstrap.scss +3 -0
  83. package/styles/context-menu/bootstrap4.css +34 -0
  84. package/styles/context-menu/bootstrap4.scss +3 -0
  85. package/styles/context-menu/bootstrap5-dark.css +44 -0
  86. package/styles/context-menu/bootstrap5-dark.scss +3 -0
  87. package/styles/context-menu/bootstrap5.css +44 -0
  88. package/styles/context-menu/bootstrap5.scss +3 -0
  89. package/styles/context-menu/fabric-dark.css +33 -0
  90. package/styles/context-menu/fabric-dark.scss +3 -0
  91. package/styles/context-menu/fabric.css +34 -0
  92. package/styles/context-menu/fabric.scss +3 -0
  93. package/styles/context-menu/fluent-dark.css +44 -0
  94. package/styles/context-menu/fluent-dark.scss +3 -0
  95. package/styles/context-menu/fluent.css +44 -0
  96. package/styles/context-menu/fluent.scss +3 -0
  97. package/styles/context-menu/highcontrast-light.css +33 -0
  98. package/styles/context-menu/highcontrast-light.scss +3 -0
  99. package/styles/context-menu/highcontrast.css +34 -0
  100. package/styles/context-menu/highcontrast.scss +3 -0
  101. package/styles/context-menu/icons/_fusionnew.scss +32 -0
  102. package/styles/context-menu/icons/_material3.scss +32 -0
  103. package/styles/context-menu/material-dark.css +51 -0
  104. package/styles/context-menu/material-dark.scss +3 -0
  105. package/styles/context-menu/material.css +53 -0
  106. package/styles/context-menu/material.scss +3 -0
  107. package/styles/context-menu/tailwind-dark.css +44 -0
  108. package/styles/context-menu/tailwind-dark.scss +3 -0
  109. package/styles/context-menu/tailwind.css +44 -0
  110. package/styles/context-menu/tailwind.scss +3 -0
  111. package/styles/fabric-dark.css +743 -14
  112. package/styles/fabric-dark.scss +1 -0
  113. package/styles/fabric.css +744 -14
  114. package/styles/fabric.scss +1 -0
  115. package/styles/fluent-dark.css +762 -19
  116. package/styles/fluent-dark.scss +1 -0
  117. package/styles/fluent.css +762 -19
  118. package/styles/fluent.scss +1 -0
  119. package/styles/h-scroll/_fusionnew-definition.scss +78 -0
  120. package/styles/h-scroll/_material3-definition.scss +78 -0
  121. package/styles/h-scroll/icons/_fusionnew.scss +49 -0
  122. package/styles/h-scroll/icons/_material3.scss +49 -0
  123. package/styles/highcontrast-light.css +743 -14
  124. package/styles/highcontrast-light.scss +1 -0
  125. package/styles/highcontrast.css +744 -14
  126. package/styles/highcontrast.scss +1 -0
  127. package/styles/material-dark.css +762 -15
  128. package/styles/material-dark.scss +1 -0
  129. package/styles/material.css +763 -14
  130. package/styles/material.scss +1 -0
  131. package/styles/menu/_fusionnew-definition.scss +67 -0
  132. package/styles/menu/_material3-definition.scss +67 -0
  133. package/styles/menu/_theme.scss +3 -0
  134. package/styles/menu/bootstrap4.css +1 -0
  135. package/styles/menu/fluent-dark.css +1 -1
  136. package/styles/menu/fluent.css +1 -1
  137. package/styles/menu/icons/_fusionnew.scss +133 -0
  138. package/styles/menu/icons/_material3.scss +133 -0
  139. package/styles/pager/_all.scss +2 -0
  140. package/styles/pager/_bootstrap-dark-definition.scss +132 -0
  141. package/styles/pager/_bootstrap-definition.scss +132 -0
  142. package/styles/pager/_bootstrap4-definition.scss +131 -0
  143. package/styles/pager/_bootstrap5-dark-definition.scss +1 -0
  144. package/styles/pager/_bootstrap5-definition.scss +146 -0
  145. package/styles/pager/_fabric-dark-definition.scss +131 -0
  146. package/styles/pager/_fabric-definition.scss +130 -0
  147. package/styles/pager/_fluent-dark-definition.scss +1 -0
  148. package/styles/pager/_fluent-definition.scss +133 -0
  149. package/styles/pager/_fusionnew-definition.scss +146 -0
  150. package/styles/pager/_highcontrast-definition.scss +130 -0
  151. package/styles/pager/_highcontrast-light-definition.scss +130 -0
  152. package/styles/pager/_layout.scss +899 -0
  153. package/styles/pager/_material-dark-definition.scss +132 -0
  154. package/styles/pager/_material-definition.scss +131 -0
  155. package/styles/pager/_material3-definition.scss +146 -0
  156. package/styles/pager/_tailwind-dark-definition.scss +1 -0
  157. package/styles/pager/_tailwind-definition.scss +132 -0
  158. package/styles/pager/_theme.scss +153 -0
  159. package/styles/pager/bootstrap-dark.css +686 -0
  160. package/styles/pager/bootstrap-dark.scss +4 -0
  161. package/styles/pager/bootstrap.css +686 -0
  162. package/styles/pager/bootstrap.scss +4 -0
  163. package/styles/pager/bootstrap4.css +686 -0
  164. package/styles/pager/bootstrap4.scss +4 -0
  165. package/styles/pager/bootstrap5-dark.css +721 -0
  166. package/styles/pager/bootstrap5-dark.scss +4 -0
  167. package/styles/pager/bootstrap5.css +721 -0
  168. package/styles/pager/bootstrap5.scss +4 -0
  169. package/styles/pager/fabric-dark.css +686 -0
  170. package/styles/pager/fabric-dark.scss +4 -0
  171. package/styles/pager/fabric.css +686 -0
  172. package/styles/pager/fabric.scss +4 -0
  173. package/styles/pager/fluent-dark.css +688 -0
  174. package/styles/pager/fluent-dark.scss +4 -0
  175. package/styles/pager/fluent.css +688 -0
  176. package/styles/pager/fluent.scss +4 -0
  177. package/styles/pager/highcontrast-light.css +686 -0
  178. package/styles/pager/highcontrast-light.scss +4 -0
  179. package/styles/pager/highcontrast.css +686 -0
  180. package/styles/pager/highcontrast.scss +4 -0
  181. package/styles/pager/icons/_bootstrap-dark.scss +50 -0
  182. package/styles/pager/icons/_bootstrap.scss +49 -0
  183. package/styles/pager/icons/_bootstrap4.scss +49 -0
  184. package/styles/pager/icons/_bootstrap5-dark.scss +1 -0
  185. package/styles/pager/icons/_bootstrap5.scss +50 -0
  186. package/styles/pager/icons/_fabric-dark.scss +50 -0
  187. package/styles/pager/icons/_fabric.scss +50 -0
  188. package/styles/pager/icons/_fluent-dark.scss +1 -0
  189. package/styles/pager/icons/_fluent.scss +50 -0
  190. package/styles/pager/icons/_fusionnew.scss +50 -0
  191. package/styles/pager/icons/_highcontrast-light.scss +50 -0
  192. package/styles/pager/icons/_highcontrast.scss +41 -0
  193. package/styles/pager/icons/_material-dark.scss +50 -0
  194. package/styles/pager/icons/_material.scss +41 -0
  195. package/styles/pager/icons/_material3.scss +50 -0
  196. package/styles/pager/icons/_tailwind-dark.scss +1 -0
  197. package/styles/pager/icons/_tailwind.scss +50 -0
  198. package/styles/pager/material-dark.css +687 -0
  199. package/styles/pager/material-dark.scss +4 -0
  200. package/styles/pager/material.css +687 -0
  201. package/styles/pager/material.scss +4 -0
  202. package/styles/pager/tailwind-dark.css +813 -0
  203. package/styles/pager/tailwind-dark.scss +4 -0
  204. package/styles/pager/tailwind.css +813 -0
  205. package/styles/pager/tailwind.scss +4 -0
  206. package/styles/sidebar/_fusionnew-definition.scss +5 -0
  207. package/styles/sidebar/_material3-definition.scss +5 -0
  208. package/styles/tab/_fusionnew-definition.scss +401 -0
  209. package/styles/tab/_material-dark-definition.scss +1 -1
  210. package/styles/tab/_material3-definition.scss +401 -0
  211. package/styles/tab/icons/_fusionnew.scss +141 -0
  212. package/styles/tab/icons/_material3.scss +141 -0
  213. package/styles/tab/material-dark.css +1 -1
  214. package/styles/tailwind-dark.css +882 -15
  215. package/styles/tailwind-dark.scss +1 -0
  216. package/styles/tailwind.css +882 -15
  217. package/styles/tailwind.scss +1 -0
  218. package/styles/toolbar/_fusionnew-definition.scss +162 -0
  219. package/styles/toolbar/_material3-definition.scss +162 -0
  220. package/styles/toolbar/icons/_fusionnew.scss +17 -0
  221. package/styles/toolbar/icons/_material3.scss +17 -0
  222. package/styles/treeview/_fusionnew-definition.scss +120 -0
  223. package/styles/treeview/_material3-definition.scss +120 -0
  224. package/styles/treeview/icons/_fusionnew.scss +43 -0
  225. package/styles/treeview/icons/_material3.scss +43 -0
  226. package/styles/v-scroll/_fusionnew-definition.scss +49 -0
  227. package/styles/v-scroll/_material3-definition.scss +49 -0
  228. package/styles/v-scroll/icons/_fusionnew.scss +27 -0
  229. package/styles/v-scroll/icons/_material3.scss +27 -0
@@ -1,57 +1,74 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class TabHelper 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 TabHelper = (function (_super) {
18
+ __extends(TabHelper, _super);
19
+ function TabHelper(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
- getLeftScrollNavigationElement() {
20
- return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-left-nav');
21
- }
22
- getRightScrollNavigationElement() {
23
- return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-right-nav');
24
- }
25
- getOverflowNavigationElement() {
26
- return this.selector('#' + this.id + ' .e-tab-header .e-_nav.e-hor-nav');
27
- }
28
- getHeader() {
29
- return this.selector('#' + this.id + ' .e-tab-header');
30
- }
31
- getContent() {
32
- return this.selector('#' + this.id + ' .e-content');
33
- }
34
- getOverflowItemElement() {
35
- return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-pop.e-popup .e-toolbar-item');
36
- }
37
- setModel(property, value) {
38
- let cy;
39
- return cy.get('#' + this.id).then((ele) => {
40
- return ele[0].ej2_instances[0][property] = value;
41
- });
42
- }
43
- getModel(property) {
44
- let cy;
45
- return cy.get('#' + this.id).then((ele) => {
46
- return ele[0].ej2_instances[0][property];
47
- });
48
- }
49
- invoke(fName, args = []) {
50
- let cy;
51
- return cy.get('#' + this.id).then((ele) => {
52
- var inst = ele[0].ej2_instances[0];
53
- return inst[fName].apply(inst, args);
54
- });
55
- }
56
- }
57
- exports.TabHelper = TabHelper;
27
+ TabHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ TabHelper.prototype.getElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ TabHelper.prototype.getLeftScrollNavigationElement = function () {
34
+ return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-left-nav');
35
+ };
36
+ TabHelper.prototype.getRightScrollNavigationElement = function () {
37
+ return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-right-nav');
38
+ };
39
+ TabHelper.prototype.getOverflowNavigationElement = function () {
40
+ return this.selector('#' + this.id + ' .e-tab-header .e-_nav.e-hor-nav');
41
+ };
42
+ TabHelper.prototype.getHeader = function () {
43
+ return this.selector('#' + this.id + ' .e-tab-header');
44
+ };
45
+ TabHelper.prototype.getContent = function () {
46
+ return this.selector('#' + this.id + ' .e-content');
47
+ };
48
+ TabHelper.prototype.getOverflowItemElement = function () {
49
+ return this.selector('#' + this.id + ' .e-tab-header .e-toolbar-pop.e-popup .e-toolbar-item');
50
+ };
51
+ TabHelper.prototype.setModel = function (property, value) {
52
+ var cy;
53
+ return cy.get('#' + this.id).then(function (ele) {
54
+ return ele[0].ej2_instances[0][property] = value;
55
+ });
56
+ };
57
+ TabHelper.prototype.getModel = function (property) {
58
+ var cy;
59
+ return cy.get('#' + this.id).then(function (ele) {
60
+ return ele[0].ej2_instances[0][property];
61
+ });
62
+ };
63
+ TabHelper.prototype.invoke = function (fName, args) {
64
+ if (args === void 0) { args = []; }
65
+ var cy;
66
+ return cy.get('#' + this.id).then(function (ele) {
67
+ var inst = ele[0].ej2_instances[0];
68
+ return inst[fName].apply(inst, args);
69
+ });
70
+ };
71
+ return TabHelper;
72
+ }(e2e_1.TestHelper));
73
+ exports.TabHelper = TabHelper;
74
+ });
@@ -1,57 +1,74 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class ToolbarHelper 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 ToolbarHelper = (function (_super) {
18
+ __extends(ToolbarHelper, _super);
19
+ function ToolbarHelper(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
- getLeftScrollNavigationElement() {
20
- return this.selector('#' + this.id + ' .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-left-nav');
21
- }
22
- getRightScrollNavigationElement() {
23
- return this.selector('#' + this.id + ' .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-right-nav');
24
- }
25
- getOverflowNavigationElement() {
26
- return this.selector('#' + this.id + ' .e-toolbar_pop_nav.e-hor-nav');
27
- }
28
- getItems() {
29
- return this.selector('#' + this.id + ' .e-toolbar-items');
30
- }
31
- getItemElement() {
32
- return this.selector('#' + this.id + ' .e-toolbar-items .e-toolbar-item');
33
- }
34
- getOverflowItemElement() {
35
- return this.selector('#' + this.id + ' .e-toolbar-pop.e-popup .e-toolbar-item');
36
- }
37
- setModel(property, value) {
38
- let cy;
39
- return cy.get('#' + this.id).then((ele) => {
40
- return ele[0].ej2_instances[0][property] = value;
41
- });
42
- }
43
- getModel(property) {
44
- let cy;
45
- return cy.get('#' + this.id).then((ele) => {
46
- return ele[0].ej2_instances[0][property];
47
- });
48
- }
49
- invoke(fName, args = []) {
50
- let cy;
51
- return cy.get('#' + this.id).then((ele) => {
52
- var inst = ele[0].ej2_instances[0];
53
- return inst[fName].apply(inst, args);
54
- });
55
- }
56
- }
57
- exports.ToolbarHelper = ToolbarHelper;
27
+ ToolbarHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ ToolbarHelper.prototype.getElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ ToolbarHelper.prototype.getLeftScrollNavigationElement = function () {
34
+ return this.selector('#' + this.id + ' .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-left-nav');
35
+ };
36
+ ToolbarHelper.prototype.getRightScrollNavigationElement = function () {
37
+ return this.selector('#' + this.id + ' .e-toolbar-items.e-hscroll .e-scroll-nav.e-scroll-right-nav');
38
+ };
39
+ ToolbarHelper.prototype.getOverflowNavigationElement = function () {
40
+ return this.selector('#' + this.id + ' .e-toolbar_pop_nav.e-hor-nav');
41
+ };
42
+ ToolbarHelper.prototype.getItems = function () {
43
+ return this.selector('#' + this.id + ' .e-toolbar-items');
44
+ };
45
+ ToolbarHelper.prototype.getItemElement = function () {
46
+ return this.selector('#' + this.id + ' .e-toolbar-items .e-toolbar-item');
47
+ };
48
+ ToolbarHelper.prototype.getOverflowItemElement = function () {
49
+ return this.selector('#' + this.id + ' .e-toolbar-pop.e-popup .e-toolbar-item');
50
+ };
51
+ ToolbarHelper.prototype.setModel = function (property, value) {
52
+ var cy;
53
+ return cy.get('#' + this.id).then(function (ele) {
54
+ return ele[0].ej2_instances[0][property] = value;
55
+ });
56
+ };
57
+ ToolbarHelper.prototype.getModel = function (property) {
58
+ var cy;
59
+ return cy.get('#' + this.id).then(function (ele) {
60
+ return ele[0].ej2_instances[0][property];
61
+ });
62
+ };
63
+ ToolbarHelper.prototype.invoke = function (fName, args) {
64
+ if (args === void 0) { args = []; }
65
+ var cy;
66
+ return cy.get('#' + this.id).then(function (ele) {
67
+ var inst = ele[0].ej2_instances[0];
68
+ return inst[fName].apply(inst, args);
69
+ });
70
+ };
71
+ return ToolbarHelper;
72
+ }(e2e_1.TestHelper));
73
+ exports.ToolbarHelper = ToolbarHelper;
74
+ });
@@ -1,62 +1,80 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class TreeViewHelper 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 TreeViewHelper = (function (_super) {
18
+ __extends(TreeViewHelper, _super);
19
+ function TreeViewHelper(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
- getCollapsedStateElement() {
20
- return this.selector('.e-list-item.e-level-1.e-node-collapsed');
21
- }
22
- getExpandedStateElement() {
23
- return this.selector('.e-list-item.e-level-1');
24
- }
25
- getTreeViewInstance() {
26
- return this.getElement().then((ele) => {
27
- return ele[0].ej2_instances[0];
28
- });
29
- }
30
- setTreeViewProperty(propertyName, args = null) {
31
- return this.getTreeViewInstance().then((ej2_instance) => {
32
- return (ej2_instance[propertyName] = args);
33
- });
34
- }
35
- callTreeviewMethods(methodName, args = null) {
36
- return this.getTreeViewInstance().then((ej2_instance) => {
37
- return ej2_instance[methodName].call(ej2_instance, args);
38
- });
39
- }
40
- getSelectedNodes(id) {
41
- return this.setTreeViewProperty('selectedNodes', id);
42
- }
43
- getDisableNode(id) {
44
- return this.callTreeviewMethods('disableNodes', id);
45
- }
46
- getActiveElement(id) {
47
- this.getSelectedNodes(id);
48
- return this.selector('.e-list-item.e-level-1.e-active.e-node-focus');
49
- }
50
- getDisabledNodes(id) {
51
- this.getDisableNode(id);
52
- return this.selector('.e-list-item.e-level-1.e-disable');
53
- }
54
- getNodeEdit(id) {
55
- return this.callTreeviewMethods('beginEdit', id);
56
- }
57
- getEditableNode(id) {
58
- this.getNodeEdit(id);
59
- return this.selector('.e-text-content.e-icon-wrapper .e-input-group.e-control-wrapper');
60
- }
61
- }
62
- exports.TreeViewHelper = TreeViewHelper;
27
+ TreeViewHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ TreeViewHelper.prototype.getElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ TreeViewHelper.prototype.getCollapsedStateElement = function () {
34
+ return this.selector('.e-list-item.e-level-1.e-node-collapsed');
35
+ };
36
+ TreeViewHelper.prototype.getExpandedStateElement = function () {
37
+ return this.selector('.e-list-item.e-level-1');
38
+ };
39
+ TreeViewHelper.prototype.getTreeViewInstance = function () {
40
+ return this.getElement().then(function (ele) {
41
+ return ele[0].ej2_instances[0];
42
+ });
43
+ };
44
+ TreeViewHelper.prototype.setTreeViewProperty = function (propertyName, args) {
45
+ if (args === void 0) { args = null; }
46
+ return this.getTreeViewInstance().then(function (ej2_instance) {
47
+ return (ej2_instance[propertyName] = args);
48
+ });
49
+ };
50
+ TreeViewHelper.prototype.callTreeviewMethods = function (methodName, args) {
51
+ if (args === void 0) { args = null; }
52
+ return this.getTreeViewInstance().then(function (ej2_instance) {
53
+ return ej2_instance[methodName].call(ej2_instance, args);
54
+ });
55
+ };
56
+ TreeViewHelper.prototype.getSelectedNodes = function (id) {
57
+ return this.setTreeViewProperty('selectedNodes', id);
58
+ };
59
+ TreeViewHelper.prototype.getDisableNode = function (id) {
60
+ return this.callTreeviewMethods('disableNodes', id);
61
+ };
62
+ TreeViewHelper.prototype.getActiveElement = function (id) {
63
+ this.getSelectedNodes(id);
64
+ return this.selector('.e-list-item.e-level-1.e-active.e-node-focus');
65
+ };
66
+ TreeViewHelper.prototype.getDisabledNodes = function (id) {
67
+ this.getDisableNode(id);
68
+ return this.selector('.e-list-item.e-level-1.e-disable');
69
+ };
70
+ TreeViewHelper.prototype.getNodeEdit = function (id) {
71
+ return this.callTreeviewMethods('beginEdit', id);
72
+ };
73
+ TreeViewHelper.prototype.getEditableNode = function (id) {
74
+ this.getNodeEdit(id);
75
+ return this.selector('.e-text-content.e-icon-wrapper .e-input-group.e-control-wrapper');
76
+ };
77
+ return TreeViewHelper;
78
+ }(e2e_1.TestHelper));
79
+ exports.TreeViewHelper = TreeViewHelper;
80
+ });
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@20.1.60",
3
+ "_id": "@syncfusion/ej2-navigations@19.45.0",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-96Gqo3fqKiMJzZ/WyRRb+EDfOaHZjSyADT5ztCEl3VMLb/t6oSQnrv1M3To+zLLA9IlLLpB40lxbINF/Zcy6yg==",
5
+ "_integrity": "sha512-XnIhDfeIIUUx5SiPisCYOa1ktvH7pjIboJ7SrYfxUud5Macoq4odTlv/QS+foBE7QOPNiiCB2bnvRP4FA1YfNA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.60.tgz",
41
- "_shasum": "444b889578b064b01248c5e4912ff739c38ff991",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-navigations/-/ej2-navigations-19.45.0.tgz",
41
+ "_shasum": "ef79fb3ae2f8377b41562129e6e7c4b86a04b933",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~20.1.61",
53
- "@syncfusion/ej2-buttons": "~20.1.61",
54
- "@syncfusion/ej2-data": "~20.1.55",
55
- "@syncfusion/ej2-inputs": "~20.1.61",
56
- "@syncfusion/ej2-lists": "~20.1.55",
57
- "@syncfusion/ej2-popups": "~20.1.58"
52
+ "@syncfusion/ej2-base": "~20.2.36",
53
+ "@syncfusion/ej2-buttons": "~20.2.36",
54
+ "@syncfusion/ej2-data": "~20.2.36",
55
+ "@syncfusion/ej2-inputs": "~20.2.36",
56
+ "@syncfusion/ej2-lists": "~20.2.36",
57
+ "@syncfusion/ej2-popups": "~20.2.36"
58
58
  },
59
59
  "deprecated": false,
60
60
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
@@ -159,6 +159,6 @@
159
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
160
160
  },
161
161
  "typings": "index.d.ts",
162
- "version": "20.1.61",
162
+ "version": "20.2.36",
163
163
  "sideEffects": false
164
164
  }
@@ -379,12 +379,6 @@ var Breadcrumb = /** @class */ (function (_super) {
379
379
  }
380
380
  if (!(this.overflowMode === 'Menu' && liElems[i].classList.contains(MENUCLASS))) {
381
381
  liWidth += liElems[i].offsetWidth;
382
- if (liWidth > width) {
383
- maxItems = Math.ceil((i) / 2) + (this.overflowMode === 'Menu' && i <= 2 ? 0 : 1);
384
- this._maxItems = maxItems;
385
- this.initPvtProps();
386
- return this.reRenderItems();
387
- }
388
382
  }
389
383
  }
390
384
  }
@@ -37,30 +37,6 @@ export interface CarouselItemModel {
37
37
 
38
38
  }
39
39
 
40
- /**
41
- * Interface for a class CarouselAnimationSettings
42
- */
43
- export interface CarouselAnimationSettingsModel {
44
-
45
- /**
46
- * Specifies the type of animation. The possible values for this property as follows
47
- * * None
48
- * * Slide
49
- * * Fade
50
- *
51
- * @default 'Slide'
52
- */
53
- effect?: CarouselAnimationEffect;
54
-
55
- /**
56
- * Specifies the custom animation effect.
57
- *
58
- * @default null
59
- */
60
- customEffect?: string;
61
-
62
- }
63
-
64
40
  /**
65
41
  * Interface for a class Carousel
66
42
  */
@@ -74,11 +50,15 @@ export interface CarouselModel extends ComponentModel{
74
50
  items?: CarouselItemModel[];
75
51
 
76
52
  /**
77
- * Specifies the animation setting for the carousel component.
78
- *
79
- * @default { effect: 'Slide', customEffect: null }
80
- */
81
- animation?: CarouselAnimationSettingsModel;
53
+ * Specifies the type of animation effects. The possible values for this property as follows
54
+ * * None
55
+ * * Slide
56
+ * * Fade
57
+ * * Custom
58
+ *
59
+ * @default 'Slide'
60
+ * */
61
+ animationEffect?: CarouselAnimationEffect;
82
62
 
83
63
  /**
84
64
  * Accepts the template for previous navigation button.
@@ -165,6 +145,13 @@ export interface CarouselModel extends ComponentModel{
165
145
  */
166
146
  autoPlay?: boolean;
167
147
 
148
+ /**
149
+ * Defines whether the slide transition gets pause on hover or not.
150
+ *
151
+ * @default true
152
+ */
153
+ pauseOnHover?: boolean;
154
+
168
155
  /**
169
156
  * Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
170
157
  *
@@ -1,7 +1,7 @@
1
1
  import { Component, EmitType, INotifyPropertyChanged } from '@syncfusion/ej2-base';
2
2
  import { ChildProperty } from '@syncfusion/ej2-base';
3
3
  import { BaseEventArgs } from '@syncfusion/ej2-base';
4
- import { CarouselModel, CarouselItemModel, CarouselAnimationSettingsModel } from './carousel-model';
4
+ import { CarouselModel, CarouselItemModel } from './carousel-model';
5
5
  /**
6
6
  * Specifies the direction of previous/next button navigations in carousel.
7
7
  *
@@ -24,7 +24,7 @@ export declare type CarouselButtonVisibility = 'Hidden' | 'Visible' | 'VisibleOn
24
24
  * * `Slide` - The carousel item transition happens with slide animation.
25
25
  * * `Fade` - The Carousel item transition happens with fade animation.
26
26
  */
27
- export declare type CarouselAnimationEffect = 'None' | 'Fade' | 'Slide';
27
+ export declare type CarouselAnimationEffect = 'None' | 'Fade' | 'Slide' | 'Custom';
28
28
  /** An interface that holds details when changing the slide. */
29
29
  export interface SlideChangingEventArgs extends BaseEventArgs {
30
30
  /** Specifies the index of current slide. */
@@ -84,24 +84,6 @@ export declare class CarouselItem extends ChildProperty<CarouselItem> {
84
84
  */
85
85
  htmlAttributes: Record<string, string>;
86
86
  }
87
- /** Specifies the animation configuration for carousel items. */
88
- export declare class CarouselAnimationSettings extends ChildProperty<CarouselAnimationSettings> {
89
- /**
90
- * Specifies the type of animation. The possible values for this property as follows
91
- * * None
92
- * * Slide
93
- * * Fade
94
- *
95
- * @default 'Slide'
96
- */
97
- effect: CarouselAnimationEffect;
98
- /**
99
- * Specifies the custom animation effect.
100
- *
101
- * @default null
102
- */
103
- customEffect: string;
104
- }
105
87
  export declare class Carousel extends Component<HTMLElement> implements INotifyPropertyChanged {
106
88
  private autoSlideInterval;
107
89
  private slideItems;
@@ -117,11 +99,15 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
117
99
  */
118
100
  items: CarouselItemModel[];
119
101
  /**
120
- * Specifies the animation setting for the carousel component.
102
+ * Specifies the type of animation effects. The possible values for this property as follows
103
+ * * None
104
+ * * Slide
105
+ * * Fade
106
+ * * Custom
121
107
  *
122
- * @default { effect: 'Slide', customEffect: null }
123
- */
124
- animation: CarouselAnimationSettingsModel;
108
+ * @default 'Slide'
109
+ * */
110
+ animationEffect: CarouselAnimationEffect;
125
111
  /**
126
112
  * Accepts the template for previous navigation button.
127
113
  *
@@ -195,6 +181,12 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
195
181
  * @default true
196
182
  */
197
183
  autoPlay: boolean;
184
+ /**
185
+ * Defines whether the slide transition gets pause on hover or not.
186
+ *
187
+ * @default true
188
+ */
189
+ pauseOnHover: boolean;
198
190
  /**
199
191
  * Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
200
192
  *