@syncfusion/ej2-dropdowns 22.2.8 → 22.2.10

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 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
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### DropDown List
6
+
7
+ #### Bug Fixes
8
+
9
+ - `#I481443` - Resolved the issue where the "no records" template was not being displayed and a console error occurred.
10
+
11
+ ### MultiSelect
12
+
13
+ #### Bug Fixes
14
+
15
+ - `#I479749` - Resolved the issue of "Unable to retrieve preselected variable values that are not present in the data source".
16
+
17
+ ### Dropdown Tree
18
+
19
+ #### Bug Fixes
20
+
21
+ - `#F183599` - The issue duplicate child was rendered when using `expanded` field in Dropdown Tree component with Web API adaptor has been resolved.
22
+
23
+ ## 22.2.9 (2023-08-15)
24
+
5
25
  ### ComboBox
6
26
 
7
27
  #### Bug Fixes
@@ -12,6 +32,16 @@
12
32
 
13
33
  #### Bug Fixes
14
34
 
35
+ - `#I477135` - Fixed a memory leak issue in the Dropdownlist Component.
36
+
37
+ - `#I486973` - Fixed an issue where the last selected item in the DropDownList would be retained in the list of items when the data source was changed.
38
+
39
+ ## 22.2.8 (2023-08-08)
40
+
41
+ ### DropDown List
42
+
43
+ #### Bug Fixes
44
+
15
45
  - `#I474541` - Fixed an issue where the position of the popup was incorrect when enabling RTL mode.
16
46
 
17
47
  ### ListBox