vis-util 5.0.2 → 5.0.3
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/declarations/deep-object-assign.d.ts +0 -2
- package/declarations/deep-object-assign.d.ts.map +1 -1
- package/declarations/random/alea.d.ts +0 -1
- package/declarations/random/alea.d.ts.map +1 -1
- package/declarations/shared/configurator-types.d.ts +2 -1
- package/declarations/shared/configurator-types.d.ts.map +1 -1
- package/declarations/util.d.ts +0 -58
- package/declarations/util.d.ts.map +1 -1
- package/esnext/esm/vis-util.js +52 -123
- package/esnext/esm/vis-util.js.map +1 -1
- package/esnext/esm/vis-util.min.js +3 -3
- package/esnext/esm/vis-util.min.js.map +1 -1
- package/esnext/umd/vis-util.js +61 -132
- package/esnext/umd/vis-util.js.map +1 -1
- package/esnext/umd/vis-util.min.js +2 -2
- package/esnext/umd/vis-util.min.js.map +1 -1
- package/package.json +24 -27
- package/peer/esm/vis-util.js +2282 -1901
- package/peer/esm/vis-util.js.map +1 -1
- package/peer/esm/vis-util.min.js +4 -5
- package/peer/esm/vis-util.min.js.map +1 -1
- package/peer/umd/vis-util.js +11208 -10827
- package/peer/umd/vis-util.js.map +1 -1
- package/peer/umd/vis-util.min.js +8 -9
- package/peer/umd/vis-util.min.js.map +1 -1
- package/standalone/esm/vis-util.js +2282 -1901
- package/standalone/esm/vis-util.js.map +1 -1
- package/standalone/esm/vis-util.min.js +4 -5
- package/standalone/esm/vis-util.min.js.map +1 -1
- package/standalone/umd/vis-util.js +11208 -10827
- package/standalone/umd/vis-util.js.map +1 -1
- package/standalone/umd/vis-util.min.js +8 -9
- package/standalone/umd/vis-util.min.js.map +1 -1
|
@@ -16,7 +16,6 @@ export declare type Assignable<T> = T extends undefined ? (T extends Function ?
|
|
|
16
16
|
*
|
|
17
17
|
* @param base - The base object that fullfils the whole interface T.
|
|
18
18
|
* @param updates - Updates that may change or delete props.
|
|
19
|
-
*
|
|
20
19
|
* @returns A brand new instance with all the supplied objects deeply merged.
|
|
21
20
|
*/
|
|
22
21
|
export declare function pureDeepObjectAssign<T>(base: T, ...updates: Assignable<T>[]): T;
|
|
@@ -25,7 +24,6 @@ export declare function pureDeepObjectAssign<T>(base: T, ...updates: Assignable<
|
|
|
25
24
|
*
|
|
26
25
|
* @param target - The object that will be augmented using the sources.
|
|
27
26
|
* @param sources - Objects to be deeply merged into the target.
|
|
28
|
-
*
|
|
29
27
|
* @returns The target (same instance).
|
|
30
28
|
*/
|
|
31
29
|
export declare function deepObjectAssign<T>(target: T, ...sources: Assignable<T>[]): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deep-object-assign.d.ts","sourceRoot":"","sources":["../src/deep-object-assign.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,MAAM,eAAmB,CAAC;AAEvC;;;GAGG;AACH,oBAAY,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAEvC,CAAC,CAAC,SAAS,QAAQ,GACf,CAAC,GACD,CAAC,SAAS,MAAM,GAChB;KAAG,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;CAAE,GACrD,CAAC,CAAC,GACN,OAAO,MAAM,GACjB,CAAC,SAAS,QAAQ,GAClB,CAAC,GAAG,SAAS,GACb,CAAC,SAAS,MAAM,GAChB;KAAG,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;CAAE,GACrD,CAAC,GAAG,SAAS,CAAC;AAElB
|
|
1
|
+
{"version":3,"file":"deep-object-assign.d.ts","sourceRoot":"","sources":["../src/deep-object-assign.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,MAAM,eAAmB,CAAC;AAEvC;;;GAGG;AACH,oBAAY,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAEvC,CAAC,CAAC,SAAS,QAAQ,GACf,CAAC,GACD,CAAC,SAAS,MAAM,GAChB;KAAG,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;CAAE,GACrD,CAAC,CAAC,GACN,OAAO,MAAM,GACjB,CAAC,SAAS,QAAQ,GAClB,CAAC,GAAG,SAAS,GACb,CAAC,SAAS,MAAM,GAChB;KAAG,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;CAAE,GACrD,CAAC,GAAG,SAAS,CAAC;AAElB;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,IAAI,EAAE,CAAC,EACP,GAAG,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAC1B,CAAC,CAEH;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -28,7 +28,6 @@ export interface RNG {
|
|
|
28
28
|
*
|
|
29
29
|
* @param seed - All supplied arguments will be used as a seed. In case nothing
|
|
30
30
|
* is supplied the current time will be used to seed the generator.
|
|
31
|
-
*
|
|
32
31
|
* @returns A ready to use seeded generator.
|
|
33
32
|
*/
|
|
34
33
|
export declare function Alea(...seed: Mashable[]): RNG;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alea.d.ts","sourceRoot":"","sources":["../../src/random/alea.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,gDAAgD;IAChD,IAAI,MAAM,CAAC;IACX,mDAAmD;IACnD,OAAO,IAAI,MAAM,CAAC;IAClB,0BAA0B;IAC1B,MAAM,IAAI,MAAM,CAAC;IAEjB,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED
|
|
1
|
+
{"version":3,"file":"alea.d.ts","sourceRoot":"","sources":["../../src/random/alea.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,gDAAgD;IAChD,IAAI,MAAM,CAAC;IACX,mDAAmD;IACnD,OAAO,IAAI,MAAM,CAAC;IAClB,0BAA0B;IAC1B,MAAM,IAAI,MAAM,CAAC;IAEjB,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,GAAG,CAE7C;AA+DD;;GAEG;AACH,oBAAY,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -40,7 +40,8 @@ declare type TextInput = string;
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
declare type NumberInput = readonly [number, number, number, number];
|
|
43
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Translations for people with poor understanding of TypeScript: the first
|
|
44
45
|
* value always has to be a string but never `"color"`, the rest can be any
|
|
45
46
|
* combination of strings, numbers and booleans.
|
|
46
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurator-types.d.ts","sourceRoot":"","sources":["../../src/shared/configurator-types.ts"],"names":[],"mappings":"AAAA,UAAU,WAAW;IACnB,QAAQ,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC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 +57,6 @@ export interface RGBA {
|
|
|
57
57
|
* Test whether given object is a number.
|
|
58
58
|
*
|
|
59
59
|
* @param value - Input value of unknown type.
|
|
60
|
-
*
|
|
61
60
|
* @returns True if number, false otherwise.
|
|
62
61
|
*/
|
|
63
62
|
export declare function isNumber(value: unknown): value is number;
|
|
@@ -71,7 +70,6 @@ export declare function recursiveDOMDelete(DOMobject: Node | null | undefined):
|
|
|
71
70
|
* Test whether given object is a string.
|
|
72
71
|
*
|
|
73
72
|
* @param value - Input value of unknown type.
|
|
74
|
-
*
|
|
75
73
|
* @returns True if string, false otherwise.
|
|
76
74
|
*/
|
|
77
75
|
export declare function isString(value: unknown): value is string;
|
|
@@ -79,7 +77,6 @@ export declare function isString(value: unknown): value is string;
|
|
|
79
77
|
* Test whether given object is a object (not primitive or null).
|
|
80
78
|
*
|
|
81
79
|
* @param value - Input value of unknown type.
|
|
82
|
-
*
|
|
83
80
|
* @returns True if not null object, false otherwise.
|
|
84
81
|
*/
|
|
85
82
|
export declare function isObject(value: unknown): value is object;
|
|
@@ -87,7 +84,6 @@ export declare function isObject(value: unknown): value is object;
|
|
|
87
84
|
* Test whether given object is a Date, or a String containing a Date.
|
|
88
85
|
*
|
|
89
86
|
* @param value - Input value of unknown type.
|
|
90
|
-
*
|
|
91
87
|
* @returns True if Date instance or string date representation, false otherwise.
|
|
92
88
|
*/
|
|
93
89
|
export declare function isDate(value: unknown): value is Date | string;
|
|
@@ -108,7 +104,6 @@ export declare function fillIfDefined<T extends object>(a: T, b: Partial<T>, all
|
|
|
108
104
|
*
|
|
109
105
|
* @param target - The target object to copy to.
|
|
110
106
|
* @param source - The source object from which to copy properties.
|
|
111
|
-
*
|
|
112
107
|
* @returns The target object.
|
|
113
108
|
*/
|
|
114
109
|
export declare const extend: {
|
|
@@ -122,11 +117,9 @@ export declare const extend: {
|
|
|
122
117
|
*
|
|
123
118
|
* @remarks
|
|
124
119
|
* Only properties with defined values are copied.
|
|
125
|
-
*
|
|
126
120
|
* @param props - Properties to be copied to a.
|
|
127
121
|
* @param a - The target.
|
|
128
122
|
* @param others - The sources.
|
|
129
|
-
*
|
|
130
123
|
* @returns Argument a.
|
|
131
124
|
*/
|
|
132
125
|
export declare function selectiveExtend(props: string[], a: any, ...others: any[]): any;
|
|
@@ -138,12 +131,10 @@ export declare function selectiveExtend(props: string[], a: any, ...others: any[
|
|
|
138
131
|
* Previous version of this routine implied that multiple source objects could
|
|
139
132
|
* be used; however, the implementation was **wrong**. Since multiple (\>1)
|
|
140
133
|
* sources weren't used anywhere in the `vis.js` code, this has been removed
|
|
141
|
-
*
|
|
142
134
|
* @param props - Names of first-level properties to copy over.
|
|
143
135
|
* @param a - Target object.
|
|
144
136
|
* @param b - Source object.
|
|
145
137
|
* @param allowDeletion - If true, delete property in a if explicitly set to null in b.
|
|
146
|
-
*
|
|
147
138
|
* @returns Argument a.
|
|
148
139
|
*/
|
|
149
140
|
export declare function selectiveDeepExtend(props: string[], a: any, b: any, allowDeletion?: boolean): any;
|
|
@@ -155,13 +146,11 @@ export declare function selectiveDeepExtend(props: string[], a: any, b: any, all
|
|
|
155
146
|
* The properties of `b` are considered for copying. Properties which are
|
|
156
147
|
* themselves objects are are also extended. Only properties with defined
|
|
157
148
|
* values are copied.
|
|
158
|
-
*
|
|
159
149
|
* @param propsToExclude - Names of properties which should *not* be copied.
|
|
160
150
|
* @param a - Object to extend.
|
|
161
151
|
* @param b - Object to take properties from for extension.
|
|
162
152
|
* @param allowDeletion - If true, delete properties in a that are explicitly
|
|
163
153
|
* set to null in b.
|
|
164
|
-
*
|
|
165
154
|
* @returns Argument a.
|
|
166
155
|
*/
|
|
167
156
|
export declare function selectiveNotDeepExtend(propsToExclude: string[], a: any, b: any, allowDeletion?: boolean): any;
|
|
@@ -174,7 +163,6 @@ export declare function selectiveNotDeepExtend(propsToExclude: string[], a: any,
|
|
|
174
163
|
* (That is the options objects that inherit from others will also get the
|
|
175
164
|
* inherited options).
|
|
176
165
|
* @param allowDeletion - If true, the values of fields that are null will be deleted.
|
|
177
|
-
*
|
|
178
166
|
* @returns Argument a.
|
|
179
167
|
*/
|
|
180
168
|
export declare function deepExtend(a: any, b: any, protoExtend?: boolean, allowDeletion?: boolean): any;
|
|
@@ -183,7 +171,6 @@ export declare function deepExtend(a: any, b: any, protoExtend?: boolean, allowD
|
|
|
183
171
|
*
|
|
184
172
|
* @param a - First array.
|
|
185
173
|
* @param b - Second array.
|
|
186
|
-
*
|
|
187
174
|
* @returns True if both arrays have the same length and same elements (1 = '1').
|
|
188
175
|
*/
|
|
189
176
|
export declare function equalArray(a: unknown[], b: unknown[]): boolean;
|
|
@@ -191,7 +178,6 @@ export declare function equalArray(a: unknown[], b: unknown[]): boolean;
|
|
|
191
178
|
* Get the type of an object, for example exports.getType([]) returns 'Array'.
|
|
192
179
|
*
|
|
193
180
|
* @param object - Input value of unknown type.
|
|
194
|
-
*
|
|
195
181
|
* @returns Detected type.
|
|
196
182
|
*/
|
|
197
183
|
export declare function getType(object: unknown): string;
|
|
@@ -201,7 +187,6 @@ export declare function copyAndExtendArray<A, V>(arr: ReadonlyArray<A>, newValue
|
|
|
201
187
|
* Used to extend an array and copy it. This is used to propagate paths recursively.
|
|
202
188
|
*
|
|
203
189
|
* @param arr - The array to be copied.
|
|
204
|
-
*
|
|
205
190
|
* @returns Shallow copy of arr.
|
|
206
191
|
*/
|
|
207
192
|
export declare function copyArray<T>(arr: ReadonlyArray<T>): T[];
|
|
@@ -209,7 +194,6 @@ export declare function copyArray<T>(arr: ReadonlyArray<T>): T[];
|
|
|
209
194
|
* Retrieve the absolute left value of a DOM element.
|
|
210
195
|
*
|
|
211
196
|
* @param elem - A dom element, for example a div.
|
|
212
|
-
*
|
|
213
197
|
* @returns The absolute left position of this element in the browser page.
|
|
214
198
|
*/
|
|
215
199
|
export declare function getAbsoluteLeft(elem: Element): number;
|
|
@@ -217,7 +201,6 @@ export declare function getAbsoluteLeft(elem: Element): number;
|
|
|
217
201
|
* Retrieve the absolute right value of a DOM element.
|
|
218
202
|
*
|
|
219
203
|
* @param elem - A dom element, for example a div.
|
|
220
|
-
*
|
|
221
204
|
* @returns The absolute right position of this element in the browser page.
|
|
222
205
|
*/
|
|
223
206
|
export declare function getAbsoluteRight(elem: Element): number;
|
|
@@ -225,7 +208,6 @@ export declare function getAbsoluteRight(elem: Element): number;
|
|
|
225
208
|
* Retrieve the absolute top value of a DOM element.
|
|
226
209
|
*
|
|
227
210
|
* @param elem - A dom element, for example a div.
|
|
228
|
-
*
|
|
229
211
|
* @returns The absolute top position of this element in the browser page.
|
|
230
212
|
*/
|
|
231
213
|
export declare function getAbsoluteTop(elem: Element): number;
|
|
@@ -249,7 +231,6 @@ export declare function forEach<O extends object>(object: undefined | null | O,
|
|
|
249
231
|
* Convert an object into an array: all objects properties are put into the array. The resulting array is unordered.
|
|
250
232
|
*
|
|
251
233
|
* @param o - Object that contains the properties and methods.
|
|
252
|
-
*
|
|
253
234
|
* @returns An array of unordered values.
|
|
254
235
|
*/
|
|
255
236
|
export declare const toArray: {
|
|
@@ -264,7 +245,6 @@ export declare const toArray: {
|
|
|
264
245
|
* @param object - The object whose property will be updated.
|
|
265
246
|
* @param key - Name of the property to be updated.
|
|
266
247
|
* @param value - The new value to be assigned.
|
|
267
|
-
*
|
|
268
248
|
* @returns Whether the value was updated (true) or already strictly the same in the original object (false).
|
|
269
249
|
*/
|
|
270
250
|
export declare function updateProperty<K extends string, V>(object: Record<K, V>, key: K, value: V): boolean;
|
|
@@ -272,7 +252,6 @@ export declare function updateProperty<K extends string, V>(object: Record<K, V>
|
|
|
272
252
|
* Throttle the given function to be only executed once per animation frame.
|
|
273
253
|
*
|
|
274
254
|
* @param fn - The original function.
|
|
275
|
-
*
|
|
276
255
|
* @returns The throttled function.
|
|
277
256
|
*/
|
|
278
257
|
export declare function throttle(fn: () => void): () => void;
|
|
@@ -304,7 +283,6 @@ export declare function preventDefault(event: Event | undefined): void;
|
|
|
304
283
|
* Get HTML element which is the target of the event.
|
|
305
284
|
*
|
|
306
285
|
* @param event - The event.
|
|
307
|
-
*
|
|
308
286
|
* @returns The element or null if not obtainable.
|
|
309
287
|
*/
|
|
310
288
|
export declare function getTarget(event?: Event | undefined): Element | null;
|
|
@@ -313,7 +291,6 @@ export declare function getTarget(event?: Event | undefined): Element | null;
|
|
|
313
291
|
*
|
|
314
292
|
* @param element - The element to be tested.
|
|
315
293
|
* @param parent - The ancestor (not necessarily parent) of the element.
|
|
316
|
-
*
|
|
317
294
|
* @returns True if parent is an ancestor of the element, false otherwise.
|
|
318
295
|
*/
|
|
319
296
|
export declare function hasParent(element: Element, parent: Element): boolean;
|
|
@@ -323,7 +300,6 @@ export declare const option: {
|
|
|
323
300
|
*
|
|
324
301
|
* @param value - Value to be converted intoboolean, a function will be executed as `(() => unknown)`.
|
|
325
302
|
* @param defaultValue - If the value or the return value of the function == null then this will be returned.
|
|
326
|
-
*
|
|
327
303
|
* @returns Corresponding boolean value, if none then the default value, if none then null.
|
|
328
304
|
*/
|
|
329
305
|
asBoolean(value: unknown, defaultValue?: boolean | undefined): boolean | null;
|
|
@@ -332,7 +308,6 @@ export declare const option: {
|
|
|
332
308
|
*
|
|
333
309
|
* @param value - Value to be converted intonumber, a function will be executed as `(() => unknown)`.
|
|
334
310
|
* @param defaultValue - If the value or the return value of the function == null then this will be returned.
|
|
335
|
-
*
|
|
336
311
|
* @returns Corresponding **boxed** number value, if none then the default value, if none then null.
|
|
337
312
|
*/
|
|
338
313
|
asNumber(value: unknown, defaultValue?: number | undefined): number | null;
|
|
@@ -341,7 +316,6 @@ export declare const option: {
|
|
|
341
316
|
*
|
|
342
317
|
* @param value - Value to be converted intostring, a function will be executed as `(() => unknown)`.
|
|
343
318
|
* @param defaultValue - If the value or the return value of the function == null then this will be returned.
|
|
344
|
-
*
|
|
345
319
|
* @returns Corresponding **boxed** string value, if none then the default value, if none then null.
|
|
346
320
|
*/
|
|
347
321
|
asString(value: unknown, defaultValue?: string | undefined): string | null;
|
|
@@ -350,7 +324,6 @@ export declare const option: {
|
|
|
350
324
|
*
|
|
351
325
|
* @param value - Value to be converted intosize, a function will be executed as `(() => unknown)`.
|
|
352
326
|
* @param defaultValue - If the value or the return value of the function == null then this will be returned.
|
|
353
|
-
*
|
|
354
327
|
* @returns Corresponding string value (number + 'px'), if none then the default value, if none then null.
|
|
355
328
|
*/
|
|
356
329
|
asSize(value: unknown, defaultValue?: string | undefined): string | null;
|
|
@@ -359,7 +332,6 @@ export declare const option: {
|
|
|
359
332
|
*
|
|
360
333
|
* @param value - Value to be converted into DOM Element, a function will be executed as `(() => unknown)`.
|
|
361
334
|
* @param defaultValue - If the value or the return value of the function == null then this will be returned.
|
|
362
|
-
*
|
|
363
335
|
* @returns The DOM Element, if none then the default value, if none then null.
|
|
364
336
|
*/
|
|
365
337
|
asElement<T extends Node>(value: T | (() => T | undefined) | undefined, defaultValue: T): T | null;
|
|
@@ -369,9 +341,7 @@ export declare const option: {
|
|
|
369
341
|
*
|
|
370
342
|
* @remarks
|
|
371
343
|
* {@link http://stackoverflow.com/questions/5623838/rgb-to-hex-and-hex-to-rgb}
|
|
372
|
-
*
|
|
373
344
|
* @param hex - Hex color string (3 or 6 digits, with or without #).
|
|
374
|
-
*
|
|
375
345
|
* @returns RGB color object.
|
|
376
346
|
*/
|
|
377
347
|
export declare function hexToRGB(hex: string): RGB | null;
|
|
@@ -380,7 +350,6 @@ export declare function hexToRGB(hex: string): RGB | null;
|
|
|
380
350
|
*
|
|
381
351
|
* @param color - The color string (hex, RGB, RGBA).
|
|
382
352
|
* @param opacity - The new opacity.
|
|
383
|
-
*
|
|
384
353
|
* @returns RGBA string, for example 'rgba(255, 0, 127, 0.3)'.
|
|
385
354
|
*/
|
|
386
355
|
export declare function overrideOpacity(color: string, opacity: number): string;
|
|
@@ -390,7 +359,6 @@ export declare function overrideOpacity(color: string, opacity: number): string;
|
|
|
390
359
|
* @param red - Red channel.
|
|
391
360
|
* @param green - Green channel.
|
|
392
361
|
* @param blue - Blue channel.
|
|
393
|
-
*
|
|
394
362
|
* @returns Hex color string (for example: '#0acdc0').
|
|
395
363
|
*/
|
|
396
364
|
export declare function RGBToHex(red: number, green: number, blue: number): string;
|
|
@@ -427,11 +395,9 @@ export declare function parseColor(inputColor: ColorObject, defaultColor: FullCo
|
|
|
427
395
|
*
|
|
428
396
|
* @remarks
|
|
429
397
|
* {@link http://www.javascripter.net/faq/rgb2hsv.htm}
|
|
430
|
-
*
|
|
431
398
|
* @param red - Red channel.
|
|
432
399
|
* @param green - Green channel.
|
|
433
400
|
* @param blue - Blue channel.
|
|
434
|
-
*
|
|
435
401
|
* @returns HSV color object.
|
|
436
402
|
*/
|
|
437
403
|
export declare function RGBToHSV(red: number, green: number, blue: number): HSV;
|
|
@@ -454,11 +420,9 @@ export declare function removeCssText(element: HTMLElement, cssText: string): vo
|
|
|
454
420
|
*
|
|
455
421
|
* @remarks
|
|
456
422
|
* {@link https://gist.github.com/mjijackson/5311256}
|
|
457
|
-
*
|
|
458
423
|
* @param h - Hue.
|
|
459
424
|
* @param s - Saturation.
|
|
460
425
|
* @param v - Value.
|
|
461
|
-
*
|
|
462
426
|
* @returns RGB color object.
|
|
463
427
|
*/
|
|
464
428
|
export declare function HSVToRGB(h: number, s: number, v: number): RGB;
|
|
@@ -468,7 +432,6 @@ export declare function HSVToRGB(h: number, s: number, v: number): RGB;
|
|
|
468
432
|
* @param h - Hue.
|
|
469
433
|
* @param s - Saturation.
|
|
470
434
|
* @param v - Value.
|
|
471
|
-
*
|
|
472
435
|
* @returns Hex color string.
|
|
473
436
|
*/
|
|
474
437
|
export declare function HSVToHex(h: number, s: number, v: number): string;
|
|
@@ -476,7 +439,6 @@ export declare function HSVToHex(h: number, s: number, v: number): string;
|
|
|
476
439
|
* Convert hex color string into HSV \<0, 1\>.
|
|
477
440
|
*
|
|
478
441
|
* @param hex - Hex color string.
|
|
479
|
-
*
|
|
480
442
|
* @returns HSV color object.
|
|
481
443
|
*/
|
|
482
444
|
export declare function hexToHSV(hex: string): HSV;
|
|
@@ -484,7 +446,6 @@ export declare function hexToHSV(hex: string): HSV;
|
|
|
484
446
|
* Validate hex color string.
|
|
485
447
|
*
|
|
486
448
|
* @param hex - Unknown string that may contain a color.
|
|
487
|
-
*
|
|
488
449
|
* @returns True if the string is valid, false otherwise.
|
|
489
450
|
*/
|
|
490
451
|
export declare function isValidHex(hex: string): boolean;
|
|
@@ -492,7 +453,6 @@ export declare function isValidHex(hex: string): boolean;
|
|
|
492
453
|
* Validate RGB color string.
|
|
493
454
|
*
|
|
494
455
|
* @param rgb - Unknown string that may contain a color.
|
|
495
|
-
*
|
|
496
456
|
* @returns True if the string is valid, false otherwise.
|
|
497
457
|
*/
|
|
498
458
|
export declare function isValidRGB(rgb: string): boolean;
|
|
@@ -500,7 +460,6 @@ export declare function isValidRGB(rgb: string): boolean;
|
|
|
500
460
|
* Validate RGBA color string.
|
|
501
461
|
*
|
|
502
462
|
* @param rgba - Unknown string that may contain a color.
|
|
503
|
-
*
|
|
504
463
|
* @returns True if the string is valid, false otherwise.
|
|
505
464
|
*/
|
|
506
465
|
export declare function isValidRGBA(rgba: string): boolean;
|
|
@@ -510,7 +469,6 @@ export declare function isValidRGBA(rgba: string): boolean;
|
|
|
510
469
|
*
|
|
511
470
|
* @param fields - Names of properties to be bridged.
|
|
512
471
|
* @param referenceObject - The original object.
|
|
513
|
-
*
|
|
514
472
|
* @returns A new object inheriting from the referenceObject.
|
|
515
473
|
*/
|
|
516
474
|
export declare function selectiveBridgeObject<F extends string, V>(fields: F[], referenceObject: Record<F, V>): Record<F, V> | null;
|
|
@@ -521,7 +479,6 @@ export declare function bridgeObject<T>(referenceObject: T): null;
|
|
|
521
479
|
*
|
|
522
480
|
* @param a - The array to be sorted (in-place).
|
|
523
481
|
* @param compare - An order comparator.
|
|
524
|
-
*
|
|
525
482
|
* @returns The argument a.
|
|
526
483
|
*/
|
|
527
484
|
export declare function insertSort<T>(a: T[], compare: (a: T, b: T) => number): T[];
|
|
@@ -552,7 +509,6 @@ export declare function binarySearchCustom<O extends object, K1 extends keyof O>
|
|
|
552
509
|
* @param field - Name of the property in items to be searched.
|
|
553
510
|
* @param sidePreference - If the target is between two values, should the index of the before or the after be returned?
|
|
554
511
|
* @param comparator - An optional comparator, returning -1, 0, 1 for \<, ===, \>.
|
|
555
|
-
*
|
|
556
512
|
* @returns The index of found value or -1 if nothing was found.
|
|
557
513
|
*/
|
|
558
514
|
export declare function binarySearchValue<T extends string>(orderedItems: {
|
|
@@ -563,7 +519,6 @@ export declare const easingFunctions: {
|
|
|
563
519
|
* Provides no easing and no acceleration.
|
|
564
520
|
*
|
|
565
521
|
* @param t - Time.
|
|
566
|
-
*
|
|
567
522
|
* @returns Value at time t.
|
|
568
523
|
*/
|
|
569
524
|
linear(t: number): number;
|
|
@@ -571,7 +526,6 @@ export declare const easingFunctions: {
|
|
|
571
526
|
* Accelerate from zero velocity.
|
|
572
527
|
*
|
|
573
528
|
* @param t - Time.
|
|
574
|
-
*
|
|
575
529
|
* @returns Value at time t.
|
|
576
530
|
*/
|
|
577
531
|
easeInQuad(t: number): number;
|
|
@@ -579,7 +533,6 @@ export declare const easingFunctions: {
|
|
|
579
533
|
* Decelerate to zero velocity.
|
|
580
534
|
*
|
|
581
535
|
* @param t - Time.
|
|
582
|
-
*
|
|
583
536
|
* @returns Value at time t.
|
|
584
537
|
*/
|
|
585
538
|
easeOutQuad(t: number): number;
|
|
@@ -587,7 +540,6 @@ export declare const easingFunctions: {
|
|
|
587
540
|
* Accelerate until halfway, then decelerate.
|
|
588
541
|
*
|
|
589
542
|
* @param t - Time.
|
|
590
|
-
*
|
|
591
543
|
* @returns Value at time t.
|
|
592
544
|
*/
|
|
593
545
|
easeInOutQuad(t: number): number;
|
|
@@ -595,7 +547,6 @@ export declare const easingFunctions: {
|
|
|
595
547
|
* Accelerate from zero velocity.
|
|
596
548
|
*
|
|
597
549
|
* @param t - Time.
|
|
598
|
-
*
|
|
599
550
|
* @returns Value at time t.
|
|
600
551
|
*/
|
|
601
552
|
easeInCubic(t: number): number;
|
|
@@ -603,7 +554,6 @@ export declare const easingFunctions: {
|
|
|
603
554
|
* Decelerate to zero velocity.
|
|
604
555
|
*
|
|
605
556
|
* @param t - Time.
|
|
606
|
-
*
|
|
607
557
|
* @returns Value at time t.
|
|
608
558
|
*/
|
|
609
559
|
easeOutCubic(t: number): number;
|
|
@@ -611,7 +561,6 @@ export declare const easingFunctions: {
|
|
|
611
561
|
* Accelerate until halfway, then decelerate.
|
|
612
562
|
*
|
|
613
563
|
* @param t - Time.
|
|
614
|
-
*
|
|
615
564
|
* @returns Value at time t.
|
|
616
565
|
*/
|
|
617
566
|
easeInOutCubic(t: number): number;
|
|
@@ -619,7 +568,6 @@ export declare const easingFunctions: {
|
|
|
619
568
|
* Accelerate from zero velocity.
|
|
620
569
|
*
|
|
621
570
|
* @param t - Time.
|
|
622
|
-
*
|
|
623
571
|
* @returns Value at time t.
|
|
624
572
|
*/
|
|
625
573
|
easeInQuart(t: number): number;
|
|
@@ -627,7 +575,6 @@ export declare const easingFunctions: {
|
|
|
627
575
|
* Decelerate to zero velocity.
|
|
628
576
|
*
|
|
629
577
|
* @param t - Time.
|
|
630
|
-
*
|
|
631
578
|
* @returns Value at time t.
|
|
632
579
|
*/
|
|
633
580
|
easeOutQuart(t: number): number;
|
|
@@ -635,7 +582,6 @@ export declare const easingFunctions: {
|
|
|
635
582
|
* Accelerate until halfway, then decelerate.
|
|
636
583
|
*
|
|
637
584
|
* @param t - Time.
|
|
638
|
-
*
|
|
639
585
|
* @returns Value at time t.
|
|
640
586
|
*/
|
|
641
587
|
easeInOutQuart(t: number): number;
|
|
@@ -643,7 +589,6 @@ export declare const easingFunctions: {
|
|
|
643
589
|
* Accelerate from zero velocity.
|
|
644
590
|
*
|
|
645
591
|
* @param t - Time.
|
|
646
|
-
*
|
|
647
592
|
* @returns Value at time t.
|
|
648
593
|
*/
|
|
649
594
|
easeInQuint(t: number): number;
|
|
@@ -651,7 +596,6 @@ export declare const easingFunctions: {
|
|
|
651
596
|
* Decelerate to zero velocity.
|
|
652
597
|
*
|
|
653
598
|
* @param t - Time.
|
|
654
|
-
*
|
|
655
599
|
* @returns Value at time t.
|
|
656
600
|
*/
|
|
657
601
|
easeOutQuint(t: number): number;
|
|
@@ -659,7 +603,6 @@ export declare const easingFunctions: {
|
|
|
659
603
|
* Accelerate until halfway, then decelerate.
|
|
660
604
|
*
|
|
661
605
|
* @param t - Time.
|
|
662
|
-
*
|
|
663
606
|
* @returns Value at time t.
|
|
664
607
|
*/
|
|
665
608
|
easeInOutQuint(t: number): number;
|
|
@@ -676,7 +619,6 @@ export declare function getScrollBarWidth(): number;
|
|
|
676
619
|
* @param pile - Array of objects, no required format.
|
|
677
620
|
* @param accessors - Array of property names.
|
|
678
621
|
* For example `object['foo']['bar']` → `['foo', 'bar']`.
|
|
679
|
-
*
|
|
680
622
|
* @returns Value of the property with given accessors path from the first pile item where it's not undefined.
|
|
681
623
|
*/
|
|
682
624
|
export declare function topMost(pile: any, accessors: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAeA;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM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