@syncfusion/ej2-navigations 26.1.40 → 26.2.4

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 (86) hide show
  1. package/dist/ej2-navigations.min.js +2 -2
  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 +108 -16
  5. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es5.js +116 -20
  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/hotfix/26.1.35_Vol2.txt +1 -0
  12. package/package.json +11 -11
  13. package/src/stepper/stepper.d.ts +27 -0
  14. package/src/stepper/stepper.js +42 -5
  15. package/src/toolbar/toolbar.d.ts +2 -0
  16. package/src/toolbar/toolbar.js +8 -4
  17. package/src/treeview/treeview.d.ts +3 -0
  18. package/src/treeview/treeview.js +66 -11
  19. package/styles/accordion/fluent2.css +10 -10
  20. package/styles/appbar/fluent2.css +10 -10
  21. package/styles/bootstrap-dark.css +2 -1
  22. package/styles/bootstrap.css +2 -1
  23. package/styles/bootstrap4.css +2 -1
  24. package/styles/bootstrap5-dark.css +2 -1
  25. package/styles/bootstrap5.css +2 -1
  26. package/styles/breadcrumb/_layout.scss +4 -2
  27. package/styles/breadcrumb/fluent2.css +13 -12
  28. package/styles/carousel/fluent2.css +10 -10
  29. package/styles/context-menu/fluent2.css +10 -10
  30. package/styles/fabric-dark.css +2 -1
  31. package/styles/fabric.css +2 -1
  32. package/styles/fluent-dark.css +2 -1
  33. package/styles/fluent.css +2 -1
  34. package/styles/fluent2.css +16 -14
  35. package/styles/h-scroll/fluent2.css +10 -10
  36. package/styles/highcontrast-light.css +2 -1
  37. package/styles/highcontrast.css +2 -1
  38. package/styles/material-dark.css +2 -1
  39. package/styles/material.css +2 -1
  40. package/styles/material3-dark.css +2 -1
  41. package/styles/material3.css +2 -1
  42. package/styles/menu/fluent2.css +10 -10
  43. package/styles/pager/fluent2.css +10 -10
  44. package/styles/sidebar/fluent2.css +11 -11
  45. package/styles/stepper/fluent2.css +10 -10
  46. package/styles/tab/fluent2.css +10 -10
  47. package/styles/tailwind-dark.css +2 -1
  48. package/styles/tailwind.css +2 -1
  49. package/styles/toolbar/fluent2.css +10 -10
  50. package/styles/treeview/bootstrap-dark.css +2 -1
  51. package/styles/treeview/bootstrap.css +2 -1
  52. package/styles/treeview/bootstrap4.css +2 -1
  53. package/styles/treeview/bootstrap5-dark.css +2 -1
  54. package/styles/treeview/bootstrap5.css +2 -1
  55. package/styles/treeview/fabric-dark.css +2 -1
  56. package/styles/treeview/fabric.css +2 -1
  57. package/styles/treeview/fluent-dark.css +2 -1
  58. package/styles/treeview/fluent.css +2 -1
  59. package/styles/treeview/fluent2.css +12 -11
  60. package/styles/treeview/highcontrast-light.css +2 -1
  61. package/styles/treeview/highcontrast.css +2 -1
  62. package/styles/treeview/icons/_bds.scss +2 -1
  63. package/styles/treeview/icons/_bootstrap-dark.scss +2 -1
  64. package/styles/treeview/icons/_bootstrap.scss +2 -1
  65. package/styles/treeview/icons/_bootstrap4.scss +2 -1
  66. package/styles/treeview/icons/_bootstrap5.3.scss +2 -1
  67. package/styles/treeview/icons/_bootstrap5.scss +2 -1
  68. package/styles/treeview/icons/_fabric-dark.scss +2 -1
  69. package/styles/treeview/icons/_fabric.scss +2 -1
  70. package/styles/treeview/icons/_fluent.scss +2 -1
  71. package/styles/treeview/icons/_fluent2.scss +2 -1
  72. package/styles/treeview/icons/_fusionnew.scss +2 -1
  73. package/styles/treeview/icons/_highcontrast-light.scss +2 -1
  74. package/styles/treeview/icons/_highcontrast.scss +2 -1
  75. package/styles/treeview/icons/_material-dark.scss +2 -1
  76. package/styles/treeview/icons/_material.scss +2 -1
  77. package/styles/treeview/icons/_material3.scss +2 -1
  78. package/styles/treeview/icons/_tailwind-dark.scss +2 -1
  79. package/styles/treeview/icons/_tailwind.scss +2 -1
  80. package/styles/treeview/material-dark.css +2 -1
  81. package/styles/treeview/material.css +2 -1
  82. package/styles/treeview/material3-dark.css +2 -1
  83. package/styles/treeview/material3.css +2 -1
  84. package/styles/treeview/tailwind-dark.css +2 -1
  85. package/styles/treeview/tailwind.css +2 -1
  86. package/styles/v-scroll/fluent2.css +10 -10
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.1.40
3
+ * version : 26.2.4
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
@@ -0,0 +1 @@
1
+ hotfix/26.1.35_Vol2
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@26.1.39",
3
+ "_id": "@syncfusion/ej2-navigations@26.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-nx8+3jGZTNQzQ7xIiwKyB2wum+nmP+eQF+ljJ/+vvhn54c2b3WkGTcANpvKFQ2NluOytjU894S7QBFx4fXeV4Q==",
5
+ "_integrity": "sha512-4qEwEcykQV3bXbXSRVKb1Ed9XtXrOkoL3pmgz0Ytsn7lsOggS3ek/R0JiybJWZPtNXOcMY5tXl+EiWpccxEs2w==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-spreadsheet",
40
40
  "/@syncfusion/ej2-vue-navigations"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.1.39.tgz",
