@syncfusion/ej2-navigations 27.1.50 → 27.1.52

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.50
3
+ * version : 27.1.52
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@27.1.48",
3
+ "_id": "@syncfusion/ej2-navigations@27.1.51",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-7Arx+jDFckJ+5vQHFH+04Hqb/P7w9pTiGSVVcXU0s1q8DO6JNMgcf1dd/S8c/VaTfxfv6dWIqA9zEnBKcSjzyg==",
5
+ "_integrity": "sha512-LVFCO84fnFIcfyc0BIdo23SF1RwGWdfaXoIx6iZAYCuXhnEH1+9JEUqLKuomQyqBiD+oehVGZjL/HD8ZrX5iqA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -40,8 +40,8 @@
40
40
  "/@syncfusion/ej2-spreadsheet",
41
41
  "/@syncfusion/ej2-vue-navigations"
42
42
  ],
43
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-27.1.48.tgz",
44
- "_shasum": "2c208da5381c64ddc0433b2404d540ae991107fa",
43
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-27.1.51.tgz",
44
+ "_shasum": "e7a5ebcd6a85807bb494750a786f4ea8e08f827d",
45
45
  "_spec": "@syncfusion/ej2-navigations@*",
46
46
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
47
47
  "author": {
@@ -52,9 +52,9 @@
52
52
  },
53
53
  "bundleDependencies": false,
54
54
  "dependencies": {
55
- "@syncfusion/ej2-base": "~27.1.50",
56
- "@syncfusion/ej2-buttons": "~27.1.50",
57
- "@syncfusion/ej2-data": "~27.1.50",
55
+ "@syncfusion/ej2-base": "~27.1.52",
56
+ "@syncfusion/ej2-buttons": "~27.1.51",
57
+ "@syncfusion/ej2-data": "~27.1.52",
58
58
  "@syncfusion/ej2-inputs": "~27.1.50",
59
59
  "@syncfusion/ej2-lists": "~27.1.50",
60
60
  "@syncfusion/ej2-popups": "~27.1.50"
@@ -162,6 +162,6 @@
162
162
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
163
163
  },
164
164
  "typings": "index.d.ts",
165
- "version": "27.1.50",
165
+ "version": "27.1.52",
166
166
  "sideEffects": false
167
167
  }
