@syncfusion/ej2-navigations
Advanced tools
Comparing version 17.1.32-beta to 17.1.38
@@ -5,2 +5,16 @@ # Changelog | ||
### Menu | ||
#### Bug Fixes | ||
- Support provided for dynamically updating the self referential data. | ||
### Accordion | ||
#### Bug Fixes | ||
- An issue with the expand action of Accordion when set to single mode, with the items being rendered using content template is fixed now. | ||
## 17.1.32-beta (2019-03-13) | ||
### ContextMenu | ||
@@ -7,0 +21,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.1.32-beta | ||
* version : 17.1.38 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-navigations", | ||
"version": "17.1.32-beta", | ||
"version": "17.1.38", | ||
"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", | ||
@@ -11,8 +11,8 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.1.32-beta", | ||
"@syncfusion/ej2-data": "~17.1.32-beta", | ||
"@syncfusion/ej2-buttons": "~17.1.32-beta", | ||
"@syncfusion/ej2-popups": "~17.1.32-beta", | ||
"@syncfusion/ej2-lists": "~17.1.32-beta", | ||
"@syncfusion/ej2-inputs": "~17.1.32-beta" | ||
"@syncfusion/ej2-base": "~17.1.38", | ||
"@syncfusion/ej2-data": "~17.1.38", | ||
"@syncfusion/ej2-buttons": "~17.1.38", | ||
"@syncfusion/ej2-popups": "~17.1.38", | ||
"@syncfusion/ej2-lists": "~17.1.38", | ||
"@syncfusion/ej2-inputs": "~17.1.38" | ||
}, | ||
@@ -19,0 +19,0 @@ "devDependencies": {}, |
@@ -384,3 +384,5 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
[].slice.call(this.element.children).forEach(function (el) { | ||
var acrdcontainer = this.element.querySelector('.' + CLS_CONTAINER); | ||
var acrdnchild = (acrdcontainer) ? acrdcontainer.children : this.element.children; | ||
[].slice.call(acrdnchild).forEach(function (el) { | ||
if (el.classList.contains(CLS_ACTIVE)) { | ||
@@ -387,0 +389,0 @@ acrdActive.push(el); |
@@ -116,3 +116,3 @@ import { Component, ChildProperty, INotifyPropertyChanged } from '@syncfusion/ej2-base'; | ||
export declare abstract class MenuBase extends Component<HTMLUListElement> implements INotifyPropertyChanged { | ||
private ngElement; | ||
private clonedElement; | ||
private targetElement; | ||
@@ -291,3 +291,3 @@ private delegateClickHandler; | ||
*/ | ||
protected unWireEvents(): void; | ||
protected unWireEvents(targetSelctor?: string): void; | ||
private unWireKeyboardEvent; | ||
@@ -355,2 +355,3 @@ private toggleAnimation; | ||
private insertItems; | ||
private removeAttributes; | ||
/** | ||
@@ -368,2 +369,3 @@ * Destroys the widget. | ||
item: MenuItemModel; | ||
event?: Event; | ||
} | ||
@@ -370,0 +372,0 @@ /** |
@@ -92,4 +92,3 @@ var __extends = (this && this.__extends) || (function () { | ||
case 'target': | ||
this.unWireEvents(); | ||
this.target = newProp.target; | ||
this.unWireEvents(oldProp.target); | ||
this.wireEvents(); | ||
@@ -96,0 +95,0 @@ break; |
@@ -62,2 +62,3 @@ /// <reference path="../common/menu-base-model.d.ts" /> | ||
protected initialize(): void; | ||
private updateMenuItems; | ||
/** | ||
@@ -64,0 +65,0 @@ * Called internally if any of the property value changed |
@@ -75,7 +75,3 @@ var __extends = (this && this.__extends) || (function () { | ||
else { | ||
this.tempItems = this.items; | ||
this.items = []; | ||
this.tempItems.map(this.createMenuItems, this); | ||
this.setProperties({ items: this.items }, true); | ||
this.tempItems = []; | ||
this.updateMenuItems(this.items); | ||
} | ||
@@ -97,2 +93,9 @@ _super.prototype.preRender.call(this); | ||
}; | ||
Menu.prototype.updateMenuItems = function (items) { | ||
this.tempItems = items; | ||
this.items = []; | ||
this.tempItems.map(this.createMenuItems, this); | ||
this.setProperties({ items: this.items }, true); | ||
this.tempItems = []; | ||
}; | ||
/** | ||
@@ -106,3 +109,2 @@ * Called internally if any of the property value changed | ||
Menu.prototype.onPropertyChanged = function (newProp, oldProp) { | ||
_super.prototype.onPropertyChanged.call(this, newProp, oldProp); | ||
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) { | ||
@@ -121,4 +123,10 @@ var prop = _a[_i]; | ||
break; | ||
case 'items': | ||
if (!Object.keys(oldProp.items).length) { | ||
this.updateMenuItems(newProp.items); | ||
} | ||
break; | ||
} | ||
} | ||
_super.prototype.onPropertyChanged.call(this, newProp, oldProp); | ||
}; | ||
@@ -125,0 +133,0 @@ Menu.prototype.createMenuItems = function (item) { |
@@ -134,2 +134,3 @@ import { Component, formatUnit, EventHandler, Event, isNullOrUndefined, closest } from '@syncfusion/ej2-base';import { Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, Browser } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, addClass, removeClass, createElement, Touch, SwipeEventArgs } from '@syncfusion/ej2-base'; | ||
* @default 'auto' | ||
* @aspType string | ||
*/ | ||
@@ -140,3 +141,4 @@ width?: string | number; | ||
* Specifies the z-index of the Sidebar. It is applicable only when sidebar act as overlay type. | ||
* @default 1000 | ||
* @default '1000' | ||
* @aspType string | ||
*/ | ||
@@ -143,0 +145,0 @@ zIndex?: string | number; |
@@ -141,2 +141,3 @@ import { Component } from '@syncfusion/ej2-base'; | ||
* @default 'auto' | ||
* @aspType string | ||
*/ | ||
@@ -146,3 +147,4 @@ width: string | number; | ||
* Specifies the z-index of the Sidebar. It is applicable only when sidebar act as overlay type. | ||
* @default 1000 | ||
* @default '1000' | ||
* @aspType string | ||
*/ | ||
@@ -149,0 +151,0 @@ zIndex: string | number; |
@@ -103,3 +103,3 @@ import { Component, EmitType, isUndefined, Browser, compile } 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 } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, createElement, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue } 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'; | ||
* Specifies the type of animation. | ||
* @default : 'SlideDown'; | ||
* @default 'SlideDown' | ||
*/ | ||
@@ -110,3 +110,3 @@ effect?: Effect; | ||
* Specifies the duration to animate. | ||
* @default : 400; | ||
* @default 400 | ||
*/ | ||
@@ -117,3 +117,3 @@ duration?: number; | ||
* Specifies the animation timing function. | ||
* @default : 'linear'; | ||
* @default 'linear' | ||
*/ | ||
@@ -120,0 +120,0 @@ easing?: string; |
@@ -321,3 +321,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
* Specifies the type of animation. | ||
* @default : 'SlideDown'; | ||
* @default 'SlideDown' | ||
*/ | ||
@@ -327,3 +327,3 @@ effect: Effect; | ||
* Specifies the duration to animate. | ||
* @default : 400; | ||
* @default 400 | ||
*/ | ||
@@ -333,3 +333,3 @@ duration: number; | ||
* Specifies the animation timing function. | ||
* @default : 'linear'; | ||
* @default 'linear' | ||
*/ | ||
@@ -336,0 +336,0 @@ easing: string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10712824
444
165478
2