43
- "_shasum": "60cc3aeedd220788eee7250f705c8c5fa2c0f34f",
42
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.1.41.tgz",
43
+ "_shasum": "1af29a3e99fc8304789d0a7b6f3720afd63f5883",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
46
46
  "author": {
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~26.1.37",
55
- "@syncfusion/ej2-buttons": "~26.1.40",
56
- "@syncfusion/ej2-data": "~26.1.40",
57
- "@syncfusion/ej2-inputs": "~26.1.40",
58
- "@syncfusion/ej2-lists": "~26.1.35",
59
- "@syncfusion/ej2-popups": "~26.1.38"
54
+ "@syncfusion/ej2-base": "~26.2.4",
55
+ "@syncfusion/ej2-buttons": "~26.2.4",
56
+ "@syncfusion/ej2-data": "~26.2.4",
57
+ "@syncfusion/ej2-inputs": "~26.2.4",
58
+ "@syncfusion/ej2-lists": "~26.2.4",
59
+ "@syncfusion/ej2-popups": "~26.2.4"
60
60
  },
61
61
  "deprecated": false,
62
62
  "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",
@@ -161,6 +161,6 @@
161
161
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
162
  },
163
163
  "typings": "index.d.ts",
164
- "version": "26.1.40",
164
+ "version": "26.2.4",
165
165
  "sideEffects": false
166
166
  }
@@ -291,6 +291,7 @@ export declare class Stepper extends StepperBase implements INotifyPropertyChang
291
291
  private updateAnimation;
292
292
  private updateStepType;
293
293
  private wireEvents;
294
+ private unWireEvents;
294
295
  private updateStepFocus;
295
296
  private updateStepperStatus;
296
297
  private updateStatusClass;
@@ -323,10 +324,36 @@ export declare class Stepper extends StepperBase implements INotifyPropertyChang
323
324
  private navigationHandler;
324
325
  private updateStepInteractions;
325
326
  private removeItemElements;
327
+ /**
328
+ * Move to next step from current step in Stepper.
329
+ *
330
+ * @returns {void}
331
+ */
326
332
  nextStep(): void;
333
+ /**
334
+ * Move to previous step from current step in Stepper.
335
+ *
336
+ * @returns {void}
337
+ */
327
338
  previousStep(): void;
339
+ /**
340
+ * Reset the state of the Stepper and move to the first step.
341
+ *
342
+ * @returns {void}
343
+ */
328
344
  reset(): void;
345
+ /**
346
+ * Refreshes the position of the progress bar programmatically when the dimensions of the parent container are changed.
347
+ *
348
+ * @returns {void}
349
+ */
350
+ refreshProgressbar(): void;
329
351
  private updateElementClassArray;
352
+ /**
353
+ * Destroy the stepper control.
354
+ *
355
+ * @returns {void}
356
+ */
330
357
  destroy(): void;
331
358
  private wireKeyboardEvent;
332
359
  private keyActionHandler;
@@ -258,9 +258,19 @@ var Stepper = /** @class */ (function (_super) {
258
258
  if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
259
259
  _this.setProgressPosition(_this.element, true);
260
260
  }
261
+ _this.navigateToStep(_this.activeStep, null, null, false);
261
262
  }, this);
262
263
  EventHandler.add(window, 'click', function () { _this.updateStepFocus(); }, this);
263
264
  };
