@syncfusion/ej2-lists
Advanced tools
Comparing version 21.2.9 to 22.1.34
@@ -40,2 +40,3 @@ { | ||
"security/detect-new-buffer":"error", | ||
"security/detect-bidi-characters":"error", | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
@@ -42,0 +43,0 @@ "@typescript-eslint/ban-types": ["warn", { |
@@ -9,2 +9,10 @@ # Changelog | ||
- `#I463091` - Resolved the CSS override issue of `e-content` class name with other components and changed the `e-content` class name into `e-list-container`. | ||
## 21.2.9 (2023-06-06) | ||
### ListView | ||
#### Bug Fixes | ||
- `#I466565` - The console error in the nested ListView component sample has been resolved. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 21.2.9 | ||
* version : 22.1.34 | ||
* Copyright Syncfusion Inc. 2001 - 2020. 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@21.2.6", | ||
"_id": "@syncfusion/ej2-lists@18.20.0", | ||
"_inBundle": false, | ||
"_integrity": "sha512-C5Te1I+EvOs/x6v21de7Kjfa/57jb8yu78+ip4nc3jMVKqIUpglVwjYx9QZM0/wasd7ZkvbgifFCXJXmAKiDKA==", | ||
"_integrity": "sha512-fmxVan7lToBL0Onc2XBzwdzVO0a3wd3cqkZEhwscwuiv131OEXlsv4iMZQzPQlj/jD7G70esikYoznfrp2WAkQ==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -38,4 +38,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-21.2.6.tgz", | ||
"_shasum": "605c0d1079df7cda536128d0067972c6a78217fb", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.20.0.tgz", | ||
"_shasum": "30c12aef3f623bdf3d36ce38a2b6230828fb224c", | ||
"_spec": "@syncfusion/ej2-lists@*", | ||
@@ -48,5 +48,5 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~21.2.9", | ||
"@syncfusion/ej2-buttons": "~21.2.6", | ||
"@syncfusion/ej2-data": "~21.2.9" | ||
"@syncfusion/ej2-base": "~22.1.34", | ||
"@syncfusion/ej2-buttons": "~22.1.34", | ||
"@syncfusion/ej2-data": "~22.1.34" | ||
}, | ||
@@ -91,5 +91,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "21.2.9", | ||
"version": "22.1.34", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -193,3 +193,3 @@ import { Query } from '@syncfusion/ej2-data'; | ||
*/ | ||
function renderContentTemplate(createElement: createElementParams, template: string, dataSource: { | ||
function renderContentTemplate(createElement: createElementParams, template: string | Function, dataSource: { | ||
[key: string]: Object; | ||
@@ -208,3 +208,3 @@ }[] | string[] | number[], fields?: FieldsMapping, options?: ListBaseOptions, componentInstance?: any): HTMLElement; | ||
*/ | ||
function renderGroupTemplate(groupTemplate: string, groupDataSource: { | ||
function renderGroupTemplate(groupTemplate: string | Function, groupDataSource: { | ||
[key: string]: Object; | ||
@@ -324,12 +324,18 @@ }[], fields: FieldsMapping, headerItems: Element[], options?: ListBaseOptions, componentInstance?: any): Element[]; | ||
* Specifies the item template | ||
* | ||
* @aspType string | ||
*/ | ||
template?: string; | ||
template?: string | Function; | ||
/** | ||
* Specifies the group header template | ||
* | ||
* @aspType string | ||
*/ | ||
groupTemplate?: string; | ||
groupTemplate?: string | Function; | ||
/** | ||
* Specifies the ListView header template | ||
* | ||
* @aspType string | ||
*/ | ||
headerTemplate?: string; | ||
headerTemplate?: string | Function; | ||
/** | ||
@@ -336,0 +342,0 @@ * Specifies the callback function that triggered before each list creation |
@@ -1018,3 +1018,3 @@ /* eslint-disable no-inner-declarations */ | ||
try { | ||
if (document.querySelector(template)) { | ||
if (typeof template !== 'function' && document.querySelector(template)) { | ||
return compile(document.querySelector(template).innerHTML.trim()); | ||
@@ -1021,0 +1021,0 @@ } |
@@ -253,2 +253,5 @@ import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration, 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'; | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -264,2 +267,5 @@ */ | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -275,2 +281,5 @@ */ | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -277,0 +286,0 @@ */ |
@@ -102,37 +102,20 @@ import { Virtualization } from './virtualization'; | ||
* An enum type that denotes the effects of the ListView. Available options are as follows None, SlideLeft, SlideDown, Zoom, Fade; | ||
* ```props | ||
* None :- No animation is applied when items are added or removed from the ListView. | ||
* SlideLeft :- Items slide in from the left when added and slide out to the left when removed. | ||
* SlideDown :- Items slide in from the top when added and slide out to the top when removed. | ||
* Zoom :- Items zoom in or out when added or removed. | ||
* Fade :- Items fade in or out when added or removed. | ||
* ``` | ||
*/ | ||
export declare type ListViewEffect = | ||
export declare type ListViewEffect = 'None' | 'SlideLeft' | 'SlideDown' | 'Zoom' | 'Fade'; | ||
/** | ||
* No animation is applied when items are added or removed from the ListView. | ||
*/ | ||
'None' | | ||
/** | ||
* Items slide in from the left when added and slide out to the left when removed. | ||
*/ | ||
'SlideLeft' | | ||
/** | ||
* Items slide in from the top when added and slide out to the top when removed. | ||
*/ | ||
'SlideDown' | | ||
/** | ||
* Items zoom in or out when added or removed. | ||
*/ | ||
'Zoom' | | ||
/** | ||
* Items fade in or out when added or removed. | ||
*/ | ||
'Fade'; | ||
/** | ||
* An enum type that denotes the position of checkbox of the ListView. Available options are as follows Left and Right; | ||
* ```props | ||
* Left :- The checkbox is positioned on the left side of the ListView item. | ||
* Right :- The checkbox is positioned on the right side of the ListView item. | ||
* ``` | ||
*/ | ||
export declare type checkBoxPosition = | ||
export declare type checkBoxPosition = 'Left' | 'Right'; | ||
/** | ||
* The checkbox is positioned on the left side of the ListView item. | ||
*/ | ||
'Left' | | ||
/** | ||
* The checkbox is positioned on the right side of the ListView item. | ||
*/ | ||
'Right'; | ||
/** | ||
* Represents the EJ2 ListView control. | ||
@@ -348,2 +331,5 @@ * ```html | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -358,2 +344,5 @@ */ | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -368,2 +357,5 @@ */ | ||
* @default null | ||
* @angularType string | object | ||
* @reactType string | function | JSX.Element | ||
* @vueType string | function | ||
@@ -620,3 +612,3 @@ */ | ||
disable: string; | ||
content: string; | ||
container: string; | ||
backIcon: string; | ||
@@ -623,0 +615,0 @@ backButton: string; |
@@ -40,3 +40,3 @@ import { classNames } from './list-view'; | ||
this.listViewInstance.createElement, firstDs, this.listViewInstance.listBaseOption, null, this.listViewInstance); | ||
this.listViewInstance.contentContainer = this.listViewInstance.createElement('div', { className: classNames.content }); | ||
this.listViewInstance.contentContainer = this.listViewInstance.createElement('div', { className: classNames.container }); | ||
this.listViewInstance.element.appendChild(this.listViewInstance.contentContainer); | ||
@@ -43,0 +43,0 @@ this.listViewInstance.contentContainer.appendChild(this.listViewInstance.ulElement); |
@@ -1,2 +0,2 @@ | ||
import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent, TouchEventArgs } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs, EventHandler } from '@syncfusion/ej2-base'; | ||
import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs, EventHandler } from '@syncfusion/ej2-base'; | ||
@@ -3,0 +3,0 @@ /** |
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 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 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
3025713
213
33228
0
+ Added@syncfusion/ej2-base@22.1.38(transitive)
+ Added@syncfusion/ej2-buttons@22.1.39(transitive)
+ Added@syncfusion/ej2-data@22.1.38(transitive)
+ Added@syncfusion/ej2-icons@22.1.34(transitive)
- Removed@syncfusion/ej2-base@21.2.9(transitive)
- Removed@syncfusion/ej2-buttons@21.2.10(transitive)
- Removed@syncfusion/ej2-data@21.2.9(transitive)
- Removed@syncfusion/ej2-icons@21.2.3(transitive)