@syncfusion/ej2-lists
Advanced tools
Comparing version 17.3.27 to 17.4.39
@@ -5,2 +5,4 @@ # Changelog | ||
## 17.3.27 (2019-11-12) | ||
### ListBox | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.3.27 | ||
* version : 17.4.39 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-lists@*", | ||
"_id": "@syncfusion/ej2-lists@17.3.26", | ||
"_id": "@syncfusion/ej2-lists@17.3.27", | ||
"_inBundle": false, | ||
"_integrity": "sha512-JZwNJfLd5t5tXlBKn67T+ytfvI6ZBxA9i7LcBvOes3n+rHKX4YwPAJqGyLpjJ314WldY4Pi/5NEN56DxwvTesw==", | ||
"_integrity": "sha512-DYD0JZKKPw1M7P4hrrmDWJAqBAliuqzYVyddwBVyB+bkfCDGGzf3GS46fo/8kBEMQ6nD6mgBBmUDDzDnDHf13A==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -36,4 +36,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-lists/-/ej2-lists-17.3.26.tgz", | ||
"_shasum": "55b05e4caba6b27f91a26cbbae2005cfa418aa63", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-17.3.27.tgz", | ||
"_shasum": "fb6fee696d03e96eab5d9818ad455bda592b8f13", | ||
"_spec": "@syncfusion/ej2-lists@*", | ||
@@ -46,5 +46,5 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.3.27", | ||
"@syncfusion/ej2-buttons": "~17.3.27", | ||
"@syncfusion/ej2-data": "~17.3.27" | ||
"@syncfusion/ej2-base": "~17.4.39", | ||
"@syncfusion/ej2-buttons": "~17.4.39", | ||
"@syncfusion/ej2-data": "~17.4.39" | ||
}, | ||
@@ -89,4 +89,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "17.3.27", | ||
"version": "17.4.39", | ||
"sideEffects": false | ||
} |
@@ -173,8 +173,20 @@ import { Query } from '@syncfusion/ej2-data'; | ||
iconCss?: string; | ||
/** | ||
* @blazortype object | ||
*/ | ||
child?: string; | ||
tooltip?: string; | ||
hasChildren?: string; | ||
/** | ||
* @blazortype object | ||
*/ | ||
htmlAttributes?: string; | ||
/** | ||
* @blazortype object | ||
*/ | ||
urlAttributes?: string; | ||
imageUrl?: string; | ||
/** | ||
* @blazortype object | ||
*/ | ||
imageAttributes?: string; | ||
@@ -279,2 +291,6 @@ } | ||
removeBlazorID?: boolean; | ||
/** | ||
* Defines whether to allow the cross scripting site or not. | ||
*/ | ||
enableHtmlSanitizer?: boolean; | ||
} | ||
@@ -281,0 +297,0 @@ /** |
import { extend, merge, isNullOrUndefined, getValue } from '@syncfusion/ej2-base'; | ||
import { attributes, prepend, isVisible, append, addClass } from '@syncfusion/ej2-base'; | ||
import { compile } from '@syncfusion/ej2-base'; | ||
import { compile, SanitizeHtmlHelper } from '@syncfusion/ej2-base'; | ||
import { DataManager, Query } from '@syncfusion/ej2-data'; | ||
@@ -63,2 +63,3 @@ export var cssClass = { | ||
showIcon: false, | ||
enableHtmlSanitizer: false, | ||
expandCollapse: false, | ||
@@ -658,2 +659,5 @@ fields: ListBase.defaultMappedFields, | ||
} | ||
if (options && options.enableHtmlSanitizer) { | ||
text = SanitizeHtmlHelper.sanitize(text); | ||
} | ||
var li = createElement('li', { | ||
@@ -660,0 +664,0 @@ className: (grpLI === true ? cssClass.group : cssClass.li) + ' ' + (isNullOrUndefined(className) ? '' : className), |
@@ -1,2 +0,2 @@ | ||
import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration, isBlazor, extend } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, prepend, closest, remove } from '@syncfusion/ej2-base';import { Component, EventHandler, BaseEventArgs, Property, Complex, Event } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { KeyboardEventArgs, EmitType, compile } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, Effect, rippleEffect, Touch, SwipeEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { createCheckBox } from '@syncfusion/ej2-buttons';import { ListBase, ListBaseOptions, SortOrder, getFieldValues, FieldsMapping } from '../common/list-base';import { updateBlazorTemplate, resetBlazorTemplate, blazorTemplates } from '@syncfusion/ej2-base'; | ||
import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration, isBlazor, extend } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, prepend, closest, remove } from '@syncfusion/ej2-base';import { Component, EventHandler, BaseEventArgs, Property, Complex, Event } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { KeyboardEventArgs, EmitType, compile, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, Effect, rippleEffect, Touch, SwipeEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { createCheckBox } from '@syncfusion/ej2-buttons';import { ListBase, ListBaseOptions, SortOrder, getFieldValues, FieldsMapping } from '../common/list-base';import { updateBlazorTemplate, resetBlazorTemplate, blazorTemplates } from '@syncfusion/ej2-base'; | ||
import {AnimationSettings,checkBoxPosition,SelectEventArgs} from "./list-view"; | ||
@@ -193,2 +193,8 @@ import {ComponentModel} from '@syncfusion/ej2-base'; | ||
/** | ||
* Defines whether to allow the cross-scripting site or not. | ||
* @default false | ||
*/ | ||
enableHtmlSanitizer?: boolean; | ||
/** | ||
* It is used to set the height of the ListView component. | ||
@@ -195,0 +201,0 @@ * @default '' |
@@ -248,2 +248,7 @@ import { Virtualization } from './virtualization'; | ||
/** | ||
* Defines whether to allow the cross-scripting site or not. | ||
* @default false | ||
*/ | ||
enableHtmlSanitizer: boolean; | ||
/** | ||
* It is used to set the height of the ListView component. | ||
@@ -390,2 +395,3 @@ * @default '' | ||
private resetCurrentList; | ||
private setAttributes; | ||
private createList; | ||
@@ -392,0 +398,0 @@ private resetBlazorTemplates; |
@@ -14,4 +14,3 @@ import { classNames } from './list-view'; | ||
Virtualization.prototype.isNgTemplate = function () { | ||
return !isNullOrUndefined(this.listViewInstance.templateRef) && typeof this.listViewInstance.templateRef !== 'string' | ||
&& isNullOrUndefined(this.listViewInstance.fields.groupBy); | ||
return !isNullOrUndefined(this.listViewInstance.templateRef) && typeof this.listViewInstance.templateRef !== 'string'; | ||
}; | ||
@@ -18,0 +17,0 @@ /** |
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
2298224
21679
+ Added@syncfusion/ej2-base@17.4.51(transitive)
+ Added@syncfusion/ej2-buttons@17.4.51(transitive)
+ Added@syncfusion/ej2-data@17.4.51(transitive)
+ Added@syncfusion/ej2-icons@17.4.51(transitive)
- Removed@syncfusion/ej2-base@17.3.27(transitive)
- Removed@syncfusion/ej2-buttons@17.3.27(transitive)
- Removed@syncfusion/ej2-data@17.3.30(transitive)
- Removed@syncfusion/ej2-icons@17.3.27(transitive)