@types/selectize 0.12.35 → 0.12.37
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.
- selectize/LICENSE +0 -0
- selectize/README.md +2 -3
- selectize/index.d.ts +3 -10
- selectize/package.json +8 -8
selectize/LICENSE
CHANGED
|
File without changes
|
selectize/README.md
CHANGED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
> `npm install --save @types/selectize`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for
|
|
5
|
+
This package contains type definitions for selectize (https://github.com/brianreavis/selectize.js).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 18 Oct 2023 11:45:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: none
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
15
|
These definitions were written by [Adi Dahiya](https://github.com/adidahiya), and [Natalie Bausch](https://github.com/naBausch).
|
selectize/index.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
// Type definitions for Selectize 0.12.14
|
|
2
|
-
// Project: https://github.com/brianreavis/selectize.js
|
|
3
|
-
// Definitions by: Adi Dahiya <https://github.com/adidahiya>, Natalie Bausch <https://github.com/naBausch>
|
|
4
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
-
// TypeScript Version: 2.3
|
|
6
|
-
|
|
7
1
|
declare namespace Selectize {
|
|
8
2
|
// see https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md
|
|
9
3
|
// option identifiers are parameterized by T; data is parameterized by U
|
|
10
4
|
interface IOptions<T, U> {
|
|
11
|
-
|
|
12
5
|
// General
|
|
13
6
|
// ------------------------------------------------------------------------------------------------------------
|
|
14
7
|
|
|
@@ -16,7 +9,7 @@ declare namespace Selectize {
|
|
|
16
9
|
* An array of the initial selected values. By default this is populated from the original input element.
|
|
17
10
|
*/
|
|
18
11
|
items?: T[] | undefined;
|
|
19
|
-
|
|
12
|
+
|
|
20
13
|
/**
|
|
21
14
|
* The placeholder of the control (displayed when nothing is selected / typed).
|
|
22
15
|
* Defaults to input element's placeholder, unless this one is specified.
|
|
@@ -143,7 +136,7 @@ declare namespace Selectize {
|
|
|
143
136
|
*
|
|
144
137
|
* Default: false
|
|
145
138
|
*/
|
|
146
|
-
preload?: boolean |
|
|
139
|
+
preload?: boolean | "focus" | undefined;
|
|
147
140
|
|
|
148
141
|
/**
|
|
149
142
|
* The element the dropdown menu is appended to. This should be "body" or null.
|
|
@@ -254,7 +247,7 @@ declare namespace Selectize {
|
|
|
254
247
|
*
|
|
255
248
|
* Default: "$order"
|
|
256
249
|
*/
|
|
257
|
-
sortField?: string | { field: string
|
|
250
|
+
sortField?: string | { field: string; direction?: "asc" | "desc" | undefined }[] | undefined;
|
|
258
251
|
|
|
259
252
|
/**
|
|
260
253
|
* An array of property names to analyze when filtering options.
|
selectize/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/selectize",
|
|
3
|
-
"version": "0.12.
|
|
4
|
-
"description": "TypeScript definitions for
|
|
3
|
+
"version": "0.12.37",
|
|
4
|
+
"description": "TypeScript definitions for selectize",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
9
|
"name": "Adi Dahiya",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"githubUsername": "adidahiya",
|
|
11
|
+
"url": "https://github.com/adidahiya"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"name": "Natalie Bausch",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"githubUsername": "naBausch",
|
|
16
|
+
"url": "https://github.com/naBausch"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"main": "",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {},
|
|
28
|
-
"typesPublisherContentHash": "
|
|
29
|
-
"typeScriptVersion": "
|
|
28
|
+
"typesPublisherContentHash": "38dfb0b7d269a3ab5b58588ed391f6fedb0a5bdb2c0f57d56b8d59da417b41c0",
|
|
29
|
+
"typeScriptVersion": "4.5"
|
|
30
30
|
}
|