@syncfusion/ej2-dropdowns 20.4.38 → 20.4.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 ADDED
@@ -0,0 +1,259 @@
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
+ "@typescript-eslint/no-inferrable-types": "off",
41
+ "@typescript-eslint/ban-types": ["warn", {
42
+ "types": {
43
+ "Object": false,
44
+ "object": false,
45
+ "{}": false,
46
+ "Function": false
47
+ }
48
+ }],
49
+ "jsdoc/check-tag-names": 0,
50
+ "@typescript-eslint/tslint/config": [
51
+ "error",
52
+ {
53
+ "rules": {
54
+ "ban": true,
55
+ "chai-vague-errors": true,
56
+ "max-func-body-length": [
57
+ true,
58
+ 120,
59
+ {
60
+ "ignore-parameters-to-function-regex": "describe"
61
+ }
62
+ ],
63
+ "missing-jsdoc": true,
64
+ "no-backbone-get-set-outside-model": false,
65
+ "no-cookies": false,
66
+ "no-delete-expression": false,
67
+ "no-disable-auto-sanitization": true,
68
+ "no-duplicate-case": true,
69
+ "no-duplicate-parameter-names": true,
70
+ "no-empty-interfaces": false,
71
+ "no-exec-script": true,
72
+ "no-function-expression": false,
73
+ "no-multiple-var-decl": false,
74
+ "no-string-based-set-immediate": false,
75
+ "no-string-based-set-interval": false,
76
+ "no-unnecessary-bind": false,
77
+ "no-unused-imports": true,
78
+ "no-with-statement": false,
79
+ "prefer-array-literal": false,
80
+ "typedef": [
81
+ true,
82
+ "call-signature",
83
+ "parameter",
84
+ "property-declaration",
85
+ "variable-declaration",
86
+ "arrow-parameter",
87
+ "member-variable-declaration"
88
+ ],
89
+ "use-named-parameter": false,
90
+ "valid-typeof": true,
91
+ "whitespace": [
92
+ true,
93
+ "check-branch",
94
+ "check-decl",
95
+ "check-operator",
96
+ "check-separator",
97
+ "check-type"
98
+ ]
99
+ }
100
+ }
101
+ ],
102
+ "no-control-regex": "error",
103
+ "no-constant-condition": "error",
104
+ "no-invalid-regexp": "error",
105
+ "curly": "error",
106
+ "eol-last": [
107
+ "error",
108
+ "always"
109
+ ],
110
+ "guard-for-in": "error",
111
+ "no-labels": "error",
112
+ "max-len": [
113
+ "error",
114
+ {
115
+ "code": 140,
116
+ "tabWidth": 4,
117
+ "ignoreComments": true,
118
+ "ignoreStrings": true,
119
+ "ignoreTemplateLiterals": true,
120
+ "ignoreRegExpLiterals": true
121
+ }
122
+ ],
123
+ "no-console": [
124
+ "error",
125
+ {
126
+ "allow": [
127
+ "warn",
128
+ "dir",
129
+ "timeLog",
130
+ "assert",
131
+ "clear",
132
+ "count",
133
+ "countReset",
134
+ "group",
135
+ "groupEnd",
136
+ "table",
137
+ "dirxml",
138
+ "error",
139
+ "groupCollapsed",
140
+ "Console",
141
+ "profile",
142
+ "profileEnd",
143
+ "timeStamp",
144
+ "context"
145
+ ]
146
+ }
147
+ ],
148
+ "no-redeclare": [
149
+ "error",
150
+ {
151
+ "builtinGlobals": true
152
+ }
153
+ ],
154
+ "@typescript-eslint/no-parameter-properties": "error",
155
+ "@typescript-eslint/indent": [
156
+ "error",
157
+ 4,
158
+ {
159
+ "CallExpression": {
160
+ "arguments": "first"
161
+ },
162
+ "FunctionDeclaration": {
163
+ "parameters": "first"
164
+ },
165
+ "FunctionExpression": {
166
+ "parameters": "first"
167
+ }
168
+ }
169
+ ],
170
+ "no-debugger": "error",
171
+ "no-eval": "error",
172
+ "no-extra-semi": "error",
173
+ "no-throw-literal": "error",
174
+ "no-fallthrough": "error",
175
+ "comma-dangle": [
176
+ "error",
177
+ "never"
178
+ ],
179
+ "no-trailing-spaces": "error",
180
+ "@typescript-eslint/no-unused-expressions": "error",
181
+ "@typescript-eslint/no-var-requires": "error",
182
+ "one-var": [
183
+ "error",
184
+ "never"
185
+ ],
186
+ "@typescript-eslint/no-explicit-any": "error",
187
+ "no-cond-assign": [
188
+ "error",
189
+ "always"
190
+ ],
191
+ "@typescript-eslint/consistent-type-assertions": "off",
192
+ "jsdoc/check-alignment": "error",
193
+ "no-empty": "error",
194
+ "quotes": [
195
+ "error",
196
+ "single"
197
+ ],
198
+ "semi": [
199
+ "error",
200
+ "always"
201
+ ],
202
+ "eqeqeq": [
203
+ "error",
204
+ "smart"
205
+ ],
206
+ "valid-typeof": [
207
+ "error",
208
+ {
209
+ "requireStringLiterals": true
210
+ }
211
+ ],
212
+ "camelcase": [
213
+ "error",
214
+ {
215
+ "properties": "always",
216
+ "ignoreDestructuring": true,
217
+ "ignoreImports": true
218
+ }
219
+ ],
220
+ "no-irregular-whitespace": [
221
+ "error",
222
+ {
223
+ "skipStrings": true,
224
+ "skipComments": true,
225
+ "skipRegExps": true,
226
+ "skipTemplates": true
227
+ }
228
+ ],
229
+ "valid-jsdoc": [
230
+ "error",
231
+ {
232
+ "prefer": {
233
+ "arg": "param",
234
+ "argument": "param",
235
+ "class": "constructor",
236
+ "return": "returns",
237
+ "virtual": "abstract"
238
+ }
239
+ }
240
+ ],
241
+ "no-var": "error",
242
+ "radix": "error"
243
+ },
244
+ "reportUnusedDisableDirectives": true,
245
+ "overrides": [
246
+ {
247
+ "files": [
248
+ "node_modules",
249
+ "dist",
250
+ "public",
251
+ "coverage",
252
+ "test-report"
253
+ ],
254
+ "rules": {
255
+ "no-unused-expressions": "off"
256
+ }
257
+ }
258
+ ]
259
+ }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Dropdown Tree
6
+
7
+ #### Bug Fixes
8
+
9
+ - `#F178650` - Resolved the error after perform filtering in Dropdown Tree while updating data dynamically
10
+
11
+ ### ListBox
12
+
13
+ #### Bug Fixes
14
+
15
+ - `#F424252` - Issue with "Data source not update properly when we filtering and clicking move All button in listbox toolbar sample" has been resolved.
16
+ - `#I423072` - Issue with "`actionBegin` event argument not passes the filtered item properly while filtering and clicking move All button in listbox toolbar sample" has been resolved.
17
+
18
+ ## 20.4.38 (2022-12-21)
19
+
20
+ ### Dropdown Tree
21
+
22
+ #### New Features
23
+
24
+ - `#I395558` - Provided enableHtmlSanitizer support for Dropdown Tree component.
25
+
26
+ - `#F169154`, `#I424048` - Provided an option to prevent the parent node selection in the Dropdown Tree component.
27
+
5
28
  ### ListBox
6
29
 
7
30
  #### Bug Fixes