265
+ Stepper.prototype.unWireEvents = function () {
266
+ var _this = this;
267
+ EventHandler.remove(window, 'resize', function () {
268
+ if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
269
+ _this.setProgressPosition(_this.element, true);
270
+ }
271
+ });
272
+ EventHandler.remove(window, 'click', function () { _this.updateStepFocus(); });
273
+ };
264
274
  Stepper.prototype.updateStepFocus = function () {
265
275
  if (this.isKeyNavFocus) {
266
276
  this.isKeyNavFocus = false;
@@ -924,16 +934,31 @@ var Stepper = /** @class */ (function (_super) {
924
934
  }
925
935
  this.stepperItemElements = [];
926
936
  };
937
+ /**
938
+ * Move to next step from current step in Stepper.
939
+ *
940
+ * @returns {void}
941
+ */
927
942
  Stepper.prototype.nextStep = function () {
928
943
  if (this.activeStep !== this.steps.length - 1) {
929
944
  this.navigateToStep(this.activeStep + 1, null, null, false);
930
945
  }
931
946
  };
947
+ /**
948
+ * Move to previous step from current step in Stepper.
949
+ *
950
+ * @returns {void}
951
+ */
932
952
  Stepper.prototype.previousStep = function () {
933
953
  if (this.activeStep > 0) {
934
954
  this.navigateToStep(this.activeStep - 1, null, null, false);
935
955
  }
936
956
  };
957
+ /**
958
+ * Reset the state of the Stepper and move to the first step.
959
+ *
960
+ * @returns {void}
961
+ */
937
962
  Stepper.prototype.reset = function () {
938
963
  if (this.activeStep === 0) {
939
964
  this.updateStepInteractions();
@@ -943,18 +968,30 @@ var Stepper = /** @class */ (function (_super) {
943
968
  this.navigateToStep(isDisabled ? -1 : 0, null, null, false);
944
969
  }
945
970
  };
971
+ /**
972
+ * Refreshes the position of the progress bar programmatically when the dimensions of the parent container are changed.
973
+ *
974
+ * @returns {void}
975
+ */
976
+ Stepper.prototype.refreshProgressbar = function () {
977
+ if (this.stepperItemList && this.progressbar) {
978
+ this.setProgressPosition(this.element);
979
+ }
980
+ this.navigateToStep(this.activeStep, null, null, false);
981
+ };
946
982
  Stepper.prototype.updateElementClassArray = function () {
947
983
  var classArray = [RTL, READONLY, 'e-steps-focus', LABELAFTER, LABELBEFORE, 'e-label-top',
948
984
  'e-label-bottom', 'e-label-start', 'e-label-end', STEPINDICATOR, LABELINDICATOR, VERTICALSTEP, HORIZSTEP, LINEARSTEP];
949
985
  removeClass([this.element], classArray);
950
986
  };
987
+ /**
988
+ * Destroy the stepper control.
989
+ *
990
+ * @returns {void}
991
+ */
951
992
  Stepper.prototype.destroy = function () {
952
- var _this = this;
953
993
  _super.prototype.destroy.call(this);
954
- EventHandler.remove(window, 'resize', function () { if (_this.stepperItemList && _this.progressbar) {
955
- _this.setProgressPosition(_this.element, true);
956
- } });
957
- EventHandler.remove(window, 'click', function () { _this.updateStepFocus(); });
994
+ this.unWireEvents();
958
995
  // unwires the events and detach the li elements
959
996
  this.removeItemElements();
960
997
  this.clearTemplate();
@@ -253,6 +253,8 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
253
253
  private isVertical;
254
254
  private tempId;
255
255
  private isExtendedOpen;
256
+ private clickEvent;
257
+ private scrollEvent;
256
258
  private resizeContext;
257
259
  private orientationChangeContext;
258
260
  /**
@@ -295,8 +295,10 @@ var Toolbar = /** @class */ (function (_super) {
295
295
  this.unwireKeyboardEvent();
296
296
  window.removeEventListener('resize', this.resizeContext);
297
297
  window.removeEventListener('orientationchange', this.orientationChangeContext);
298
- EventHandler.remove(document, 'scroll', this.docEvent);
299
- EventHandler.remove(document, 'click', this.docEvent);
298
+ document.removeEventListener('scroll', this.clickEvent);
299
+ document.removeEventListener('click', this.scrollEvent);
300
+ this.scrollEvent = null;
301
+ this.clickEvent = null;
300
302
  };
301
303
  Toolbar.prototype.clearProperty = function () {
302
304
  this.tbarEle = [];
@@ -695,6 +697,8 @@ var Toolbar = /** @class */ (function (_super) {
695
697
  this.initialize();
696
698
  this.renderControl();
697
699
  this.wireEvents();
700
+ this.clickEvent = this.docEvent.bind(this);
701
+ this.scrollEvent = this.docEvent.bind(this);
698
702
  this.renderComplete();
699
703
  if (this.isReact && this.portals && this.portals.length > 0) {
700
704
  this.renderReactTemplates(function () {
@@ -1080,8 +1084,8 @@ var Toolbar = /** @class */ (function (_super) {
1080
1084
  popup.offsetX = 0;
1081
1085
  }
1082
1086
  popup.appendTo(ele);
1083
- EventHandler.add(document, 'scroll', this.docEvent.bind(this));
1084
- EventHandler.add(document, 'click ', this.docEvent.bind(this));
1087
+ document.addEventListener('scroll', this.clickEvent);
1088
+ document.addEventListener('click', this.scrollEvent);
1085
1089
  if (this.overflowMode !== 'Extended') {
1086
1090
  popup.element.style.maxHeight = popup.element.offsetHeight + 'px';
1087
1091
  }
@@ -546,6 +546,8 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
546
546
  private isRightClick;
547
547
  private mouseDownStatus;
548
548
  private isDropIn;
549
+ private DDTTreeData;
550
+ private OldCheckedData;
549
551
  /**
550
552
  * Indicates whether the TreeView allows drag and drop of nodes. To drag and drop a node in
551
553
  * desktop, hold the mouse on the node, drag it to the target node and drop the node by releasing
@@ -1105,6 +1107,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
1105
1107
  private selectGivenNodes;
1106
1108
  private clickHandler;
1107
1109
  private nodeCheckedEvent;
1110
+ private updateOldCheckedData;
1108
1111
  private triggerClickEvent;
1109
1112
  private expandNode;
1110
1113
  private expandedNode;
@@ -219,6 +219,7 @@ var TreeView = /** @class */ (function (_super) {
219
219
  _this.isRightClick = false;
220
220
  _this.mouseDownStatus = false;
221
221
  _this.isDropIn = false;
222
+ _this.OldCheckedData = [];
222
223
  return _this;
223
224
  }
224
225
  TreeView_1 = TreeView;
@@ -292,6 +293,7 @@ var TreeView = /** @class */ (function (_super) {
292
293
  this.expandChildren = [];
293
294
  this.index = 0;
294
295
  this.setTouchClass();
296
+ this.DDTTreeData = JSON.parse(JSON.stringify(this.fields.dataSource));
295
297
  if (isNOU(this.selectedNodes)) {
296
298
  this.setProperties({ selectedNodes: [] }, true);
297
299
  }
@@ -670,23 +672,38 @@ var TreeView = /** @class */ (function (_super) {
670
672
  TreeView.prototype.updateParentCheckState = function () {
671
673
  var indeterminate = selectAll('.' + INDETERMINATE, this.element);
672
674
  var childCheckedElement;
675
+ var data = this.treeData;
676
+ if (this.element.classList.contains('e-filtering')) {
677
+ data = this.DDTTreeData;
678
+ }
673
679
  for (var i = 0; i < indeterminate.length; i++) {
674
680
  var node = closest(indeterminate[parseInt(i.toString(), 10)], '.' + LISTITEM);
675
681
  var nodeId = node.getAttribute('data-uid').toString();
682
+ var OldCheckedNodes = void 0;
683
+ if (this.element.classList.contains('e-filtering')) {
684
+ OldCheckedNodes = new DataManager(this.OldCheckedData).executeLocal(new Query().where('parentID', 'equal', nodeId, true));
685
+ }
676
686
  if (this.dataType === 1) {
677
- childCheckedElement = new DataManager(this.treeData).
687
+ childCheckedElement = new DataManager(data).
678
688
  executeLocal(new Query().where(this.fields.parentID, 'equal', nodeId, true));
679
689
  }
680
690
  else {
681
- childCheckedElement = this.getChildNodes(this.treeData, nodeId);
691
+ childCheckedElement = this.getChildNodes(data, nodeId);
682
692
  }
683
693
  var count = 0;
684
694
  if (childCheckedElement) {
685
- for (var j = 0; j < childCheckedElement.length; j++) {
686
- var childId = childCheckedElement[parseInt(j.toString(), 10)][this.fields.id].toString();
687
- if (this.checkedNodes.indexOf(childId) !== -1) {
695
+ var _loop_1 = function (j) {
696
+ var childId = childCheckedElement[parseInt(j.toString(), 10)][this_1.fields.id].toString();
697
+ if (this_1.checkedNodes.indexOf(childId) !== -1) {
698
+ count++;
699
+ }
700
+ else if (this_1.element.classList.contains('e-filtering') && OldCheckedNodes.findIndex(function (e) { return e['id'] === childId; }) !== -1) {
688
701
  count++;
689
702
  }
703
+ };
704
+ var this_1 = this;
705
+ for (var j = 0; j < childCheckedElement.length; j++) {
706
+ _loop_1(j);
690
707
  }
691
708
  if (count === childCheckedElement.length) {
692
709
  var nodeCheck = node.getAttribute('data-uid');
@@ -966,13 +983,28 @@ var TreeView = /** @class */ (function (_super) {
966
983
  var indeterminateNodes = selectAll('.' + INDETERMINATE, ulElement);
967
984
  var nodes = selectAll('.' + LISTITEM, ulElement);
968
985
  var checkBoxEle = element.getElementsByClassName(CHECKBOXWRAP)[0];
969
- if (nodes.length === checkedNodes.length) {
986
+ var count = nodes.length;
987
+ var checkedCount = checkedNodes.length;
988
+ var dataUid = element.getAttribute('data-uid');
989
+ if (this.element.classList.contains('e-filtering')) {
990
+ var oldCheckedNodes = new DataManager(this.OldCheckedData).executeLocal(new Query().where('parentID', 'equal', dataUid, true));
991
+ checkedCount = oldCheckedNodes.length;
992
+ var childItems = [];
993
+ if (this.dataType === 1) {
994
+ childItems = new DataManager(this.DDTTreeData).executeLocal(new Query().where(this.fields.parentID, 'equal', dataUid, true));
995
+ }
996
+ else {
997
+ childItems = this.getChildNodes(this.DDTTreeData, dataUid);
998
+ }
999
+ count = childItems.length;
1000
+ }
1001
+ if (count === checkedCount) {
970
1002
  this.changeState(checkBoxEle, 'check', null, true, true);
971
1003
  }
972
- else if (checkedNodes.length > 0 || indeterminateNodes.length > 0) {
1004
+ else if (checkedCount > 0 || indeterminateNodes.length > 0) {
973
1005
  this.changeState(checkBoxEle, 'indeterminate', null, true, true);
974
1006
  }
975
- else if (checkedNodes.length === 0) {
1007
+ else if (checkedCount === 0) {
976
1008
  this.changeState(checkBoxEle, 'uncheck', null, true, true);
977
1009
  }
978
1010
  var parentUL = closest(element, '.' + PARENTITEM);
@@ -1044,11 +1076,11 @@ var TreeView = /** @class */ (function (_super) {
1044
1076
  };
1045
1077
  TreeView.prototype.doCheckBoxAction = function (nodes, doCheck) {
1046
1078
  if (!isNOU(nodes)) {
1079
+ nodes.reverse();
1047
1080
  for (var len = nodes.length - 1; len >= 0; len--) {
1048
1081
  var liEle = this.getElement(nodes[parseInt(len.toString(), 10)]);
1049
1082
  if (isNOU(liEle)) {
1050
- var node = nodes[len - (nodes.length - 1)]
1051
- ? nodes[len - (nodes.length - 1)].toString()
1083
+ var node = nodes[len - nodes.length] ? nodes[len - nodes.length].toString()
1052
1084
  : nodes[parseInt(len.toString(), 10)]
1053
1085
  ? nodes[parseInt(len.toString(), 10)].toString()
1054
1086
  : null;
@@ -1608,6 +1640,25 @@ var TreeView = /** @class */ (function (_super) {
1608
1640
  eventArgs.data = eventArgs.data.splice(0, eventArgs.data.length - 1);
1609
1641
  this.trigger('nodeChecked', eventArgs);
1610
1642
  };
1643
+ TreeView.prototype.updateOldCheckedData = function (data) {
1644
+ var dataManager = new DataManager(data);
1645
+ var childItems = dataManager.executeLocal(new Query().where('isChecked', 'equal', 'true', true));
1646
+ var uncheckedItems = dataManager.executeLocal(new Query().where('isChecked', 'equal', 'false', true));
1647
+ if (uncheckedItems.length > 0) {
1648
+ var index = this.OldCheckedData.findIndex(function (e) { return e['id'] === uncheckedItems[0]['id']; });
1649
+ if (index !== -1) {
1650
+ this.OldCheckedData.splice(index, 1);
1651
+ return;
1652
+ }
1653
+ }
1654
+ if (childItems.length > 0) {
1655
+ var index = this.OldCheckedData.findIndex(function (e) { return e['id'] === childItems[0]['id']; });
1656
+ if (index === -1) {
1657
+ this.OldCheckedData.push(childItems[0]);
1658
+ return;
1659
+ }
1660
+ }
1661
+ };
1611
1662
  TreeView.prototype.triggerClickEvent = function (e, li) {
1612
1663
  var eventArgs = {
1613
1664
  event: e,
@@ -2461,6 +2512,7 @@ var TreeView = /** @class */ (function (_super) {
2461
2512
  this.changeState(checkWrap, isCheck ? 'uncheck' : 'check', e, true);
2462
2513
  if (this.autoCheck) {
2463
2514
  this.ensureChildCheckState(li);
2515
+ this.updateOldCheckedData([this.getNodeData(li)]);
2464
2516
  this.ensureParentCheckState(closest(closest(li, '.' + PARENTITEM), '.' + LISTITEM));
2465
2517
  var doCheck = void 0;
2466
2518
  if (eventArgs.action === 'check') {
@@ -4259,7 +4311,7 @@ var TreeView = /** @class */ (function (_super) {
4259
4311
  }
4260
4312
  for (var i = 0, objlen = obj.length; i < objlen; i++) {
4261
4313
  var nodeId = getValue(mapper.id, obj[parseInt(i.toString(), 10)]);
4262
- if (obj[parseInt(i.toString(), 10)] && nodeId && nodeId.toString() === id) {
4314
+ if (obj[parseInt(i.toString(), 10)] && !isNOU(nodeId) && nodeId.toString() === id) {
4263
4315
  if (remove) {
4264
4316
  removedData = obj.splice(i, 1);
4265
4317
  }
@@ -4836,6 +4888,9 @@ var TreeView = /** @class */ (function (_super) {
4836
4888
  this.initialRender = true;
4837
4889
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4838
4890
  if (!this.isReact || this.isReact && !(this.fields.dataSource instanceof DataManager)) {
4891
+ if (!this.element.classList.contains('e-filtering')) {
4892
+ this.DDTTreeData = JSON.parse(JSON.stringify(this.fields.dataSource));
4893
+ }
4839
4894
  this.reRenderNodes();
4840
4895
  }
4841
4896
  this.initialRender = false;
@@ -47,7 +47,7 @@
47
47
  --color-sf-flyout-bg-color-pressed: #e0e0e0;
48
48
  --color-sf-flyout-bg-color-selected: #ebebeb;
49
49
  --color-sf-flyout-bg-color-focus: #f5f5f5;
50
- --color-sf-overlay-bg-color: #000;
50
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
51
51
  --color-sf-table-bg-color-hover: #f5f5f5;
52
52
  --color-sf-table-bg-color-pressed: #e0e0e0;
53
53
  --color-sf-table-bg-color-selected: #ebf3fc;
@@ -369,7 +369,7 @@
369
369
  --color-sf-flyout-bg-color-pressed: var(--color-sf-black);
370
370
  --color-sf-flyout-bg-color-selected: #383838;
371
371
  --color-sf-flyout-bg-color-focus: var(--color-sf-flyout-bg-color-hover);
372
- --color-sf-overlay-bg-color: rgba($black, .4);
372
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
373
373
  --color-sf-table-bg-color-hover: #383838;
374
374
  --color-sf-table-bg-color-pressed: #2e2e2e;
375
375
  --color-sf-table-bg-color-selected: #082338;
@@ -711,9 +711,9 @@
711
711
  --color-sf-flyout-bg-color-pressed: var(--color-sf-content-bg-color-hover);
712
712
  --color-sf-flyout-bg-color-selected: var(--color-sf-content-bg-color-hover);
713
713
  --color-sf-flyout-bg-color-focus: var(--color-sf-content-bg-color-hover);
714
- --color-sf-overlay-bg-color: rgba($black, .4);
715
- --color-sf-table-bg-color-hover: var(--color-sf-black);
716
- --color-sf-table-bg-color-pressed: var(--color-sf-black);
714
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
715
+ --color-sf-table-bg-color-hover: #1a3bff;
716
+ --color-sf-table-bg-color-pressed: #1a3bff;
717
717
  --color-sf-table-bg-color-selected: #1a3bff;
718
718
  --color-sf-content-text-color: #fff;
719
719
  --color-sf-content-text-color-alt1: var(--color-sf-content-text-color);
@@ -732,12 +732,12 @@
732
732
  --color-sf-flyout-text-color-selected: var(--color-sf-content-text-color-hover);
733
733
  --color-sf-flyout-text-color-focus: var(--color-sf-content-text-color-hover);
734
734
  --color-sf-flyout-text-color-disabled: var(--color-sf-content-text-color-disabled);
735
- --color-sf-table-text-color-hover: var(--color-sf-content-text-color-hover);
736
- --color-sf-table-text-color-pressed: var(--color-sf-content-text-color-hover);
737
- --color-sf-table-text-color-selected: var(--color-sf-content-text-color-hover);
735
+ --color-sf-table-text-color-hover: #000;
736
+ --color-sf-table-text-color-pressed: #000;
737
+ --color-sf-table-text-color-selected: #000;
738
738
  --color-sf-icon-color: #fff;
739
- --color-sf-icon-color-hover: var(--color-sf-content-text-color-hover);
740
- --color-sf-icon-color-pressed: var(--color-sf-content-text-color-hover);
739
+ --color-sf-icon-color-hover: #000;
740
+ --color-sf-icon-color-pressed: #000;
741
741
  --color-sf-icon-color-disabled: var(--color-sf-content-text-color-disabled);
742
742
  --color-sf-border-light: #fff;
743
743
  --color-sf-border: var(--color-sf-border-light);
@@ -47,7 +47,7 @@
47
47
  --color-sf-flyout-bg-color-pressed: #e0e0e0;
48
48
  --color-sf-flyout-bg-color-selected: #ebebeb;
49
49
  --color-sf-flyout-bg-color-focus: #f5f5f5;
50
- --color-sf-overlay-bg-color: #000;
50
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
51
51
  --color-sf-table-bg-color-hover: #f5f5f5;
52
52
  --color-sf-table-bg-color-pressed: #e0e0e0;
53
53
  --color-sf-table-bg-color-selected: #ebf3fc;
@@ -369,7 +369,7 @@
369
369
  --color-sf-flyout-bg-color-pressed: var(--color-sf-black);
370
370
  --color-sf-flyout-bg-color-selected: #383838;
371
371
  --color-sf-flyout-bg-color-focus: var(--color-sf-flyout-bg-color-hover);
372
- --color-sf-overlay-bg-color: rgba($black, .4);
372
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
373
373
  --color-sf-table-bg-color-hover: #383838;
374
374
  --color-sf-table-bg-color-pressed: #2e2e2e;
375
375
  --color-sf-table-bg-color-selected: #082338;
@@ -711,9 +711,9 @@
711
711
  --color-sf-flyout-bg-color-pressed: var(--color-sf-content-bg-color-hover);
712
712
  --color-sf-flyout-bg-color-selected: var(--color-sf-content-bg-color-hover);
713
713
  --color-sf-flyout-bg-color-focus: var(--color-sf-content-bg-color-hover);
714
- --color-sf-overlay-bg-color: rgba($black, .4);
715
- --color-sf-table-bg-color-hover: var(--color-sf-black);
716
- --color-sf-table-bg-color-pressed: var(--color-sf-black);
714
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
715
+ --color-sf-table-bg-color-hover: #1a3bff;
716
+ --color-sf-table-bg-color-pressed: #1a3bff;
717
717
  --color-sf-table-bg-color-selected: #1a3bff;
718
718
  --color-sf-content-text-color: #fff;
719
719
  --color-sf-content-text-color-alt1: var(--color-sf-content-text-color);
@@ -732,12 +732,12 @@
732
732
  --color-sf-flyout-text-color-selected: var(--color-sf-content-text-color-hover);
733
733
  --color-sf-flyout-text-color-focus: var(--color-sf-content-text-color-hover);
734
734
  --color-sf-flyout-text-color-disabled: var(--color-sf-content-text-color-disabled);
735
- --color-sf-table-text-color-hover: var(--color-sf-content-text-color-hover);
736
- --color-sf-table-text-color-pressed: var(--color-sf-content-text-color-hover);
737
- --color-sf-table-text-color-selected: var(--color-sf-content-text-color-hover);
735
+ --color-sf-table-text-color-hover: #000;
736
+ --color-sf-table-text-color-pressed: #000;
737
+ --color-sf-table-text-color-selected: #000;
738
738
  --color-sf-icon-color: #fff;
739
- --color-sf-icon-color-hover: var(--color-sf-content-text-color-hover);
740
- --color-sf-icon-color-pressed: var(--color-sf-content-text-color-hover);
739
+ --color-sf-icon-color-hover: #000;
740
+ --color-sf-icon-color-pressed: #000;
741
741
  --color-sf-icon-color-disabled: var(--color-sf-content-text-color-disabled);
742
742
  --color-sf-border-light: #fff;
743
743
  --color-sf-border: var(--color-sf-border-light);
@@ -7823,7 +7823,8 @@
7823
7823
  /* stylelint-disable property-no-vendor-prefix */
7824
7824
  /* stylelint-disable */
7825
7825
  /*! TreeView icons */
7826
- .e-treeview .e-list-item div.e-icons::before {
7826
+ .e-treeview .e-list-item div.e-icons.e-icon-expandable::before,
7827
+ .e-treeview .e-list-item div.e-icons.e-icon-collapsible::before {
7827
7828
  content: "\e230";
7828
7829
  }
7829
7830
  .e-treeview .e-sibling::before {
@@ -7826,7 +7826,8 @@
7826
7826
  /*! TreeView's bootstrap theme wise override definitions and variables */
7827
7827
  /* stylelint-disable */
7828
7828
  /*! TreeView icons */
7829
- .e-treeview .e-list-item div.e-icons::before {
7829
+ .e-treeview .e-list-item div.e-icons.e-icon-expandable::before,
7830
+ .e-treeview .e-list-item div.e-icons.e-icon-collapsible::before {
7830
7831
  content: "\e230";
7831
7832
  }
7832
7833
  .e-treeview .e-sibling::before {
@@ -7825,7 +7825,8 @@
7825
7825
  /* stylelint-disable property-no-vendor-prefix */
7826
7826
  /* stylelint-disable */
7827
7827
  /*! TreeView icons */
7828
- .e-treeview .e-list-item div.e-icons::before {
7828
+ .e-treeview .e-list-item div.e-icons.e-icon-expandable::before,
7829
+ .e-treeview .e-list-item div.e-icons.e-icon-collapsible::before {
7829
7830
  content: "\e70b";
7830
7831
  }
7831
7832
  .e-treeview .e-sibling::before {
@@ -7863,7 +7863,8 @@
7863
7863
  /*! TreeView's bootstrap5 theme wise override definitions and variables */
7864
7864
  /* stylelint-disable */
7865
7865
  /*! TreeView icons */
7866
- .e-treeview .e-list-item div.e-icons::before {
7866
+ .e-treeview .e-list-item div.e-icons.e-icon-expandable::before,
7867
+ .e-treeview .e-list-item div.e-icons.e-icon-collapsible::before {
7867
7868
  content: "\e75c";
7868
7869
  }
7869
7870
  .e-treeview .e-sibling::before {
@@ -7863,7 +7863,8 @@
7863
7863
  /*! TreeView's bootstrap5 theme wise override definitions and variables */
7864
7864
  /* stylelint-disable */
7865
7865
  /*! TreeView icons */
7866
- .e-treeview .e-list-item div.e-icons::before {
7866
+ .e-treeview .e-list-item div.e-icons.e-icon-expandable::before,
7867
+ .e-treeview .e-list-item div.e-icons.e-icon-collapsible::before {
7867
7868
  content: "\e75c";
7868
7869
  }
7869
7870
  .e-treeview .e-sibling::before {
@@ -170,9 +170,11 @@
170
170
  &:focus-visible {
171
171
  @if $skin-name == 'fluent2' {
172
172
  box-shadow: $secondary-shadow-focus;
173
+ color: $breadcrumb-item-color !important; /* stylelint-disable-line declaration-no-important */
173
174
 
174
- & .e-breadcrumb-icon {
175
- color: $icon-color;
175
+ & .e-breadcrumb-icon,
176
+ &.e-breadcrumb-url .e-breadcrumb-icon {
177
+ color: $icon-color !important; /* stylelint-disable-line declaration-no-important */
176
178
  }
177
179
  }
178
180
  }
@@ -47,7 +47,7 @@
47
47
  --color-sf-flyout-bg-color-pressed: #e0e0e0;
48
48
  --color-sf-flyout-bg-color-selected: #ebebeb;
49
49
  --color-sf-flyout-bg-color-focus: #f5f5f5;
50
- --color-sf-overlay-bg-color: #000;
50
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
51
51
  --color-sf-table-bg-color-hover: #f5f5f5;
52
52
  --color-sf-table-bg-color-pressed: #e0e0e0;
53
53
  --color-sf-table-bg-color-selected: #ebf3fc;
@@ -369,7 +369,7 @@
369
369
  --color-sf-flyout-bg-color-pressed: var(--color-sf-black);
370
370
  --color-sf-flyout-bg-color-selected: #383838;
371
371
  --color-sf-flyout-bg-color-focus: var(--color-sf-flyout-bg-color-hover);
372
- --color-sf-overlay-bg-color: rgba($black, .4);
372
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
373
373
  --color-sf-table-bg-color-hover: #383838;
374
374
  --color-sf-table-bg-color-pressed: #2e2e2e;
375
375
  --color-sf-table-bg-color-selected: #082338;
@@ -711,9 +711,9 @@
711
711
  --color-sf-flyout-bg-color-pressed: var(--color-sf-content-bg-color-hover);
712
712
  --color-sf-flyout-bg-color-selected: var(--color-sf-content-bg-color-hover);
713
713
  --color-sf-flyout-bg-color-focus: var(--color-sf-content-bg-color-hover);
714
- --color-sf-overlay-bg-color: rgba($black, .4);
715
- --color-sf-table-bg-color-hover: var(--color-sf-black);
716
- --color-sf-table-bg-color-pressed: var(--color-sf-black);
714
+ --color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
715
+ --color-sf-table-bg-color-hover: #1a3bff;
716
+ --color-sf-table-bg-color-pressed: #1a3bff;
717
717
  --color-sf-table-bg-color-selected: #1a3bff;
718
718
  --color-sf-content-text-color: #fff;
719
719
  --color-sf-content-text-color-alt1: var(--color-sf-content-text-color);
@@ -732,12 +732,12 @@
732
732
  --color-sf-flyout-text-color-selected: var(--color-sf-content-text-color-hover);
733
733
  --color-sf-flyout-text-color-focus: var(--color-sf-content-text-color-hover);
734
734
  --color-sf-flyout-text-color-disabled: var(--color-sf-content-text-color-disabled);
735
- --color-sf-table-text-color-hover: var(--color-sf-content-text-color-hover);
736
- --color-sf-table-text-color-pressed: var(--color-sf-content-text-color-hover);
737
- --color-sf-table-text-color-selected: var(--color-sf-content-text-color-hover);
735
+ --color-sf-table-text-color-hover: #000;
736
+ --color-sf-table-text-color-pressed: #000;
737
+ --color-sf-table-text-color-selected: #000;
738
738
  --color-sf-icon-color: #fff;
739
- --color-sf-icon-color-hover: var(--color-sf-content-text-color-hover);
740
- --color-sf-icon-color-pressed: var(--color-sf-content-text-color-hover);
739
+ --color-sf-icon-color-hover: #000;
740
+ --color-sf-icon-color-pressed: #000;
741
741
  --color-sf-icon-color-disabled: var(--color-sf-content-text-color-disabled);
742
742
  --color-sf-border-light: #fff;
743
743
  --color-sf-border: var(--color-sf-border-light);
@@ -1151,9 +1151,10 @@
1151
1151
  .e-breadcrumb .e-breadcrumb-item a.e-breadcrumb-text:focus-visible {
1152
1152
  -webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
1153
1153
  box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
1154
+ color: var(--color-sf-content-text-color-alt1) !important; /* stylelint-disable-line declaration-no-important */
1154
1155
  }
1155
- .e-breadcrumb .e-breadcrumb-item a.e-breadcrumb-text:focus-visible .e-breadcrumb-icon {
1156
- color: var(--color-sf-icon-color);
1156
+ .e-breadcrumb .e-breadcrumb-item a.e-breadcrumb-text:focus-visible .e-breadcrumb-icon, .e-breadcrumb .e-breadcrumb-item a.e-breadcrumb-text:focus-visible.e-breadcrumb-url .e-breadcrumb-icon {
1157
+ color: var(--color-sf-icon-color) !important; /* stylelint-disable-line declaration-no-important */
1157
1158
  }
1158
1159
  .e-breadcrumb .e-breadcrumb-item span.e-breadcrumb-text {
1159
1160
  cursor: default;