@syncfusion/ej2-navigations 20.1.60 → 20.1.61
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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +9 -6
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +11 -8
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/tab/tab.js +9 -2
- package/src/treeview/treeview-model.d.ts +1 -1
- package/src/treeview/treeview.js +2 -6
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.61
|
|
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@20.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@20.1.60",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-96Gqo3fqKiMJzZ/WyRRb+EDfOaHZjSyADT5ztCEl3VMLb/t6oSQnrv1M3To+zLLA9IlLLpB40lxbINF/Zcy6yg==",
|
|
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.
|
|
41
|
-
"_shasum": "
|
|
40
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.60.tgz",
|
|
41
|
+
"_shasum": "444b889578b064b01248c5e4912ff739c38ff991",
|
|
42
42
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
43
43
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
44
44
|
"author": {
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bundleDependencies": false,
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@syncfusion/ej2-base": "~20.1.
|
|
53
|
-
"@syncfusion/ej2-buttons": "~20.1.
|
|
52
|
+
"@syncfusion/ej2-base": "~20.1.61",
|
|
53
|
+
"@syncfusion/ej2-buttons": "~20.1.61",
|
|
54
54
|
"@syncfusion/ej2-data": "~20.1.55",
|
|
55
|
-
"@syncfusion/ej2-inputs": "~20.1.
|
|
55
|
+
"@syncfusion/ej2-inputs": "~20.1.61",
|
|
56
56
|
"@syncfusion/ej2-lists": "~20.1.55",
|
|
57
57
|
"@syncfusion/ej2-popups": "~20.1.58"
|
|
58
58
|
},
|
|
@@ -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.
|
|
162
|
+
"version": "20.1.61",
|
|
163
163
|
"sideEffects": false
|
|
164
164
|
}
|
package/src/tab/tab.js
CHANGED
|
@@ -1848,7 +1848,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
this.tbItems = select('.' + CLS_TB_ITEMS, this.getTabHeader());
|
|
1850
1850
|
this.isAdd = true;
|
|
1851
|
-
var
|
|
1851
|
+
var tabItems_2 = this.parseObject(items, index);
|
|
1852
1852
|
this.isAdd = false;
|
|
1853
1853
|
var i_1 = 0;
|
|
1854
1854
|
var textValue_1;
|
|
@@ -1856,6 +1856,12 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1856
1856
|
textValue_1 = item.headerTemplate || item.header.text;
|
|
1857
1857
|
if (!(isNOU(item.headerTemplate || item.header) || isNOU(textValue_1) ||
|
|
1858
1858
|
(textValue_1.length === 0) && !isNOU(item.header) && isNOU(item.header.iconCss))) {
|
|
1859
|
+
if (tabItems_2[place]) {
|
|
1860
|
+
if (isNOU(item.id)) {
|
|
1861
|
+
item.id = TABITEMPREFIX + (lastEleIndex + place).toString();
|
|
1862
|
+
}
|
|
1863
|
+
tabItems_2[place].htmlAttributes['data-id'] = item.id;
|
|
1864
|
+
}
|
|
1859
1865
|
_this.items.splice((index + i_1), 0, item);
|
|
1860
1866
|
i_1++;
|
|
1861
1867
|
}
|
|
@@ -1870,7 +1876,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1870
1876
|
_this.getContent(eleTrg, item.content, 'render', index);
|
|
1871
1877
|
}
|
|
1872
1878
|
});
|
|
1873
|
-
this.tbObj.addItems(
|
|
1879
|
+
this.tbObj.addItems(tabItems_2, index);
|
|
1874
1880
|
if (!this.isReplace) {
|
|
1875
1881
|
this.trigger('added', { addedItems: items });
|
|
1876
1882
|
}
|
|
@@ -1879,6 +1885,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1879
1885
|
}
|
|
1880
1886
|
else {
|
|
1881
1887
|
this.setActiveBorder();
|
|
1888
|
+
this.tbItem = selectAll('.' + CLS_TB_ITEM, this.getTabHeader());
|
|
1882
1889
|
}
|
|
1883
1890
|
this.bindDraggable();
|
|
1884
1891
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined
|
|
1
|
+
import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Event, EventHandler, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { rippleEffect, Effect, Animation, AnimationOptions, RippleOptions, remove } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { getElement } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue, extend, merge, attributes } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions, AriaAttributesMapping, FieldsMapping } from '@syncfusion/ej2-lists';import { createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
|
|
2
2
|
import {ExpandOnSettings,SortOrder,FailureEventArgs,DataBoundEventArgs,DataSourceChangedEventArgs,DrawNodeEventArgs,NodeKeyPressEventArgs,NodeCheckEventArgs,NodeClickEventArgs,NodeExpandEventArgs,DragAndDropEventArgs,NodeEditEventArgs,NodeSelectEventArgs} from "./treeview";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
package/src/treeview/treeview.js
CHANGED
|
@@ -3669,14 +3669,10 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
3669
3669
|
for (var j = 0; j < cNodes.length; j++) {
|
|
3670
3670
|
var returnValue = (this.sortOrder === 'Ascending') ? cNodes[j].textContent.toUpperCase() > li[i].innerText.toUpperCase() : cNodes[j].textContent.toUpperCase() < li[i].innerText.toUpperCase();
|
|
3671
3671
|
if (returnValue) {
|
|
3672
|
-
|
|
3673
|
-
dropUl.insertBefore(li[i], refNode);
|
|
3672
|
+
dropUl.insertBefore(li[i], cNodes[j]);
|
|
3674
3673
|
break;
|
|
3675
3674
|
}
|
|
3676
|
-
|
|
3677
|
-
refNode = cNodes[cNodes.length];
|
|
3678
|
-
dropUl.insertBefore(li[i], refNode);
|
|
3679
|
-
}
|
|
3675
|
+
dropUl.insertBefore(li[i], cNodes[cNodes.length]);
|
|
3680
3676
|
}
|
|
3681
3677
|
}
|
|
3682
3678
|
}
|