@syncfusion/ej2-dropdowns 25.1.39 → 25.1.40
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/.eslintrc.json +260 -0
- package/CHANGELOG.md +16 -0
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +50 -17
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +53 -17
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/combo-box/combo-box.js +1 -1
- package/src/list-box/list-box.js +52 -16
- package/tslint.json +111 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"es2021": true
|
|
5
|
+
},
|
|
6
|
+
"extends": [
|
|
7
|
+
"eslint:recommended",
|
|
8
|
+
"plugin:@typescript-eslint/recommended",
|
|
9
|
+
"plugin:jsdoc/recommended",
|
|
10
|
+
"plugin:security/recommended"
|
|
11
|
+
],
|
|
12
|
+
"parser": "@typescript-eslint/parser",
|
|
13
|
+
"parserOptions": {
|
|
14
|
+
"ecmaFeatures": { "js": true },
|
|
15
|
+
"ecmaVersion": 2018,
|
|
16
|
+
"project": "./tsconfig.json",
|
|
17
|
+
"sourceType": "module"
|
|
18
|
+
},
|
|
19
|
+
"plugins": [
|
|
20
|
+
"@typescript-eslint",
|
|
21
|
+
"@typescript-eslint/tslint",
|
|
22
|
+
"eslint-plugin-security",
|
|
23
|
+
"jsdoc"
|
|
24
|
+
],
|
|
25
|
+
"rules": {
|
|
26
|
+
"use-isnan": "error",
|
|
27
|
+
"security/detect-unsafe-regex":"error",
|
|
28
|
+
"security/detect-buffer-noassert":"error",
|
|
29
|
+
"security/detect-child-process":"error",
|
|
30
|
+
"security/detect-disable-mustache-escape":"error",
|
|
31
|
+
"security/detect-eval-with-expression":"error",
|
|
32
|
+
"security/detect-no-csrf-before-method-override":"error",
|
|
33
|
+
"security/detect-non-literal-fs-filename":"error",
|
|
34
|
+
"security/detect-non-literal-regexp":"error",
|
|
35
|
+
"security/detect-non-literal-require":"error",
|
|
36
|
+
"security/detect-object-injection":"error",
|
|
37
|
+
"security/detect-possible-timing-attacks":"error",
|
|
38
|
+
"security/detect-pseudoRandomBytes":"error",
|
|
39
|
+
"security/detect-new-buffer":"error",
|
|
40
|
+
"security/detect-bidi-characters":"error",
|
|
41
|
+
"@typescript-eslint/no-inferrable-types": "off",
|
|
42
|
+
"@typescript-eslint/ban-types": ["warn", {
|
|
43
|
+
"types": {
|
|
44
|
+
"Object": false,
|
|
45
|
+
"object": false,
|
|
46
|
+
"{}": false,
|
|
47
|
+
"Function": false
|
|
48
|
+
}
|
|
49
|
+
}],
|
|
50
|
+
"jsdoc/check-tag-names": 0,
|
|
51
|
+
"@typescript-eslint/tslint/config": [
|
|
52
|
+
"error",
|
|
53
|
+
{
|
|
54
|
+
"rules": {
|
|
55
|
+
"ban": true,
|
|
56
|
+
"chai-vague-errors": true,
|
|
57
|
+
"max-func-body-length": [
|
|
58
|
+
true,
|
|
59
|
+
120,
|
|
60
|
+
{
|
|
61
|
+
"ignore-parameters-to-function-regex": "describe"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"missing-jsdoc": true,
|
|
65
|
+
"no-backbone-get-set-outside-model": false,
|
|
66
|
+
"no-cookies": false,
|
|
67
|
+
"no-delete-expression": false,
|
|
68
|
+
"no-disable-auto-sanitization": true,
|
|
69
|
+
"no-duplicate-case": true,
|
|
70
|
+
"no-duplicate-parameter-names": true,
|
|
71
|
+
"no-empty-interfaces": false,
|
|
72
|
+
"no-exec-script": true,
|
|
73
|
+
"no-function-expression": false,
|
|
74
|
+
"no-multiple-var-decl": false,
|
|
75
|
+
"no-string-based-set-immediate": false,
|
|
76
|
+
"no-string-based-set-interval": false,
|
|
77
|
+
"no-unnecessary-bind": false,
|
|
78
|
+
"no-unused-imports": true,
|
|
79
|
+
"no-with-statement": false,
|
|
80
|
+
"prefer-array-literal": false,
|
|
81
|
+
"typedef": [
|
|
82
|
+
true,
|
|
83
|
+
"call-signature",
|
|
84
|
+
"parameter",
|
|
85
|
+
"property-declaration",
|
|
86
|
+
"variable-declaration",
|
|
87
|
+
"arrow-parameter",
|
|
88
|
+
"member-variable-declaration"
|
|
89
|
+
],
|
|
90
|
+
"use-named-parameter": false,
|
|
91
|
+
"valid-typeof": true,
|
|
92
|
+
"whitespace": [
|
|
93
|
+
true,
|
|
94
|
+
"check-branch",
|
|
95
|
+
"check-decl",
|
|
96
|
+
"check-operator",
|
|
97
|
+
"check-separator",
|
|
98
|
+
"check-type"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"no-control-regex": "error",
|
|
104
|
+
"no-constant-condition": "error",
|
|
105
|
+
"no-invalid-regexp": "error",
|
|
106
|
+
"curly": "error",
|
|
107
|
+
"eol-last": [
|
|
108
|
+
"error",
|
|
109
|
+
"always"
|
|
110
|
+
],
|
|
111
|
+
"guard-for-in": "error",
|
|
112
|
+
"no-labels": "error",
|
|
113
|
+
"max-len": [
|
|
114
|
+
"error",
|
|
115
|
+
{
|
|
116
|
+
"code": 140,
|
|
117
|
+
"tabWidth": 4,
|
|
118
|
+
"ignoreComments": true,
|
|
119
|
+
"ignoreStrings": true,
|
|
120
|
+
"ignoreTemplateLiterals": true,
|
|
121
|
+
"ignoreRegExpLiterals": true
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"no-console": [
|
|
125
|
+
"error",
|
|
126
|
+
{
|
|
127
|
+
"allow": [
|
|
128
|
+
"warn",
|
|
129
|
+
"dir",
|
|
130
|
+
"timeLog",
|
|
131
|
+
"assert",
|
|
132
|
+
"clear",
|
|
133
|
+
"count",
|
|
134
|
+
"countReset",
|
|
135
|
+
"group",
|
|
136
|
+
"groupEnd",
|
|
137
|
+
"table",
|
|
138
|
+
"dirxml",
|
|
139
|
+
"error",
|
|
140
|
+
"groupCollapsed",
|
|
141
|
+
"Console",
|
|
142
|
+
"profile",
|
|
143
|
+
"profileEnd",
|
|
144
|
+
"timeStamp",
|
|
145
|
+
"context"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"no-redeclare": [
|
|
150
|
+
"error",
|
|
151
|
+
{
|
|
152
|
+
"builtinGlobals": true
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"@typescript-eslint/no-parameter-properties": "error",
|
|
156
|
+
"@typescript-eslint/indent": [
|
|
157
|
+
"error",
|
|
158
|
+
4,
|
|
159
|
+
{
|
|
160
|
+
"CallExpression": {
|
|
161
|
+
"arguments": "first"
|
|
162
|
+
},
|
|
163
|
+
"FunctionDeclaration": {
|
|
164
|
+
"parameters": "first"
|
|
165
|
+
},
|
|
166
|
+
"FunctionExpression": {
|
|
167
|
+
"parameters": "first"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"no-debugger": "error",
|
|
172
|
+
"no-eval": "error",
|
|
173
|
+
"no-extra-semi": "error",
|
|
174
|
+
"no-throw-literal": "error",
|
|
175
|
+
"no-fallthrough": "error",
|
|
176
|
+
"comma-dangle": [
|
|
177
|
+
"error",
|
|
178
|
+
"never"
|
|
179
|
+
],
|
|
180
|
+
"no-trailing-spaces": "error",
|
|
181
|
+
"@typescript-eslint/no-unused-expressions": "error",
|
|
182
|
+
"@typescript-eslint/no-var-requires": "error",
|
|
183
|
+
"one-var": [
|
|
184
|
+
"error",
|
|
185
|
+
"never"
|
|
186
|
+
],
|
|
187
|
+
"@typescript-eslint/no-explicit-any": "error",
|
|
188
|
+
"no-cond-assign": [
|
|
189
|
+
"error",
|
|
190
|
+
"always"
|
|
191
|
+
],
|
|
192
|
+
"@typescript-eslint/consistent-type-assertions": "off",
|
|
193
|
+
"jsdoc/check-alignment": "error",
|
|
194
|
+
"no-empty": "error",
|
|
195
|
+
"quotes": [
|
|
196
|
+
"error",
|
|
197
|
+
"single"
|
|
198
|
+
],
|
|
199
|
+
"semi": [
|
|
200
|
+
"error",
|
|
201
|
+
"always"
|
|
202
|
+
],
|
|
203
|
+
"eqeqeq": [
|
|
204
|
+
"error",
|
|
205
|
+
"smart"
|
|
206
|
+
],
|
|
207
|
+
"valid-typeof": [
|
|
208
|
+
"error",
|
|
209
|
+
{
|
|
210
|
+
"requireStringLiterals": true
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"camelcase": [
|
|
214
|
+
"error",
|
|
215
|
+
{
|
|
216
|
+
"properties": "always",
|
|
217
|
+
"ignoreDestructuring": true,
|
|
218
|
+
"ignoreImports": true
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"no-irregular-whitespace": [
|
|
222
|
+
"error",
|
|
223
|
+
{
|
|
224
|
+
"skipStrings": true,
|
|
225
|
+
"skipComments": true,
|
|
226
|
+
"skipRegExps": true,
|
|
227
|
+
"skipTemplates": true
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"valid-jsdoc": [
|
|
231
|
+
"error",
|
|
232
|
+
{
|
|
233
|
+
"prefer": {
|
|
234
|
+
"arg": "param",
|
|
235
|
+
"argument": "param",
|
|
236
|
+
"class": "constructor",
|
|
237
|
+
"return": "returns",
|
|
238
|
+
"virtual": "abstract"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"no-var": "error",
|
|
243
|
+
"radix": "error"
|
|
244
|
+
},
|
|
245
|
+
"reportUnusedDisableDirectives": true,
|
|
246
|
+
"overrides": [
|
|
247
|
+
{
|
|
248
|
+
"files": [
|
|
249
|
+
"node_modules",
|
|
250
|
+
"dist",
|
|
251
|
+
"public",
|
|
252
|
+
"coverage",
|
|
253
|
+
"test-report"
|
|
254
|
+
],
|
|
255
|
+
"rules": {
|
|
256
|
+
"no-unused-expressions": "off"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `#I565976` - Issue with "The getSortedList data not update correctly while removeItem method after drag and drop action in listbox" has been resolved.
|
|
10
|
+
|
|
11
|
+
## 25.1.39 (2024-04-09)
|
|
12
|
+
|
|
13
|
+
### AutoComplete
|
|
14
|
+
|
|
15
|
+
#### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- `#I556993` - Resolved the issue in Autocomplete where the highlight selection was not removed after selecting a value from the dropdown when autofill was enabled.
|
|
18
|
+
|
|
19
|
+
### ListBox
|
|
20
|
+
|
|
21
|
+
#### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- `#I566450` - Issue with "When clicking moveAllTo toolbar, the disabled item is also moved to the listbox" has been resolved.
|
|
24
|
+
- `#I575330` - Issue with "Script error thrown in listbox while drag and drop hover on textbox element" has been resolved.
|
|
9
25
|
- `#I565976` - Issue with "The getSortedList and getDataList method datasource order is not proper while using addItems, removeItem method and change their position using drag and drop" has been resolved.
|
|
10
26
|
|
|
11
27
|
### DropDownTree
|