@@ -2250,6 +2250,8 @@ var MenuBase = /** @class */ (function (_super) {
2250
2250
  idx = navIdx.pop();
2251
2251
  iitems = this.getItems(navIdx);
2252
2252
  menuitem = new MenuItem(iitems[0], 'items', items[i], true);
2253
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2254
+ menuitem.parentObj = iitems[0].parentObj;
2253
2255
  iitems.splice(isAfter ? idx + 1 : idx, 0, menuitem);
2254
2256
  var uls = this.isMenu ? [this.getWrapper()].concat(this.getPopups()) : [].slice.call(this.getWrapper().children);
2255
2257
  if (!isNullOrUndefined(idx) && navIdx.length < uls.length) {
@@ -264,7 +264,7 @@ var Stepper = /** @class */ (function (_super) {
264
264
  if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
265
265
  this.setProgressPosition(this.element, true);
266
266
  }
267
- this.navigateToStep(this.activeStep, null, null, false);
267
+ this.navigateToStep(this.activeStep, null, null, false, false);
268
268
  };
269
269
  Stepper.prototype.updateStepFocus = function () {
270
270
  if (this.isKeyNavFocus) {
@@ -972,7 +972,7 @@ var Stepper = /** @class */ (function (_super) {
972
972
  if (this.stepperItemList && this.progressbar) {
973
973
  this.setProgressPosition(this.element);
974
974
  }
975
- this.navigateToStep(this.activeStep, null, null, false);
975
+ this.navigateToStep(this.activeStep, null, null, false, false);
976
976
  };
977
977
  Stepper.prototype.updateElementClassArray = function () {
978
978
  var classArray = [RTL, READONLY, 'e-steps-focus', LABELAFTER, LABELBEFORE, 'e-label-top',
@@ -2826,7 +2826,7 @@ var TreeView = /** @class */ (function (_super) {
2826
2826
  var nextNode = isTowards ? this.getNextNode(li) : this.getPrevNode(li);
2827
2827
  this.setFocus(li, nextNode);
2828
2828
  this.navigateToFocus(!isTowards);
2829
- if (nextNode.classList.contains('e-disable') || nextNode.classList.contains('e-prevent')) {
2829
+ if (nextNode.classList.contains('e-disable')) {
2830
2830
  var lastChild = nextNode.lastChild;
2831
2831
  if (nextNode.previousSibling == null && nextNode.classList.contains('e-level-1')) {
2832
2832
  this.focusNextNode(nextNode, true);
@@ -2887,7 +2887,7 @@ var TreeView = /** @class */ (function (_super) {
2887
2887
  TreeView.prototype.setFocus = function (preNode, nextNode) {
2888
2888
  removeClass([preNode], FOCUS);
2889
2889
  preNode.setAttribute('tabindex', '-1');
2890
- if (!nextNode.classList.contains('e-disable') && !nextNode.classList.contains(PREVENTSELECT)) {
2890
+ if (!nextNode.classList.contains('e-disable')) {
2891
2891
  addClass([nextNode], FOCUS);
2892
2892
  nextNode.setAttribute('tabindex', '0');
2893
2893
  nextNode.focus();
@@ -2906,7 +2906,7 @@ var TreeView = /** @class */ (function (_super) {
2906
2906
  TreeView.prototype.focusIn = function () {
2907
2907
  if (!this.mouseDownStatus) {
2908
2908
  var focusedElement = this.getFocusedNode();
2909
- if (focusedElement.classList.contains('e-disable') || focusedElement.classList.contains('e-prevent')) {
2909
+ if (focusedElement.classList.contains('e-disable')) {
2910
2910
  focusedElement.setAttribute('tabindex', '-1');
2911
2911
  this.navigateNode(true);
2912
2912
  }
@@ -3372,16 +3372,18 @@ var TreeView = /** @class */ (function (_super) {
3372
3372
  this.dragStartAction = false;
3373
3373
  };
3374
3374
  TreeView.prototype.getOffsetX = function (event, target) {
3375
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
3376
- return event.changedTouches[0].clientX - target.getBoundingClientRect().left;
3375
+ var touchList = event.changedTouches;
3376
+ if (touchList && touchList.length > 0) {
3377
+ return touchList[0].clientX - target.getBoundingClientRect().left;
3377
3378
  }
3378
3379
  else {
3379
3380
  return event.offsetX;
3380
3381
  }
3381
3382
  };
3382
3383
  TreeView.prototype.getOffsetY = function (event, target) {
3383
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
3384
- return event.changedTouches[0].clientY - target.getBoundingClientRect().top;
3384
+ var touchList = event.changedTouches;
3385
+ if (touchList && touchList.length > 0) {
3386
+ return touchList[0].clientY - target.getBoundingClientRect().top;
3385
3387
  }
3386
3388
  else {
3387
3389
  return event.offsetY;
@@ -6263,10 +6263,10 @@
6263
6263
  .e-treeview .e-list-icon,
6264
6264
  .e-treeview .e-list-img {
6265
6265
  display: inline-block;
6266
- height: 16px;
6266
+ height: 18px;
6267
6267
  margin: 0 0 0 8px;
6268
6268
  vertical-align: middle;
6269
- width: 16px;
6269
+ width: 18px;
6270
6270
  }
6271
6271
  .e-treeview .e-list-icon + .e-list-icon, .e-treeview .e-list-icon + .e-list-img,
6272
6272
  .e-treeview .e-list-img + .e-list-icon,
@@ -6275,7 +6275,7 @@
6275
6275
  }
6276
6276
  .e-treeview .e-list-icon + .e-list-text,
6277
6277
  .e-treeview .e-list-img + .e-list-text {
6278
- padding: 0 8px;
6278
+ padding: 0 12px;
6279
6279
  }
6280
6280
  .e-treeview .e-icon-collapsible,
6281
6281
  .e-treeview .e-icon-expandable {
@@ -8144,10 +8144,10 @@
8144
8144
  .e-treeview .e-list-icon,
8145
8145
  .e-treeview .e-list-img {
8146
8146
  display: inline-block;
8147
- height: 16px;
8147
+ height: 18px;
8148
8148
  margin: 0 0 0 8px;
8149
8149
  vertical-align: middle;
8150
- width: 16px;
8150
+ width: 18px;
8151
8151
  }
8152
8152
  .e-treeview .e-list-icon + .e-list-icon, .e-treeview .e-list-icon + .e-list-img,
8153
8153
  .e-treeview .e-list-img + .e-list-icon,
@@ -8156,7 +8156,7 @@
8156
8156
  }
8157
8157
  .e-treeview .e-list-icon + .e-list-text,
8158
8158
  .e-treeview .e-list-img + .e-list-text {
8159
- padding: 0 8px;
8159
+ padding: 0 12px;
8160
8160
  }
8161
8161
  .e-treeview .e-icon-collapsible,
8162
8162
  .e-treeview .e-icon-expandable {
@@ -18,7 +18,7 @@ $treeview-rtl-icon-margin: 0 -20px 0 0 !default;
18
18
  $treeview-icon-padding: 0px !default;
19
19
  $treeview-text-padding: 0 8px !default;
20
20
  $treeview-text-margin: 0 !default;
21
- $treeview-image-size: 16px !default;
21
+ $treeview-image-size: 18px !default;
22
22
  $treeview-image-margin: 0 0 0 8px !default;
23
23
  $treeview-navigable-icon-image-anchor-margin-bigger: 0 12px 0 8px !default;
24
24
  $treeview-navigable-icon-image-anchor-margin-reverse-bigger: 0 6px 0 10px !default;
@@ -26,7 +26,7 @@ $treeview-navigable-icon-image-anchor-margin: 0 8px 0 0 !default;
26
26
  $treeview-navigable-icon-image-anchor-margin-reverse: 0 0 0 8px !default;
27
27
  $treeview-navigable-rtl-margin-reverse: 0 12px 0 0 !default;
28
28
  $treeview-rtl-image-margin: 0 8px 0 0 !default;
29
- $treeview-image-text-padding: 0 8px !default;
29
+ $treeview-image-text-padding: 0 12px !default;
30
30
  $treeview-icon-image-margin: 0 0 0 8px !default;
31
31
  $treeview-rtl-icon-image-margin: 0 8px 0 0 !default;
32
32
  $treeview-check-margin: 0 0 0 8px !default;
@@ -213,10 +213,10 @@
213
213
  .e-treeview .e-list-icon,
214
214
  .e-treeview .e-list-img {
215
215
  display: inline-block;
216
- height: 16px;
216
+ height: 18px;
217
217
  margin: 0 0 0 8px;
218
218
  vertical-align: middle;
219
- width: 16px;
219
+ width: 18px;
220
220
  }
221
221
  .e-treeview .e-list-icon + .e-list-icon, .e-treeview .e-list-icon + .e-list-img,
222
222
  .e-treeview .e-list-img + .e-list-icon,
@@ -225,7 +225,7 @@
225
225
  }
226
226
  .e-treeview .e-list-icon + .e-list-text,
227
227
  .e-treeview .e-list-img + .e-list-text {
228
- padding: 0 8px;
228
+ padding: 0 12px;
229
229
  }
230
230
  .e-treeview .e-icon-collapsible,
231
231
  .e-treeview .e-icon-expandable {