@syncfusion/ej2-dropdowns 27.1.57 → 27.2.2
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 +261 -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 +125 -105
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +125 -105
- 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 +12 -12
- package/src/combo-box/combo-box.js +1 -0
- package/src/drop-down-list/drop-down-list.js +1 -0
- package/src/drop-down-tree/drop-down-tree.js +6 -1
- package/src/multi-select/multi-select.d.ts +2 -0
- package/src/multi-select/multi-select.js +117 -104
- package/styles/material3-dark-lite.css +10 -10
- package/styles/material3-dark.css +13 -22
- package/styles/material3-lite.css +10 -10
- package/styles/material3.css +13 -22
- package/styles/multi-select/_bigger.scss +4 -4
- package/styles/multi-select/_material3-definition.scss +2 -2
- package/styles/multi-select/icons/_material3.scss +8 -8
- package/styles/multi-select/material3-dark.css +13 -22
- package/styles/multi-select/material3.css +13 -22
- package/tslint.json +111 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
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
|
+
"ignorePatterns": ["*.d.ts", "*.js"],
|
|
20
|
+
"plugins": [
|
|
21
|
+
"@typescript-eslint",
|
|
22
|
+
"@typescript-eslint/tslint",
|
|
23
|
+
"eslint-plugin-security",
|
|
24
|
+
"jsdoc"
|
|
25
|
+
],
|
|
26
|
+
"rules": {
|
|
27
|
+
"use-isnan": "error",
|
|
28
|
+
"security/detect-unsafe-regex":"error",
|
|
29
|
+
"security/detect-buffer-noassert":"error",
|
|
30
|
+
"security/detect-child-process":"error",
|
|
31
|
+
"security/detect-disable-mustache-escape":"error",
|
|
32
|
+
"security/detect-eval-with-expression":"error",
|
|
33
|
+
"security/detect-no-csrf-before-method-override":"error",
|
|
34
|
+
"security/detect-non-literal-fs-filename":"error",
|
|
35
|
+
"security/detect-non-literal-regexp":"error",
|
|
36
|
+
"security/detect-non-literal-require":"error",
|
|
37
|
+
"security/detect-object-injection":"error",
|
|
38
|
+
"security/detect-possible-timing-attacks":"error",
|
|
39
|
+
"security/detect-pseudoRandomBytes":"error",
|
|
40
|
+
"security/detect-new-buffer":"error",
|
|
41
|
+
"security/detect-bidi-characters":"error",
|
|
42
|
+
"@typescript-eslint/no-inferrable-types": "off",
|
|
43
|
+
"@typescript-eslint/ban-types": ["warn", {
|
|
44
|
+
"types": {
|
|
45
|
+
"Object": false,
|
|
46
|
+
"object": false,
|
|
47
|
+
"{}": false,
|
|
48
|
+
"Function": false
|
|
49
|
+
}
|
|
50
|
+
}],
|
|
51
|
+
"jsdoc/check-tag-names": 0,
|
|
52
|
+
"@typescript-eslint/tslint/config": [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
"rules": {
|
|
56
|
+
"ban": true,
|
|
57
|
+
"chai-vague-errors": true,
|
|
58
|
+
"max-func-body-length": [
|
|
59
|
+
true,
|
|
60
|
+
120,
|
|
61
|
+
{
|
|
62
|
+
"ignore-parameters-to-function-regex": "describe"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"missing-jsdoc": true,
|
|
66
|
+
"no-backbone-get-set-outside-model": false,
|
|
67
|
+
"no-cookies": false,
|
|
68
|
+
"no-delete-expression": false,
|
|
69
|
+
"no-disable-auto-sanitization": true,
|
|
70
|
+
"no-duplicate-case": true,
|
|
71
|
+
"no-duplicate-parameter-names": true,
|
|
72
|
+
"no-empty-interfaces": false,
|
|
73
|
+
"no-exec-script": true,
|
|
74
|
+
"no-function-expression": false,
|
|
75
|
+
"no-multiple-var-decl": false,
|
|
76
|
+
"no-string-based-set-immediate": false,
|
|
77
|
+
"no-string-based-set-interval": false,
|
|
78
|
+
"no-unnecessary-bind": false,
|
|
79
|
+
"no-unused-imports": true,
|
|
80
|
+
"no-with-statement": false,
|
|
81
|
+
"prefer-array-literal": false,
|
|
82
|
+
"typedef": [
|
|
83
|
+
true,
|
|
84
|
+
"call-signature",
|
|
85
|
+
"parameter",
|
|
86
|
+
"property-declaration",
|
|
87
|
+
"variable-declaration",
|
|
88
|
+
"arrow-parameter",
|
|
89
|
+
"member-variable-declaration"
|
|
90
|
+
],
|
|
91
|
+
"use-named-parameter": false,
|
|
92
|
+
"valid-typeof": true,
|
|
93
|
+
"whitespace": [
|
|
94
|
+
true,
|
|
95
|
+
"check-branch",
|
|
96
|
+
"check-decl",
|
|
97
|
+
"check-operator",
|
|
98
|
+
"check-separator",
|
|
99
|
+
"check-type"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"no-control-regex": "error",
|
|
105
|
+
"no-constant-condition": "error",
|
|
106
|
+
"no-invalid-regexp": "error",
|
|
107
|
+
"curly": "error",
|
|
108
|
+
"eol-last": [
|
|
109
|
+
"error",
|
|
110
|
+
"always"
|
|
111
|
+
],
|
|
112
|
+
"guard-for-in": "error",
|
|
113
|
+
"no-labels": "error",
|
|
114
|
+
"max-len": [
|
|
115
|
+
"error",
|
|
116
|
+
{
|
|
117
|
+
"code": 140,
|
|
118
|
+
"tabWidth": 4,
|
|
119
|
+
"ignoreComments": true,
|
|
120
|
+
"ignoreStrings": true,
|
|
121
|
+
"ignoreTemplateLiterals": true,
|
|
122
|
+
"ignoreRegExpLiterals": true
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"no-console": [
|
|
126
|
+
"error",
|
|
127
|
+
{
|
|
128
|
+
"allow": [
|
|
129
|
+
"warn",
|
|
130
|
+
"dir",
|
|
131
|
+
"timeLog",
|
|
132
|
+
"assert",
|
|
133
|
+
"clear",
|
|
134
|
+
"count",
|
|
135
|
+
"countReset",
|
|
136
|
+
"group",
|
|
137
|
+
"groupEnd",
|
|
138
|
+
"table",
|
|
139
|
+
"dirxml",
|
|
140
|
+
"error",
|
|
141
|
+
"groupCollapsed",
|
|
142
|
+
"Console",
|
|
143
|
+
"profile",
|
|
144
|
+
"profileEnd",
|
|
145
|
+
"timeStamp",
|
|
146
|
+
"context"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"no-redeclare": [
|
|
151
|
+
"error",
|
|
152
|
+
{
|
|
153
|
+
"builtinGlobals": true
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"@typescript-eslint/no-parameter-properties": "error",
|
|
157
|
+
"@typescript-eslint/indent": [
|
|
158
|
+
"error",
|
|
159
|
+
4,
|
|
160
|
+
{
|
|
161
|
+
"CallExpression": {
|
|
162
|
+
"arguments": "first"
|
|
163
|
+
},
|
|
164
|
+
"FunctionDeclaration": {
|
|
165
|
+
"parameters": "first"
|
|
166
|
+
},
|
|
167
|
+
"FunctionExpression": {
|
|
168
|
+
"parameters": "first"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"no-debugger": "error",
|
|
173
|
+
"no-eval": "error",
|
|
174
|
+
"no-extra-semi": "error",
|
|
175
|
+
"no-throw-literal": "error",
|
|
176
|
+
"no-fallthrough": "error",
|
|
177
|
+
"comma-dangle": [
|
|
178
|
+
"error",
|
|
179
|
+
"never"
|
|
180
|
+
],
|
|
181
|
+
"no-trailing-spaces": "error",
|
|
182
|
+
"@typescript-eslint/no-unused-expressions": "error",
|
|
183
|
+
"@typescript-eslint/no-var-requires": "error",
|
|
184
|
+
"one-var": [
|
|
185
|
+
"error",
|
|
186
|
+
"never"
|
|
187
|
+
],
|
|
188
|
+
"@typescript-eslint/no-explicit-any": "warn",
|
|
189
|
+
"no-cond-assign": [
|
|
190
|
+
"error",
|
|
191
|
+
"always"
|
|
192
|
+
],
|
|
193
|
+
"@typescript-eslint/consistent-type-assertions": "off",
|
|
194
|
+
"jsdoc/check-alignment": "error",
|
|
195
|
+
"no-empty": "error",
|
|
196
|
+
"quotes": [
|
|
197
|
+
"error",
|
|
198
|
+
"single"
|
|
199
|
+
],
|
|
200
|
+
"semi": [
|
|
201
|
+
"error",
|
|
202
|
+
"always"
|
|
203
|
+
],
|
|
204
|
+
"eqeqeq": [
|
|
205
|
+
"error",
|
|
206
|
+
"smart"
|
|
207
|
+
],
|
|
208
|
+
"valid-typeof": [
|
|
209
|
+
"error",
|
|
210
|
+
{
|
|
211
|
+
"requireStringLiterals": true
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"camelcase": [
|
|
215
|
+
"error",
|
|
216
|
+
{
|
|
217
|
+
"properties": "always",
|
|
218
|
+
"ignoreDestructuring": true,
|
|
219
|
+
"ignoreImports": true
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"no-irregular-whitespace": [
|
|
223
|
+
"error",
|
|
224
|
+
{
|
|
225
|
+
"skipStrings": true,
|
|
226
|
+
"skipComments": true,
|
|
227
|
+
"skipRegExps": true,
|
|
228
|
+
"skipTemplates": true
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"valid-jsdoc": [
|
|
232
|
+
"error",
|
|
233
|
+
{
|
|
234
|
+
"prefer": {
|
|
235
|
+
"arg": "param",
|
|
236
|
+
"argument": "param",
|
|
237
|
+
"class": "constructor",
|
|
238
|
+
"return": "returns",
|
|
239
|
+
"virtual": "abstract"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"no-var": "error",
|
|
244
|
+
"radix": "error"
|
|
245
|
+
},
|
|
246
|
+
"reportUnusedDisableDirectives": true,
|
|
247
|
+
"overrides": [
|
|
248
|
+
{
|
|
249
|
+
"files": [
|
|
250
|
+
"node_modules",
|
|
251
|
+
"dist",
|
|
252
|
+
"public",
|
|
253
|
+
"coverage",
|
|
254
|
+
"test-report"
|
|
255
|
+
],
|
|
256
|
+
"rules": {
|
|
257
|
+
"no-unused-expressions": "off"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|